Closed Bug 260098 Opened 20 years ago Closed 19 years ago

'fullscreen=yes' argument in window.open incorrect behavior

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 116503

People

(Reporter: ken2006, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040914 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040914 The following code should open a fullscreen-window, as it did in older Moz builds and does in other browsers: <a href="#" onclick="window.open('http://www.google.com','abc123','fullscreen=yes');return false;">test</a> Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: In my 20040914 build it now opens a window that is approx 75% of screen dimensions, *and* the window is not resizeable.
Assignee: general → general
Component: Browser-General → DOM
QA Contact: general → ian
Summary: 'fullscreen=yes' argument in window.open icorrect behavior → 'fullscreen=yes' argument in window.open incorrect behavior
Attached file testcase (deleted) —
this testcase works basically fine for me. it shows a window w/o toolbars and the like. it is resizable. it is intentional that normal scripts can't open fullscreen windows, as that's something that should be up to the user to do.
I just installed last nights build and still have the same issue. The window opens at something much smaller than fullscreen, and the window-maximize dressing is geayed-out, and borders (windows) cant be resized...
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a4) Gecko/20040914 The testcase opens full screen, and is resizable dragging the the bottom right corner, to the right of the lock symbol. The window-maximize dressing is grayed-out, borders can´t be used for resizing. I tested with popups enabled, and disabled, and advanced Javascript options fully or partially enabled, or all options disabled, always got the same result. Do you use extensions, a pop-up blocker? about:config tells me: dom.disable_window_move_resize user set boolean true toggling to false didn´t change behaviour. browser.block.target_new_window default boolean false browser.window_rect user set string 22,110,702,532 ( I´m using 800x600 screen resolution) browser.windows.loadOnNewWindow user set integer 0
Please feel free to mark this as closed then; I will regard it as User-Profile related (a hunch) since I had other problems with profiles (one being that when I create a new one and open the browser it completely freezes), and also because the latest Firefox builds dont exhibit the symptom. No, I dont have any themes or extensions installed (except one, LiveHttpHeaders). Is there some specific purpose to the browser.window_rect property? Though I doubt its related because I have a compound problem with windows also not being re-sizeable.. Thanks for your help and time.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 I also have the same problem. I found this out at another site, and the attachment #1 [details] [diff] [review] posted here shows the same problem: The window is not fullscreen, the maximize button is disabled, and I can see the window borders but I cannot resize the window in any way. Ken, you're not alone. :)
Whew!! Thanks for the sanity confirmation!! :-) Since my last comment I've tried several things and this problem still persists. I've deleted my entire Moz install directory and reinstalled it, and deleted the infamous XUL.mfl and chrome.rdf, to no avail. The only things I have dont is to create a new profile, due to bug #260231. So at this point I cant see how *anyone* running the latest builds, and on win32, can say wfm.. I have verified that Firefox 1.0pr does not have this problem though. I also wonder if this bug is relsted to bug #257036.. Seungbeom, could you take a minute and look to see if you're also plagued by the other two bugs I've listed? We seem to have something in common :)
I did some hacking and deleted my panels.rdf file; now the window opens *mostly* fullscreen, except that its shorter horizontally by roughly 50 pixels (the right border is inset by that much)...
This legacy panels.rdf file seem to cause compatibility issues with new window sizes (javascript->dom).
Ken, my Mozilla exhibits neither Bug #260231 nor Bug #257036.
This is a DUPLICATE of bug 116503. *** This bug has been marked as a duplicate of 116503 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: