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

            Bug ID: 422234
           Summary: Panel and task manager not closing context menus when
                    ran with -nograb
           Product: plasmashell
           Version: 5.18.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: plasma-b...@kde.org
          Reporter: teemu.pat...@gmail.com
  Target Milestone: 1.0

SUMMARY
I'm testing out if it could be possible to use KDE without X11 pointer grabbing
madness since it's sometimes on my way. The main problem is that menus and
combo boxes grab the input and you need an extra click to close them. I'd like
if the click goes directly to the application I clicked at. Grabbing also
consumes all global keyboard shortcuts, so for example, you can't take a
screenshot directly when a menu or combobox is open. I browsed through Qt's
source code and found out that you can set environment variable
QT_XCB_NO_GRAB_SERVER=1 to disable all grabbing. Alternatively you can pass
-nograb to any Qt based application to test how it acts. At least the panels
and Spectacle are not working correctly. I really wish that in the end there
would be a simple setting for this grabbing behavior somewhere.

STEPS TO REPRODUCE
1. Start plasmashell without grabbing: killall plasmashell; plasmashell -nograb
2. Right click on a panel to open context menu
3. Right click on an application in task manager
3. Click somewhere else

OBSERVED RESULT
The context menus stays on, only the panel's menu can be closed when right
clicking again on the panel.

EXPECTED RESULT
The context menus should have been closed when the focus is lost.

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

Reply via email to