https://bugs.kde.org/show_bug.cgi?id=471275
Bug ID: 471275 Summary: Closing laptop lid resets output scale to default and crashes Firefox Classification: Plasma Product: kwin Version: master Platform: Other OS: Linux Status: REPORTED Keywords: qt6 Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: n...@kde.org Target Milestone: --- Created attachment 159792 --> https://bugs.kde.org/attachment.cgi?id=159792&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.