gecko-dev/xpfe/appshell
Ray Kraesig 973287f3eb Bug 1575635 - [1/1] Only use parent window's fullscreen state r=win-reviewers,mhowell
When we open a new window on top of a fullscreen window, we deliberately
make that window "normal" (non-fullscreen, non-maximized), which was
documented as having been "a standard [W]indows convention" [1].
Chromium does the same (with fiddly differences involving the window
size).

Unfortunately, we do this by checking if there are _any_ fullscreen
windows open -- which produces false positives on multimonitor or
multi-virtual-desktop setups.

Therefore, adjust the code to match the original comment, and only take
the parent window into account. This seems likely to better match user
expectations.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=575195#c5

Differential Revision: https://phabricator.services.mozilla.com/D197823
2024-01-09 22:54:46 +00:00
..
test Bug 1866011 p2. Rename nsIDocShell.contentViewer. r=emilio,credential-management-reviewers,devtools-reviewers,sgalich 2023-11-24 09:10:52 +00:00
AppWindow.cpp Bug 1871527: Fix a crash in headless mode due to the creation of native menu bars for modals. r=mac-reviewers,bradwerth 2023-12-22 18:51:10 +00:00
AppWindow.h Bug 1823284 - Use `SizeModeChanged` notification to handle fullscreen change; r=geckoview-reviewers,rkraesig,stransky,bradwerth,smaug,m_kato 2023-04-23 21:28:43 +00:00
LiveResizeListener.h
components.conf
moz.build Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley 2023-09-13 18:28:32 +00:00
nsAppShellCID.h
nsAppShellService.cpp Bug 1575635 - [1/1] Only use parent window's fullscreen state r=win-reviewers,mhowell 2024-01-09 22:54:46 +00:00
nsAppShellService.h
nsAppShellWindowEnumerator.cpp Bug 1866011 p2. Rename nsIDocShell.contentViewer. r=emilio,credential-management-reviewers,devtools-reviewers,sgalich 2023-11-24 09:10:52 +00:00
nsAppShellWindowEnumerator.h
nsChromeTreeOwner.cpp Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
nsChromeTreeOwner.h
nsContentTreeOwner.cpp Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
nsContentTreeOwner.h
nsIAppShellService.idl
nsIAppWindow.idl Bug 1870336 - Remove unused nsIAppWindow.add/removeChildWindow. r=tnikkel 2023-12-16 10:47:01 +00:00
nsIWindowMediator.idl
nsIWindowMediatorListener.idl
nsIWindowlessBrowser.idl
nsIXULBrowserWindow.idl
nsWindowMediator.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
nsWindowMediator.h Bug 1824514 - Make xpfe/appshell buildable outside of a unified build environment r=andi 2023-03-30 13:48:33 +00:00