Closed Bug 691693 Opened 8 years ago Closed 8 years ago
Window resizing from JS (move
To, resize To, etc) doesn't work when Firebug is installed
User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E; .NET CLR 1.1.4322) Steps to reproduce: We have a web app that uses modal windows to allow drill down to records from a list. The page displayed by the popup window executes script to resize the window depending on the content. The window is opened using showModalDialog() and the resizing worked fine in versions prior to 7. Actual results: In Firefox 7 the resizing does not take place even though we "own" that window as we originated it from showModalDialog. Expected results: Since version 7 still allows windows created by window.open() to be resized I think the same should apply to windows created window showModalDialog(). I'm aware that it's not a standard function but if it exists and can still be used it should obey the same rules as window.open().
Can you attach a testcase or point us to the URL where this web app can be tested?
Unfortunately it's an internal line of business app but I can probably knock up and example demonstrating the issue. Watch this space :)
It does work for me, on Firefox 7 and 10, Win XP. I see the window resizing from a smaller square size to the 1000x200px.
How odd. It works fine in IE9 but definately doesn't do it in FF 7.0.1. I've tried with both local files and hosted on a web server. It did work in 6.x so it must be related to the no resize change but it's odd it works for you and not me. Is it possible the current release is missing a fix that's in the head revision of the 7 branch?
Have you tried Firefox safe mode? (https://support.mozilla.com/en-US/kb/Safe+Mode). Do you get any messages in Error console? I have read about the change to Firefox you mention it seems to be bug 565541 and it should be in Firefox 7. I use the official one from mozilla.org.
There is a story in bug 565541 about Firebug extension breaking window resize after this change. Do you have it enabled?
Aha! Yes I do. Disabling Firebug does indeed solve the problem. Sorry for wasting your time.
(In reply to paul.mcnamara from comment #9) > Aha! Yes I do. Disabling Firebug does indeed solve the problem. Sorry for > wasting your time. Thanks for double checking that. I've heard the Firebug team is working on fixing this. Hope it's not going to be too annoying for you guys. Luckily, regular users usually don't have Firebug installed ;)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Component: General → DOM
OS: Windows 7 → All
Product: Firefox → Core
QA Contact: general → general
Hardware: x86_64 → All
Resolution: --- → INVALID
Version: 7 Branch → Trunk
Great. Per the comments in bug 565541 it will be solved in Firebug 1.9a4 soon.
Status: RESOLVED → VERIFIED
Not a massive issue for us, although it's slightly ironic that it was affecting our in-house bug tracking system ;)
Summary: Firefox 7 removed the ability to resize windows not opened using window.open() (i.e. windows you don't "own"). However it also stops you if it was created using showModalDialog() which is beleive is a bug. → Window resizing from JS (moveTo, resizeTo, etc) doesn't work when Firebug is installed
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.