Bug 396524

Summary: Usability issue: Change context menu default behavior
Product: [Plasma] plasmashell Reporter: guimarcalsilva
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: iodreamify, karl, nate, plasma-bugs, subdiff
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description guimarcalsilva 2018-07-15 07:37:07 UTC
Hi, I have a suggestion that would make the use of context menus on KDE much faster:
There's an inconvenient thing in KDE that doesn't happen on Windows, when, let's say, I right click the desktop or a folder, the context menu appears, but if I right click again somewhere else, the menu disappears instead of appearing again where the cursor is. This is annoying because if I want to right click on different programs or folders when the context menu is already active, I have to click twice, and if you have to do that frequently it can get pretty frustrating.

I made a video comparing Windows 10 and KDE to give you some idea of the difference between them (and while recording I think I found a new bug regarding active windows when right clicking on them, because when right clicking on Dolphin/Firefox the window didn't get active until the second right click (it starts at 2:05 mark on the video). I can file a new bug report if you deem necessary):

https://www.youtube.com/watch?v=HgJRUPNf9M4

Thanks!
Comment 1 David Edmundson 2018-07-27 12:34:20 UTC
Might be nice, but it's simply not feasible.

Under X the first menu grabs all mouse events. Our plasma window literally never gets the second right click.

Even if we did manage to work round it in plasma, it would then be out of place with every other toolkit. Sorry.
Comment 2 Roman Gilg 2018-07-27 15:17:01 UTC
Could this be done in theory on Wayland via KWin? This would need greater changes though in order to not regress in usability. Foremost all pointer events would need to be sent to other surfaces besides the context menu one.

In general allowing clicks outside of context menus would be a massive usability change.