Summary: | It's easy to accidentally select a context menu item when you accidentally right-click | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | jon2kx |
Component: | QStyle | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | nate |
Priority: | NOR | Keywords: | accessibility, usability |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
URL: | https://bugreports.qt.io/browse/QTBUG-57849 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
jon2kx
2018-07-20 19:43:41 UTC
If I'm understanding you properly, the issue is that when you accidentally right-click your mouse and move the cursor a few pixels, it's too easy to accidentally select a menu item, with potentially unwanted consequences. Is that right? If so, this might be something we can solve in Breeze by changing where the context menu pops up, or by adding a little bit of padding somewhere. In macOS for example, this is handled by giving menus a little bit of top and bottom padding to increase the number of pixels that the cursor has to travel before it's underneath a menu item. The actual bug is https://bugreports.qt.io/browse/QTBUG-57849, but adding a workaround in all styles is also an option. </s> That would be agreeable, although it would be nice to have the option to disable right click and select, but I suspect that it would affect a great many little things, or take a lot more to implement. Like swatting a fly with a mallet. I am in agreement with you. Christoph is right, let's track this upstream. It doesn’t appear that upstream resoled this bug in the last 2 years. And today, at least on my system, right-click instantly triggers the first menu entry even without any mouse movement. It happens only with Breeze style, not with MS Windows 9x style, which has padding arround the menu. What should we do? Wait longer to do it semantically correct, or change the padding in Breeze to actually mitigate the problem? Working around it in Breeze by adding a little bit of top madding could technically be considered a stylistic change that just happens to also fix this bug, so yeah, it's probably not terribly unreasonable. As for the Qt bug, I don't think we can count on it to get get randomly fixed one day. a KDE person will probably have to submit a patch. s/madding/padding/ *** This bug has been marked as a duplicate of bug 429164 *** |