SUMMARY After my desktop has been running for some time (could be a day or two) the native file dialog becomes very slow in xwayland. This is observable in any Qt application running on xwayland when the file dialog is used. Opening the dialog takes several seconds, mousing over or selecting a directory is also delayed by several seconds, and changing directories is delayed by several seconds. This adds up to a significant inconvenience when browsing around the file system. I have tried numerous things to reproduce the problem but the only thing that works so far is to wait and eventually the problem shows up. Restarting kwin_wayland resolves the problem as does logging out and then back in to the desktop. When the problem occurs non-xwayland file browsing is still responsive. In addition xwayland file browsing is responsive when a non-native file dialog, such as a gnome or gtk dialog, are used. STEPS TO REPRODUCE 1. Open an application in xwayland that utilizes the native file dialog or run dolphin with the following command: 'QT_QPA_PLATFORM=xcb dolphin' 2. If the dialog is properly responsive try again some time later. OBSERVED RESULT The dialog displays with a significant delay and changing directories is significantly delayed. EXPECTED RESULT The file dialog should remain as responsive as it is when the desktop is first started. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2
Created attachment 171915 [details] Test Application Backtrace I created a simple Qt6 test application that opens a native file dialog and ran it with xwayland. The attached backtrace was obtained while attempting to display the contents of a directory in the file dialog. I am adding it as an attachment because the system won't allow me to put it in a comment.