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

            Bug ID: 522157
           Summary: Klipper action dialog hides on click-outside but keeps
                    a modal grab, making the Plasma panel unclickable
                    (Wayland)
    Classification: Plasma
           Product: plasmashell
      Version First 6.7.0
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Clipboard widget & pop-up
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

A Klipper clipboard "action" dialog (the "paste/save clipboard contents into a
file" action) opens as a modal window. If it is dismissed by clicking outside
it
instead of being closed explicitly, the dialog hides itself but keeps its modal
pointer grab against the Plasma panel. After that, the panel (task manager,
system tray, widgets, application launcher) no longer registers any mouse
clicks,
even though it still renders and still responds to keyboard shortcuts.
Application
windows, clicks inside normal windows, and Alt+Tab are all unaffected. The only
way I found to recover is to restart plasmashell.

STEPS TO REPRODUCE
1. Have Klipper running with clipboard actions enabled.
2. Invoke the "paste clipboard contents into a file" Klipper action so its
dialog
    appears.
3. With that dialog open, click outside it (on another window or the desktop)
    rather than closing/cancelling it.

OBSERVED RESULT
The action dialog hides instead of closing, and keeps a modal grab. From then
on
no mouse clicks register anywhere on the Plasma panel / taskbar / systray,
while
keyboard shortcuts (Meta to open the launcher, Alt+Tab) and clicks in
application
windows continue to work normally.

EXPECTED RESULT
Clicking outside the dialog should either fully close it or at minimum, release
its grab. 
The plasma panel should stay clickable.

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 6.17.0-35-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
- Wayland session.
- Ruled out other causes: no stuck physical key or modifier (kernel key-state
was
  clean) and plasmashell had not crashed (it responded on D-Bus and was at
normal
  CPU). The panel was simply blocked by the hidden dialog's grab.
- Workaround: systemctl --user restart plasma-plasmashell.service
- This may be a window-management (KWin) grab-handling issue rather than
Klipper
  itself, since the trigger is a hidden window retaining a pointer grab. Filing
  under Klipper because that is what spawned the dialog.

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

Reply via email to