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

            Bug ID: 498456
           Summary: "Setup Window Shortcut" can be triggered twice,
                    causing crash
    Classification: Plasma
           Product: kwin
           Version: 6.2.5
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: hiim11354...@gmail.com
  Target Milestone: ---

Created attachment 177251
  --> https://bugs.kde.org/attachment.cgi?id=177251&action=edit
Backtrace. Missing a few debug symbols. Lines #7 and #8 in Thread 1 seem like
the important part.

SUMMARY
If you have a shortcut configured to activate "Setup Window Shortcut", you can
activate it while the dialog box to setup a window shortcut is open, which
causes KWin to crash.
I've encountered this problem on occasion; I think it's because I have a
wireless keyboard and it occasionally sends a keypress twice.

STEPS TO REPRODUCE
1. Add a custom window shortcut for "Setup Window Shortcut" (e.g. setting it to
Meta+Return)
2. Focus on a window
3. Hit the shortcut twice in a row

Alternatively, you can use a shortcut to activate the Window Operations Menu
and select "Setup Window Shortcut" from there.

OBSERVED RESULT
Upon pressing the shortcut a second time, KWin freezes for a bit, then crashes
and restarts.

EXPECTED RESULT
Second press of the shortcut should be ignored.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
>From looking around in the source code (kwin/src/useractions.cpp, line 1081), I
believe this comes from a failed assert?
This seems to be confirmed in the backtrace (lines marked #7 and #8 in Thread
1). I didn't get enough debug symbols to fill out the full backtrace, but the
ones I'm missing don't seem to be relevant (though I can install more if
needed).

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

Reply via email to