Opened 18 years ago
Closed 17 years ago
#570 closed Bug (fixed)
Opera: Toolbar combos are not opening
Reported by: | Frederico Caldeira Knabben | Owned by: | |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | Opera Compatibility |
Component: | UI : Toolbar | Version: | SVN (FCKeditor) - Retired |
Keywords: | Opera | Cc: | Hallvord R. M. Steen (Opera Software) |
Description
The toolbar combos (Style, Format, Font and Size) are not always opening (actually almost never).
I was able to open the Font combo one or two times in dozens of page reloads, so theoretically, the combos creation is ok.
Tested with Opera build 9418. No JavaScript errors.
Attachments (1)
Change History (4)
comment:1 Changed 17 years ago by
comment:2 follow-up: 3 Changed 17 years ago by
Owner: | set to fredck@… |
---|
Frederico, would that workaround work for you? I don't know all the contexts this is used in so it is hard to tell..
Changed 17 years ago by
Attachment: | fck570.htm added |
---|
Unsuccessful attempt at creating minimal TC - if anyone can improve it to show the problem please do!
comment:3 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to hallvord@opera.com:
Frederico, would that workaround work for you? I don't know all the contexts this is used in so it is hard to tell..
I've included your workaround with [404]. This is not the best solution, but I understand it could be difficult to generate a TC for the Opera bug here (I've also tried with no success).
offsetWidth of the MainNode is not correct:
javascript:alert(document.getElementsByTagName('iframe')[3].contentDocument.body.firstChild.offsetWidth);
I don't understand the problem completely yet, I have not been able to minimise a test case. I have a proposed workaround though: in fckpanel.js replace final instance of
iMainWidth = this.MainNode.offsetWidth;
with
iMainWidth = this.MainNode.offsetWidth || this.MainNode.firstChild.offsetWidth ;