Bug 422234 - Panel and task manager not closing context menus when ran with -nograb
Summary: Panel and task manager not closing context menus when ran with -nograb
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.18.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 16:48 UTC by teemu.patana
Modified: 2023-10-19 03:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description teemu.patana 2020-05-29 16:48:54 UTC
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.
Comment 1 Nate Graham 2023-09-19 20:21:44 UTC
Hello and thank you again for the bug report! Unfortunately we were not able to address it yet, nor even manage to reproduce the issue ourselves. Can we ask you to please check if this issue is still happening with Plasma 5.27?

If it is, please change the status to REPORTED. Thanks a lot!
Comment 2 Bug Janitor Service 2023-10-04 03:46:41 UTC
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!
Comment 3 Bug Janitor Service 2023-10-19 03:46:04 UTC
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!