Open Bug 196714 Opened 23 years ago Updated 3 years ago

window.fullScreen=true does not hide title bar if window is already maximized

Categories

(Core :: XUL, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: per.lundberg-bugzilla, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 This bug is a bit weird. The symptoms are as follows: If the window is non-maximized, pressing F11 or setting window.fullScreen=true (which is basically exactly the same thing according to navigatorOverlay.xul) works fine. If the window has been maximized using the maximize button, it works fine. The problem ONLY occurs when the window is "maximized" or rather resized to be the max size, but not actually maximized. Reproducible: Always Steps to Reproduce: This Javascript prepares the Mozilla: <script> window.moveTo(0, 0); window.resizeTo(screen.width, screen.height); </script> After running this bit of code, press F11 (or set window.fullScreen=true if the security permits). Actual Results: Full screen mode is activated properly, BUT the title bar and window frame is not dropped so it looks "quite weird". Expected Results: The expected result would be exactly what happens with an ordinary, non-maximized window; i.e. the window is maximized properly and then full screen mode is activated.
confirming with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030308
confirmed with Mozilla build 2003031508 on win2000 The titlebar, min button and max button remains but they are not clickable
->XP Toolkit
Assignee: asa → jaggernaut
Component: Browser-General → XP Toolkit/Widgets
QA Contact: asa → jrgm
Confirmed (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312). confirming. OS -> Windows XP, since that's the highest Windows OS this is seen on so far.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → Windows XP
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 confirming.
Assignee: jag → nobody
still valid for Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090316 Shiretoko/3.1b4pre ID:20090316095712 and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090316 Minefield/3.2a1pre ID:20090316044350
Keywords: testcase
QA Contact: jrgmorrison → xptoolkit.widgets
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: