Created attachment 159792 [details] Journal log STEPS TO REPRODUCE 1. Use Plasma 6 Wayland on a laptop 2. Set a scale factor that is not identical to the scale factor that OutputConfigurationStore::generateConfig() generates as a default value 3. Open Firefox with some tabs 4. Close the lid 5. Wait a moment to make sure it's gone to sleep, and open the lid OBSERVED RESULT Screenlocker shows the default scale for your output, not the one you chose. After unlocking, Firefox freezes and then crashes. Both of things happen reproducibly, 100% of the time for me. Journalctl log and backtrace attached. Despite the fact that both things happen every time, it's possible the Firefox issue is unrelated. If so, I can open a new bug report for it after the scale issue is fixed or investigated to not be connected. EXPECTED RESULT Scale not reset, Firefox doesn't crash. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 38 KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.5.1 Kernel Version: 6.3.6-200.fc38.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz Memory: 15.2 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics
Created attachment 159793 [details] Firefox crash backtrace
Potential additional data points: - When this happens, my Konsole window is also always re-positioned to be just out of view. - Additional journalctl output that looks relevant for the Firefox case: Jun 21 05:31:55 Liberator firefox[7449]: ../gdk/wayland/gdkcursor-wayland.c:242 cursor image size (64x64) not an integermultiple of scale (3) Jun 21 05:31:54 Liberator firefox[7449]: ../gdk/wayland/gdkcursor-wayland.c:242 cursor image size (64x64) not an integermultiple of scale (3) Jun 21 05:31:54 Liberator firefox[7449]: ../gdk/wayland/gdkcursor-wayland.c:242 cursor image size (64x64) not an integermultiple of scale (3) - When this happens, if the scale factor does not actually reset because it was not any different from the auto-calculated default value, Firefox does not crash. But my Konsole window still gets relocated.
Let's make this just about the app behavior regressions when the bug happens, since 470742 is already tracking the "scale gets reset" issue.
Update: when this happens *all* my windows that were tiled to the right are moved offscreen.
This has been fixed by the fix for 471282. ...Well, worked around, because there's a bug in Firefox. I'll report it. *** This bug has been marked as a duplicate of bug 471282 ***