Closed Bug 349637 Opened 18 years ago Closed 3 years ago

javascript functions like resizeTo(); should be ignored in fullscreen mode

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 565541

People

(Reporter: kilowatt, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 BonEcho/2.0b2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 BonEcho/2.0b2

While in fullscreen mode, javascript function resizeTo(); changes "fullscreen" window size

Reproducible: Always

Steps to Reproduce:
1. Type in the address bar: javascript:resizeTo(10,10), or open a page that contains this script


Actual Results:  
Resizes "fullscreen" window

Expected Results:  
Fullscreen window size should remain unchanged
Does not sound reasonable to me for you're explicitly asking a window to resize. If you don't want scripts to resize windows you can change that in the Options window tab Content.
Well, see bug 144069 test case attachment 83324 [details], and try to open it in a fullscreen mode. I don't think that it is the right behavior in fullscreen. 
IMHO window movement and resize should be disabled while in fullscreen. Btw, moveTo() does nothing in fullscreen.
From Firefox 1.5.0.6 and Internet Explorer, the behavior is to accept Javascript resize even when the window is in full screen.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2

I was able to reproduce what the reporter is describing. 

Now to the issue of whether or not it is a bug. I believe it is. One of two things should take place when a window is resized in full screen:

1. Don't allow a resize in full screen mode
2. Take FF out of full screen mode and resize the window.

The reason for this is because the controls could become inaccessible when the window is resized in full screen.
(In reply to comment #3)
> From Firefox 1.5.0.6 and Internet Explorer, the behavior is to accept
> Javascript resize even when the window is in full screen.
> 

IE7 does not allow to change window size in fullscreen mode.

*** This bug has been marked as a duplicate of 338528 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
*** Bug 338528 has been marked as a duplicate of this bug. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
There should be a decision one way or another.  Requesting blocking-firefox2.
Flags: blocking-firefox2?
Requesting blocking doesn't force a design decision, it forces a question about whether or not we'd hold the release of Firefox 2 until this bug is complete. The answer to that question is "no, we won't".
Flags: blocking-firefox2? → blocking-firefox2-
Keywords: testcase
OS: Windows XP → All
Hardware: x86 → All
Summary: While in fullscreen mode, javascript function resizeTo(); changes "fullscreen" window size → javascript functions like resizeTo(); should be ignored in fullscreen mode
Version: unspecified → Trunk
Status: NEW → RESOLVED
Closed: 18 years ago3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: