Bug 439198 - Right-click menu shows on botton click, not release
Summary: Right-click menu shows on botton click, not release
Status: RESOLVED INTENTIONAL
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-27 01:14 UTC by David
Modified: 2021-07-29 16:22 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 David 2021-06-27 01:14:42 UTC
SUMMARY
If I open some application with a right-click menu, and hold a right-click somewhere, the right-click menu will show when the click is received, rather than when it is released. I'm not sure when this started to happen, and not sure if it's a KDE config issue or some QT or XKB issue.

STEPS TO REPRODUCE
1. Open Dolphin or some other app.
2. Right click somewhere on it, holding the click and moving the mouse.

OBSERVED RESULT
The right-click menu appears on button click.

EXPECTED RESULT
The right-click menu should appear on button release like in other OSes.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-07-29 16:12:41 UTC
This is intentional behavior, so that you can right-click, drag to the desired menu item, and release, all in one smooth gesture. Windows is the only major os that does NOT have this feature, and most of us consider that a bug, not a feature. :)
Comment 2 David 2021-07-29 16:19:55 UTC
(In reply to Nate Graham from comment #1)
> This is intentional behavior, so that you can right-click, drag to the
> desired menu item, and release, all in one smooth gesture. Windows is the
> only major os that does NOT have this feature, and most of us consider that
> a bug, not a feature. :)

It leads to unintentional clicks, and it's especially noticeable when CPU/RAM are at high utilization and it takes a while to draw a menu, as sometimes it results in right-clicking, not seeing anything, and the software processing a click on some random menu item that you never had the chance to read. Also makes it harder to cancel a right click with a left click.

BTW click-on-release is also the way it works in other desktop environments and how it used to be in older KDE versions.
Comment 3 Nate Graham 2021-07-29 16:22:24 UTC
See https://bugreports.qt.io/browse/QTBUG-57849