Bug 448951

Summary: X11 - 'Two-finger tap' options have inconsistent labels and are greyed out depending on the way used to open the Touchpad KCM
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_touchpadAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: alex765, andihartmann, matti-kdebugs, natalie_clarius, nate, sitter
Priority: HI    
Version: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=448953
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: case 1
case 2

Description Patrick Silva 2022-01-22 13:42:12 UTC
Created attachment 145752 [details]
case 1

Case 1:
The labels of "Two-finger tap" options are "Right-click" and "Middle-click" (both options are greyed out) when I open Touchpad KCM in these ways:
1. by running 'kcmshell5 kcm_touchpad' command, regardless the view mode (icon or sidebar) of System Setttings
2. via kickoff or krunner with System Settings is set to sidebar view
3. via System Settings in icon view mode

Case 2:
However, the labels of "Two-finger tap" options are "Right-click (three-finger tap to middle-click)"
and "Middle-click (three-finger tap right-click)" when I open Touchpad KCM in these ways:
1. via kickoff or krunner with System Settings in icon view mode
2. via System Settings in sidebar view mode

EXPECTED RESULTS
consistent labels

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Graphics Platform: X11

ADDITIONAL INFORMATION
Please see the attached screenshots.
Comment 1 Patrick Silva 2022-01-22 13:42:47 UTC
Created attachment 145753 [details]
case 2
Comment 2 Nate Graham 2022-01-28 04:16:27 UTC
I can reproduce all of those.
Comment 3 Nate Graham 2022-04-04 21:06:59 UTC
*** Bug 452217 has been marked as a duplicate of this bug. ***
Comment 4 Alex 2022-09-24 06:46:29 UTC
I just checked this in Plasma 5.25.5 and the labels seem consistent now.

However, all "Tapping" options are disabled (greyed out) in the "via System Settings in sidebar view mode" scenario, but they are enabled when launching via krunner in icon view mode, so there is clearly still inconsistencies here.
Comment 5 Harald Sitter 2023-04-30 17:24:08 UTC
Can you reproduce any of them on 5.27? I may be doing it wrong but for me they all seem to produce consistent results now
Comment 6 Patrick Silva 2023-04-30 23:34:56 UTC
Tested again...
The labels of "Two-finger tap" options are "Right-click" and "Middle-click" (both options are greyed out) when I open Touchpad KCM in these ways:
1. by running 'kcmshell5 kcm_touchpad' command, regardless the view mode (icon or sidebar) of System Settings
2. via kickoff or krunner with System Settings is set to sidebar view
3. via System Settings in icon view mode
4. via kickoff or krunner with System Settings in icon view mode

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: X11
Comment 7 Harald Sitter 2023-05-01 20:22:00 UTC
Oh! I was looking at the wrong options :D Can reproduce now.
Comment 8 Harald Sitter 2023-05-01 21:23:25 UTC
Do any of you have a device which supports two finger input?
Comment 9 Patrick Silva 2023-05-01 21:38:37 UTC
I do middle-click by tapping with two-fingers.
Comment 10 Harald Sitter 2023-05-03 21:51:36 UTC
What appears to happen is that the values aren't getting properly initialized so the behavior becomes random because random memory gets read. :|
Comment 11 Natalie Clarius 2023-05-05 07:53:30 UTC
Probably related https://bugs.kde.org/show_bug.cgi?id=448953
Comment 12 Patrick Silva 2023-11-16 21:18:53 UTC
Cannot reproduce.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.0
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 13 Patrick Silva 2023-11-16 21:20:54 UTC
oops, copied system info from clipboard applet saying "Wayland", but it was tested on X11.