Created attachment 147777 [details] kwin gdb backtrace SUMMARY Using the "Walk Through Desktops" shortcut after deleting a virtual desktop causes kwin to get stuck in an infinite loop. STEPS TO REPRODUCE 1. Assign a keyboard shortcut for KWin's "Walk Through Desktops" shortcut. 1. The current virtual desktop is "Desktop start". 2. Add a new virtual desktop ("Desktop new"). The current virtual desktop changes to "Desktop new". 3. Remove the "Desktop new" virtual desktop. The current virtual desktop switches back to "Desktop start". 4. Use the "Walk Through Desktops" keyboard shortcut. Sometimes I must use the shortcut a few times before kwin hangs. OBSERVED RESULT The system becomes unresponsive. The memory usage of kwin starts to grow, and doesn't stop. kwin seems to get stuck in the do/while loop of KWin::TabBox::ClientModel::createClientList(int, bool). EXPECTED RESULT The last recently used virtual desktop should become active. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Graphics Platform: X11 ADDITIONAL INFORMATION I've attached a backtrace with debug symbols. In the backtrace I started with 3 virtual desktops, and then added and deleted a 4th.
This bug is a crash report that is over a year old without any activity, as our software is always changing, the information in this ticket is unlikely to still be useful. If this issue is still reproducible in a newer version of kwin (5.27.5 or 6.0) please reopen this ticket with a bumped version number or it will be closed in 30 days.
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!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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 Thank you for helping us make KDE software even better for everyone!