Bug 439251 - Firefox does not remember window size on wayland
Summary: Firefox does not remember window size on wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.22.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-28 04:14 UTC by Topi
Modified: 2022-03-04 14:05 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
WAYLAND_DEBUG output (114.52 KB, text/plain)
2021-06-28 21:24 UTC, Topi
Details
Wayland debug log until the window appears (109.79 KB, text/plain)
2021-08-03 18:50 UTC, Luca Beltrame
Details
Wayland debug log from me too, for good measure (387.72 KB, text/plain)
2021-08-03 23:20 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Topi 2021-06-28 04:14:32 UTC
SUMMARY
Firefox does not remember window size on Plasma wayland session.

STEPS TO REPRODUCE
1. Start a Plasma wayland session
2. Open Firefox with MOZ_ENABLE_WAYLAND=1
3. Resize window, close and reopen

OBSERVED RESULT
Firefox always starts in a tiny minimum sized window.

EXPECTED RESULT
Firefox remembers window size.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.12.5

ADDITIONAL INFORMATION
This does not happen on Weston or Gnome wayland sessions.
Comment 1 David Edmundson 2021-06-28 20:55:20 UTC
Please include output of

WAYLAND_DEBUG=1 MOZ_ENABLE_WAYLAND=1 firefox
Comment 2 Topi 2021-06-28 21:24:29 UTC
Created attachment 139725 [details]
WAYLAND_DEBUG output
Comment 3 Bug Janitor Service 2021-07-13 04:33:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Luca Beltrame 2021-08-03 11:42:39 UTC
I can reproduce 100% of the time. I'll supply the requested information later today.
Comment 5 Luca Beltrame 2021-08-03 18:50:36 UTC
Created attachment 140493 [details]
Wayland debug log until the window appears
Comment 6 Nate Graham 2021-08-03 23:19:12 UTC
Can reproduce with Firefox running in native Wayland mode.
Comment 7 Nate Graham 2021-08-03 23:20:08 UTC
Created attachment 140497 [details]
Wayland debug log from me too, for good measure
Comment 8 Reilly Brogan 2022-03-02 00:56:37 UTC
I think this might be resolved as of KDE 5.24.
Comment 9 Nate Graham 2022-03-02 16:34:52 UTC
Can also confirm that it's working for me now. Window size is up to the app to set, so maybe Firefox started setting it correctly in a new version. Or maybe we fixed something in KWin that let it respect Firefox's requested size.
Comment 10 Reilly Brogan 2022-03-04 01:33:48 UTC
I'm pretty sure it was something in 5.24, because as soon as my distro updated to it it started working.

Now, if #438946 was resolved too then I wouldn't have any reason to use Firefox X11 over Firefox Wayland.
Comment 11 tagwerk19 2022-03-04 08:42:04 UTC
(In reply to Reilly Brogan from comment #10)
> I'm pretty sure it was something in 5.24, because as soon as my distro
> updated to it it started working.
Hadn't worked on Fedora 35, now working.
Comment 12 Nate Graham 2022-03-04 14:05:39 UTC
Ok cool, great!