https://bugs.kde.org/show_bug.cgi?id=429845

            Bug ID: 429845
           Summary: Kwin locks up and have to kill it from TTY to recover.
           Product: kwin
           Version: 5.20.3
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: emi...@diademiemi.me
  Target Milestone: ---

Created attachment 133749
  --> https://bugs.kde.org/attachment.cgi?id=133749&action=edit
Video of this crash, see description ADDITIONAL INFORMATION.

SUMMARY
Kwin complete lockup when holding a window + using "Window to Previous/Next
Desktop" shortcut.

STEPS TO REPRODUCE
1. Hold a window by holding down kwin modifier key (in my case Meta) or window
decoration
2. Hold "Window to Previous/Next Desktop" shortcut (in my case Meta + Shift +
W/S, at this step I have not presses W/S yet)
3. Press shortcut "Switch to Previous/Next Desktop" (in my case Meta + W/S, I
press W/S now, but the previous two shortcuts then overlap)

OBSERVED RESULT

Window does get dragged along to the desktop, but kwin completely locks up, I
can not interact with any windows, opening krunner works but I can not type in
it, I have to switch to another TTY and kill the kwin_x11 process, I can then
type in krunner to restart it.

EXPECTED RESULT
Same behavior as holding window with the modifier key (Not "Window to
Previous/Next Desktop" shortcut, shift in my case) and changing desktops with
"Switch to Previous/Next Desktop" shortcut. This would drag the window along
with the desktop. The "Window to Previous/Next Desktop" shortcut is designed to
do this, but without holding the window, if you do hold the window this lockup
happens. It should negate the "Window to Previous/Next Desktop" shortcut if you
are holding a window because "Switch to Previous/Next Desktop" already has the
correct behavior.

Operating System: Gentoo Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.9.11-gentoo
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon ™ RX 470 Graphics

ADDITIONAL INFORMATION
In the first part of the video you see me using the "Window to Previous/Next
Desktop" shortcut (Meta + Shift + W/S).
Then I hold Meta to grab the window and use the "Switch to Previous/Next
Desktop" shortcut (Meta + W/S) to drag the window to the other desktop, this
works.
Then I combine the two and use "Window to Previous/Next Desktop" shortcut while
holding the window, this crashes kwin. I then open krunner and demonstrate I
can not type in it, I switch to another TTY and kill kwin_x11 and restart it
with krunner.

This is pretty niche and seems like a lot of conditions, but this happens
frequently, these shortcuts I believe are logical and I doubt I am the only one
to have them set like this, in any case, this shouldn't crash kwin.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to