Opened 17 years ago

Closed 17 years ago

#570 closed Bug (fixed)

Opera: Toolbar combos are not opening

Reported by: Frederico Caldeira Knabben Owned by: fredck@…
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)

fck570.htm (2.1 KB) - added by Hallvord R. M. Steen (Opera Software) 17 years ago.
Unsuccessful attempt at creating minimal TC - if anyone can improve it to show the problem please do!

Download all attachments as: .zip

Change History (4)

comment:1 Changed 17 years ago by Hallvord R. M. Steen (Opera Software)

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 ;

comment:2 Changed 17 years ago by Hallvord R. M. Steen (Opera Software)

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 Hallvord R. M. Steen (Opera Software)

Attachment: fck570.htm added

Unsuccessful attempt at creating minimal TC - if anyone can improve it to show the problem please do!

comment:3 in reply to:  2 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

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).

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy