Bug 327766 - khotkeys - option for disable mouse gestures for specific applications
Summary: khotkeys - option for disable mouse gestures for specific applications
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: 5.20.3
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
: 264404 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-18 13:16 UTC by Murz
Modified: 2024-03-04 19:42 UTC (History)
3 users (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 Murz 2013-11-18 13:16:04 UTC
khotkeys have build-in mouse gestures that works well for all interface. But some applications have his build-in functional for mouse gestures (For example Firefox, Chromium, some games and special software).

But enabling mouse gestures in kde khotkeys are global, so once you add one gesture action in khotkeys, it disable all mouse actions with selected mouse key on all applications and windows.

Please add filter into global mouse gestures configuration, when user can choose on which windows it must work and on which - ignore gesture and send mouse events into application.

Reproducible: Always

Steps to Reproduce:
1. Open Firefox browser (or Chrome browser with specific extension)

2. Install Mouse Gestures extension https://addons.mozilla.org/ru/firefox/addon/firegestures/ into Firefox (same on chrome  https://chrome.google.com/webstore/detail/smooth-gestures/lfkgmnnajiljnolcgolmmgnecgldgeld )

3. Try to draw some gestures in Firefox window on webpage via right mouse button - all works.

4. In khotkeys settings System Settings » Custom Shortcuts - enable gestures to right mouse button (checkbox Gestures, Mouse button 3)

5. In khotkeys add and enable any Mouse Gestures Action: Edit » New » Mouse Gesture Action

6. Try to draw some gestures in Firefox window on webpage via right mouse button - they stops working!
Comment 1 Christoph Feck 2013-11-19 00:57:26 UTC
*** Bug 264404 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Crouthamel 2018-11-11 04:27:41 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Murz 2018-11-11 06:01:00 UTC
This feature is still missed in last KDE version, and very needed.
Comment 4 Andrew Crouthamel 2018-11-12 03:17:26 UTC
Thanks for the update!
Comment 5 Andrew Shark 2018-12-01 06:28:52 UTC
I think it could be implemented via Window rules in "Appearance & Fixes" tab.
There already is option to "Ignore global shortcuts". Analogically "Ignore mouse guestures" option could be added.
Comment 6 Nate Graham 2024-03-04 19:42:10 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.