Opened 17 years ago

Closed 17 years ago

#380 closed Bug (worksforme)

dialogs to small

Reported by: Paul Moers Owned by:
Priority: Normal Milestone: Opera Compatibility
Component: General Version: FCKeditor 2.4.2
Keywords: Cc:


Opera displays a (collapsed clickable) toolbar in dialogs, pushing the content downwards so that the lowest content sometimes drops out of sight (e.g. the table dialog).

Change History (5)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: dialog collapsed toolbar Opera removed

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

Opera should already increase popup size correspondingly to allow for the height of the collapsible domain bar. Might this be a problem with height calculation somewhere in the FCKEditor code?

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

The editor fixes the window size to correctly accommodate the inner content height. Not all dialogs do that, but the Table dialog is one of those that do it.

The resize logic can be found at editor/fckdialog.html, function RefreshSize().

To easily test it, just make the following modification to its code:

  • editor/fckdialog.html

    9696                var iInnerHeight = oInnerDoc.body.scrollHeight ;
    98                 var iDiff = iInnerHeight - iFrameHeight ;
     98                var iDiff = iInnerHeight - iFrameHeight + 50 ;
    100100                if ( iDiff > 0 )
    101101                {

Then try the table dialog with FF and Opera to see the difference.

comment:4 Changed 17 years ago by Kaare Byberg

I believe this is the same issue as reported in Opera bug 261077, which deals with OK and Cancel buttons being displayed too far down in all dialogs.

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

Resolution: worksforme
Status: newclosed

Seems to work fine now (Opera build 9488)

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