Accessibility: Context Menu positioning under Linux
I have a very peculiar usability issue, I know it's a corner case, please bear with me.
I'm running IntelliJ community under linux (mint cinnamon, but had the same issue under ubuntu as well).
When I right-click, the context menu appears VERY close to the cursor (about 1 pixel away). Under GTK, there's the very unfortunate behavior (they call it a “feature”) that you can:
- hold down your right mouse button (which brings up the context menu)…
- … hover over an entry…
- … and release the mouse button to activate that entry.
Since IntelliJ positions the context menu so close to the cursor, I often do the above sequence by accident. I right-click while the mouse is not 100% standing still, the cursor gets moved 1 pixel and by the time I let go of the right mouse button it will activate whatever menu entry the mouse happens to be over. This is annoying for two reasons:
1. It has triggered whatever random action happened to be under the cursor
2. The context menu is gone again
All system applications have a “dead zone” around the right-click point where you can move the mouse and it won't highlight any of the entries, which avoids this problem. As IntelliJ doesn't have that, I keep hitting random context menu entries.
Any advice? Can I configure the context menu cursor offset somehow for IntelliJ?
请先登录再写评论。
We have an existing ticket https://youtrack.jetbrains.com/issue/IJPL-149553/Right-mouse-button-up-on-the-context-menu-can-trigger-unwanted-action, the solution is availble in the EAP version. Please try downloading it and let us know if it's still reproduced.
If yes, please share a screen recoring.