Open Bug 292905 Opened 20 years ago Updated 2 years ago

Full Screen screws up XULWindow's sizemode attribute

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect

Tracking

()

People

(Reporter: jens.b, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910

When switching from a maximized browser window to full screen mode, the browser
window's 'sizemode' attribute turns from "maximized" to "normal" (no idea if
that's intentional or a bug). But when leaving full screen, it stays "normal"
instead of reverting back to "maximized". This created a problem for the Optimoz
Tweaks extension that relies on sizemode for detecting whether a window is
maximized.

This happens with both Firefox 1.0.3 and Mozilla Suite 1.7.3.

Reproducible: Always

Steps to Reproduce:
1. Maximize the browser window
2. Open DOM inspector
3. Inspect the browser window, select the XUL window element
4. Enter full screen, leave full screen
Actual Results:  
sizemode="normal"

Expected Results:  
sizemode="maximized"

When restoring the window to non-maximized state and then maximizing, the
sizemode attribute is correct again.
Assignee: jag → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.