You are not logged in.
Hi all,
My problem is that more often than not, when I right-click something I accidentally also invoke the first item in the context menu.
There are two functional aspects here, each of them blatantly wrong:
1. Context menu pops up on right-click-press (instead of right-click-release).
2. The right mouse button invokes menu items in context menus (instead of doing nothing).
Is there any possibility that I can alter any of the above without modifying source code and recompiling?
Thank you in advance.
Last edited by mdcclxv (2023-06-26 12:40:38)
Offline
im assuming your using a trackpad? go into settings trackpad and you can change what clicking certain parts of the trackpad does.
Offline
The actual problem and what's not supposed to happen is that the menu pops up below the pointer (instead or right/below) - unless you accidentally move the pointer when pressing the button.
If this happens w/ regular QWidget QMenu's, the style is gonna be somwhat relevant, as it can define the margins of dead area in the popup.
=> Do you use breeze or some other style? And what is an actual example where this happens?
Offline
This behavior is being exhibited on any right-click where there is a context menu available. Bu the most annoying place is in PhpStorm (which is a Java app): I right click a file tab to split it, but the very first item in the tab context menu is Close. And yes, I am moving the mouse after click, it's a reflex, since the Split item is a couple of items bellow.
I'm using QtCurve.
On Windows the context menu only shows up on mouse button release. And the right-button doesn't do anything in the popup menu. It seems to me that KDE folks thought this completely wrong.
Last edited by mdcclxv (2023-06-24 23:10:06)
Offline
PhpStorm (which is a Java app) … On Windows … seems to me that KDE folks
This has **nothing** to do w/ KDE or windows; the logic is entirely implemented in the client (in this case Java), but opening context menus on the press is the common (I guess "traditional") way on *nix systems which is
I am moving the mouse after click
probably not very a11y-friendly.
You can emulate the mouse completely on the keyboard
https://wiki.archlinux.org/title/Access … Mouse_keys
https://wiki.archlinux.org/title/X_keyb … se_control
Offline
opening context menus on the press is the common (I guess "traditional") way on *nix systems which is
I am moving the mouse after click
probably not very a11y-friendly.
After more than a year of using KDE, I think I finally got it. This is, to use CEO words, a paradigm shift. I think the intended use case is right-press-and-hold, navigate the context menu, then right-release on the desired item. It's too cursive like this to be a coincidence. So, I owe some apologies to the KDE folks. I guess I'll have to un-train my brain from Windows habits.
Offline