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.
Please include output of WAYLAND_DEBUG=1 MOZ_ENABLE_WAYLAND=1 firefox
Created attachment 139725 [details] WAYLAND_DEBUG output
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!
I can reproduce 100% of the time. I'll supply the requested information later today.
Created attachment 140493 [details] Wayland debug log until the window appears
Can reproduce with Firefox running in native Wayland mode.
Created attachment 140497 [details] Wayland debug log from me too, for good measure
I think this might be resolved as of KDE 5.24.
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.
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.
(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.
Ok cool, great!