Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1821702

Summary: firefox starts in a non-resizeable cropped window instead of a maximized window (on Wayland)
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: 0xalen+redhat, anto.trande, awilliam, cosimo.cecchi, darakus, elxreno, fzatlouk, gecko-bugs-nobody, gmarr, gnome-sig, jadahl, jhorak, john.j5live, kengert, klember, mclasen, pjasicek, rhughes, robatino, rstrode, sandmann, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: gtk3-3.24.18-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-13 21:28:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1705305, 1705306    
Description Flags
bug demonstration video
screenshot in 1920x1080 none

Description Kamil Páral 2020-04-07 12:41:38 UTC
Description of problem:
On a clean Fedora 32 Workstation with a clean Firefox profile, Firefox starts in a window that is not maximized neither normal ("non-maximized"). The window doesn't cover the whole screen, but its borders "look" like maximized (there are no shadows, no curved corners), and the window can't be resized. By dragging the title bar or a double click, the window can be reset into normal state (however, it partially jumps offscreen to the right when you do that). Then you can maximize it with another double click or by pulling it to the top GNOME bar. You can use it regularly then. But once you quit Firefox when maximized and start it again, the problem repeats - again you see a cropped window that is neither normal nor maximized and can't be resized.

This only happens on Wayland. On X11, this works fine.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. boot F32 Workstation, log in under Wayland
2. $ rm ~/.mozilla/ ~/.cache/mozilla/ -rf  # warning, this will erase all firefox data
3. run Firefox
4. depending on your resolution, either Firefox starts in "maximized" mode (but broken, as described here), or normal mode
5. maximize Firefox
6. close and start Firefox again
7. Firefox should again be in a broken window state, as described

Comment 1 Kamil Páral 2020-04-07 12:42:34 UTC
Created attachment 1676934 [details]
bug demonstration video

This video demonstrates the problem.

Comment 2 Kamil Páral 2020-04-07 12:44:32 UTC
Created attachment 1676935 [details]
screenshot in 1920x1080

In 1920x1080, the problem is even more visible, because "maximized" Firefox window occupies only around half the screen.

Comment 3 Kamil Páral 2020-04-07 12:47:02 UTC
Proposing as an F32 Final blocker, because either Firefox or the windowing system doesn't work correctly, preventing users from using maximized applications comfortably.

Comment 5 Kamil Páral 2020-04-07 13:43:28 UTC
Hello Jonas, you implemented the fix in gtk for this. Do you think we can get a fixed gtk version in Fedora 32 in the next few days? Or should I bother somebody else? Thanks.

Comment 6 Jonas Ådahl 2020-04-07 14:35:26 UTC
It was included in which was unpushed due to regressions. It'll be available in 3.24.18 which will happen relatively soon I think.

Comment 7 Martin Stransky 2020-04-09 19:26:00 UTC
*** Bug 1815127 has been marked as a duplicate of this bug. ***

Comment 8 Adam Williamson 2020-04-09 19:31:54 UTC
I'm at least +1 FE on this, for the record.

Comment 9 Fedora Update System 2020-04-10 10:08:38 UTC
FEDORA-2020-ac3dfd7904 has been submitted as an update to Fedora 32.

Comment 10 Fedora Update System 2020-04-11 18:51:33 UTC
FEDORA-2020-ac3dfd7904 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ac3dfd7904`
You can provide feedback for this update here:

See also for more information on how to test updates.

Comment 11 František Zatloukal 2020-04-12 09:41:38 UTC
FEDORA-2020-ac3dfd7904 fixes the issue. Firefox now starts maximized even if it was closed as not-maximized window previously, but if this is a bug at all, it is a different issue.

Comment 12 Geoffrey Marr 2020-04-13 19:33:31 UTC
Discussed during the 2020-04-13 blocker review meeting: [0]

The decision to delay the classification of this bug as a blocker and accept it as an "AcceptedFreezeException" was made as it's a close call whether this is bad enough to be a blocker and we don't have a clear decision on that, but we definitely accept it as an FE and the update to fix it has strong positive feedback, so we expect to push that and resolve the bug.


Comment 13 Fedora Update System 2020-04-13 21:28:59 UTC
FEDORA-2020-ac3dfd7904 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.