Bug 491461

Summary: In some Touchscreen device models, right click gesture does not work or is not implemented.
Product: [Applications] systemsettings Reporter: chris <chrisos>
Component: kcm_touchscreenAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate, nicolas.fella
Priority: NOR    
Version First Reported In: 6.1.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description chris 2024-08-08 22:59:15 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Place my Dell 7390 into tablet mode, or using the touchscreen in desktop mode.
Any gesture that you would expect to produce a right click action does not work (2 finger tap normally).

STEPS TO REPRODUCE
1. Install Fedora 40 with KDE Plasma 6.1.3 on Dell 7390 or other affected touchscreen devices.
2. Either use touchscreen in regular desktop mode, or switch 2-in-1 to tablet mode.
3. Open an application, such as Dolphin.
4. Attempt to right click by tapping screen with two fingers in single spot.

OBSERVED RESULT
The outcome is typically the application seeing the input as a zoom action (Firefox), or a selection box action (Dolphin).

EXPECTED RESULT
A right click context menu to appear, for most applications. 

SOFTWARE/OS VERSIONS
Linux: Fedora 40 - 6.9.12-200.fc40.x86_64 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Laptop Model: Latitude 7390 2-in-1
CPU: Intel i7-8650U (8) @ 4.200GHz 
iGPU: Mesa IntelĀ® UHD Graphics 620
Memory: 16GB
Comment 1 chris 2024-08-09 02:15:11 UTC
(In reply to chris from comment #0)
> ***
> If you're not sure this is actually a bug, instead post about it at
> https://discuss.kde.org
> 
> If you're reporting a crash, attach a backtrace with debug symbols; see
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> ***
> 
> SUMMARY
> Place my Dell 7390 into tablet mode, or using the touchscreen in desktop
> mode.
> Any gesture that you would expect to produce a right click action does not
> work (2 finger tap normally).
> 
> STEPS TO REPRODUCE
> 1. Install Fedora 40 with KDE Plasma 6.1.3 on Dell 7390 or other affected
> touchscreen devices.
> 2. Either use touchscreen in regular desktop mode, or switch 2-in-1 to
> tablet mode.
> 3. Open an application, such as Dolphin.
> 4. Attempt to right click by tapping screen with two fingers in single spot.
> 
> OBSERVED RESULT
> The outcome is typically the application seeing the input as a zoom action
> (Firefox), or a selection box action (Dolphin).
> 
> EXPECTED RESULT
> A right click context menu to appear, for most applications. 
> 
> SOFTWARE/OS VERSIONS
> Linux: Fedora 40 - 6.9.12-200.fc40.x86_64 
> KDE Plasma Version: 6.1.3
> KDE Frameworks Version: 6.4.0
> Qt Version: 6.7.2
> 
> ADDITIONAL INFORMATION
> Laptop Model: Latitude 7390 2-in-1
> CPU: Intel i7-8650U (8) @ 4.200GHz 
> iGPU: Mesa IntelĀ® UHD Graphics 620
> Memory: 16GB

I have also tried long pressing in many applications, this only works in some.
Comment 2 Nate Graham 2024-08-09 19:38:26 UTC
> Any gesture that you would expect to produce a right click action does not work (2 finger tap normally).
2-finger tap never produces a right-click in any of our software, FWIW, so it seems that this is more of an issue of expectations not matching the implementation. Instead , a right-click is typically accomplished in our software with a long-press. As you observed, this depends on the app to actually implement it, though. Each case where you expect a long-press to do a right-click needs to be implemented manually in the app itself, I'm afraid. As such, in every place you'd like this to be done, please open a new bug report about it.