Bug 1815127
| Summary: | F32 wayland Firefox build can't open maximized - wrong resize from gtk_surface1 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthew Bunt <darakus> |
| Component: | gtk3 | Assignee: | Matthias Clasen <mclasen> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 32 | CC: | 0xalen+redhat, anto.trande, cosimo.cecchi, darakus, elxreno, fmuellner, gecko-bugs-nobody, gnome-sig, jadahl, jhorak, john.j5live, julien.enche, kengert, malucious81, mclasen, otaylor, philip.wyett, pjasicek, rhughes, rstrode, sandmann, stransky, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-09 19:26:00 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: | |
| Embargoed: | |||
|
Description
Matthew Bunt
2020-03-19 14:42:47 UTC
Please check this build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1478931 You may also need a new nss for it. I installed firefox 74.0.11 as requested and the issue persists. However I did discover something new. If you change the size of the window and close it while not maximized, xulstore.json will show that window size and sizemode will be set to normal. When xulstore.json is in this state firefox opens correctly. The size specified in the file matches the window size and is non maximized. If you maximize firefox and close it, xulstore.json will still have the same window dimensions as before, but the sizemode will now be set to maximized. When you open firefox in this state the resulting window is the size specified in the xulstore.json, but I believe this is actually a visual glitch and the window is really maximized but displaying incorrectly. I think this because if you drag the firefox window it sort of snaps to maximized briefly and then shrinks to the non maximized size. This is the same animation as when you drag a maximized window down and it reverts to non maximized. I hope this makes sense. If any clarification is needed or if you would like me to test again. I was wrong about the .11 version, seems to be fixed for X11 only. It's Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1623658 : It's wayland specific. Firefox is maximized on start: [2212833.516] xdg_toplevel(1920, 1020, array) [2212833.538] xdg_surface(1442) [2212833.642] -> xdg_surface(1442) but it resized on background then: [2213074.109] gtk_surface1(array) [2213074.115] gtk_surface1(array) [2213074.121] xdg_toplevel(1280, 1057, array) [2213074.133] xdg_surface(1444) [2213074.147] -> xdg_surface(1444) so it's switched to non-maximized state but we don't know about it because we don't get on state change event. When this bug does not happen, the log looks like: [4050349.721] gtk_surface1(array) [4050349.733] gtk_surface1(array) [4050349.743] xdg_toplevel(1920, 1020, array) [4050349.763] xdg_surface(1613) [4050349.806] -> xdg_surface(1613) so looks like configure_edges() detects screen size correctly. Reported upstream here: https://gitlab.gnome.org/GNOME/gtk/-/issues/2538 Moving to gtk, as the fix is there. *** Bug 1822757 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1821702 *** |