https://bugs.kde.org/show_bug.cgi?id=494665
Bug ID: 494665 Summary: Desktop freezes when closing file picker dialog used by KDE apps after GTK file picker was used in the current session Classification: Plasma Product: kwin Version: 6.2.0 Platform: Arch Linux OS: Linux Status: REPORTED Severity: major Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: yule2...@live.com Target Milestone: --- SUMMARY The entire desktop would freeze for a couple of seconds when you close a KDE Frameworks-based file dialog, only if you've previously opened a GTK-based file dialog in the current session. STEPS TO REPRODUCE 1. Open any app that does not support the DE-native file picker dialog through xdg-desktop-portal-kde (in my case, it was Audacity) 2. Go to File > Open... to open the file picker for that app and double-click a file to open it 3. Open another app that supports the DE-native file picker dialog (e.g., any KDE app or Firefox) 4. Open the file dialog for that app (e.g., by pressing Ctrl+O) and close it OBSERVED RESULT The entire screen, including the mouse cursor, would lock up for about a second. The length of subsequent freezes would get progressively worse if I use the GTK file dialog multiple times. EXPECTED RESULT No freezes SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.3 Graphics Platform: Wayland Graphics Processor: AMD Radeon RX 6750 XT Graphics Driver: Mesa (AMDGPU) ADDITIONAL INFORMATION When I repeatedly press a key during the freeze, I get this message in journalctl: kwin_wayland_wrapper[253591]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough! I was running Audacity 3.6.4 when I realized what triggered this bug, and the app only runs on Xwayland as of that version. The earliest version of Plasma I remember seeing this happen was 6.1. The freezing would stop when I log out and log back in. It would also stop after I run `pkill -ABRT -f 'kwin_wayland.*socket'` to force the compositor to restart without ending my session. -- You are receiving this mail because: You are watching all bug changes.