You are not logged in.

#1 2006-03-09 17:26:42

michiel1978
Member
Registered: 2005-12-27
Posts: 6

Firefox popups are resizing to the wrong dimensions

When I click for instance: insert image, or insert hyperlink, the popup windows will resize to unusable dimensions, and I can't manually resize the window. This happen on Firefox 1.5.0.1 on Windows XP.

Offline

 

#2 2006-03-09 22:35:00

Afraithe
Administrator
From: Skellefteċ, Sweden
Registered: 2005-01-03
Posts: 1976
Website

Re: Firefox popups are resizing to the wrong dimensions

Remove the extensions that take up space in your status bar.


Afraithe
TinyMCE Developer
Moxiecode Systems

Offline

 

#3 2006-03-13 17:06:50

michiel1978
Member
Registered: 2005-12-27
Posts: 6

Re: Firefox popups are resizing to the wrong dimensions

Hello, thanks for your answer. Here is a more detailed explanation:

I click on the toolbar button "insert image". I get a popup, it looks like this:

[img][/img]

So, I can't use the form. If I go to my Firefox options, Tools -> Options -> Content -> Enable JavaScript -> Advanced...
Uncheck: allow scripts to move or resize existing windows

Then it works, but not all popups get the correct width:

[img][/img]
[img][/img]

As you see, they are both not looking good. I don't know what extensions I should remove, do you mean firefox extensions? I have "ColorZilla", "Extende Statusbar", "Measure It", "GreaseMonkey", "FireBug" and "Download Statusbar", all of these have something in the FireFox statusbar, but I don't really understand why they interfere with the popups, can you explain?

Edit:
Pictures offline

Last edited by michiel1978 (2006-12-03 21:19:13)

Offline

 

#4 2006-03-13 19:14:29

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11253
Website

Re: Firefox popups are resizing to the wrong dimensions

Yeah, it's a firefox bug that the dimentions of the body is calculated based on the size of the status bar. Thats why the contents doens't fit the window since it gets as large as the total length of the status bar. sad


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#5 2006-03-14 18:30:59

fastfc
Member
Registered: 2006-01-10
Posts: 4

Re: Firefox popups are resizing to the wrong dimensions

I encoutered the same trouble especially on ColorPicker popup.

I have just found the following workaround.

In resizeToInnerSize function in tiny_popup.js file,

replace

    // Netscape 7.1 workaround
    if (this.isWindow && tinyMCE.isNS71) {
        window.resizeBy(0, 10);
        return;
    }

with
    // Gecko workaround
    if (this.isWindow && tinyMCE.isGecko) {
        window.resizeBy(20, 10);
        return;
    }

It runs well on FF 1.5, Netspace 7.1 and Mozilla 1.7.2 on Win XP

Offline

 

#6 2006-07-04 10:28:27

kelvlam
Member
Registered: 2006-07-04
Posts: 1

Re: Firefox popups are resizing to the wrong dimensions

fastfc wrote:

I encoutered the same trouble especially on ColorPicker popup.

I have just found the following workaround.

In resizeToInnerSize function in tiny_popup.js file,

replace

    // Netscape 7.1 workaround
    if (this.isWindow && tinyMCE.isNS71) {
        window.resizeBy(0, 10);
        return;
    }

with
    // Gecko workaround
    if (this.isWindow && tinyMCE.isGecko) {
        window.resizeBy(20, 10);
        return;
    }

It runs well on FF 1.5, Netspace 7.1 and Mozilla 1.7.2 on Win XP

Have you test your workaround with IE also?

I'm using Firefox 1.5.0.4 and tinymce_2_0_6_1 with the same problem.  I didn't modify any code, but another way to work around is use plugins : "inlinepopups".  It works for me with IE6 as well as latest FF.

I wish Firefox will fix this problem soon....

Offline

 

#7 2008-02-18 15:37:51

avwebnet
Member
Registered: 2008-02-16
Posts: 4

Re: Firefox popups are resizing to the wrong dimensions

It is also happening with IE7. Windows that popup when trying to insert a Link, Anchor are too small and CANNOT be resized manually.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB