Bug 345743 - The multimedia key 'toggle touchpad' does nothing, and setting it as a shortcut for kcm_touchpad behaves weird
Summary: The multimedia key 'toggle touchpad' does nothing, and setting it as a shortc...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (show other bugs)
Version: 5.2.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL: http://ibin.co/1wmQF1SdmSRM
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 01:58 UTC by Savor d'Isavano
Modified: 2022-05-21 06:02 UTC (History)
4 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 Savor d'Isavano 2015-04-01 01:58:56 UTC
I don't know which category this bug should go to but this is as far as I can get.
I have a Dell Inspiron 14R Turbo where Fn+F2 toggles the touchpad. In KDE 4 it works well but in Plasma 5 it does nothing.
If I set it as a keyboard shortcut for 'Toggle Touchpad', it shows odd characters, see the URL for a demonstration.
However, the shortcut actually works, until a restart that resets the shortcut to blank.

I think these two are related bugs and maybe solved with one shot.

Reproducible: Always

Steps to Reproduce:
[Touchpad key does nothing]
1. Press the toggle touchpad multimedia key.

[Weird shortcut behavior]
1. Open kcm_touchpad settings page
2. Go to Enable/Disable Touchpad
3. Click the Configure button for keyboard shortcuts.
4. Set the multimedia key as a shortcut for Toggle Touchpad

Actual Results:  
[Touchpad key does nothing]
Nothing happened.

[Weird shortcut behavior]
The shortcut is shown as odd characters. It works, but is reset after a computer restart (maybe session logout. I'll confirm in a minute).

Expected Results:  
[Touchpad key does nothing]
Should toggle the status of touchpad.

[Weird shortcut behavior]
Shortcut is shown as normal chars, say 'Touchpad Toggle'.
The shortcut should be preserved after a logout or restart.
Comment 1 Savor d'Isavano 2015-04-01 02:04:51 UTC
Just confirmed. A session logout is enough to reset the shortcut.
Comment 2 Vladimir 2015-05-06 20:25:59 UTC
Confirmed. Can reproduce bug. After logout-login or reset toggle field is blank/
Comment 3 Achilleas Koutsou 2015-05-10 18:16:56 UTC
Can confirm this for plasma-desktop 5.3 which now integrates kcm_touchpad.
Slightly different behaviour, I think: Changing the global shortcut to the multimedia key (Fn+F8 on Thinkpad T510) works until next login. Any other shortcut (e.g., Winkey+F8) persists.

The multimedia key appears as the default shortcut in the global shortcuts > kcm_touchpad screen.
Comment 4 Hinrikus Wolf 2015-07-19 15:15:14 UTC
In .config/kglobalshortcutsrc there are standing those strange symbols as well.
[kcm_touchpad] 
Disable Touchpad=,ៀ?,Touchpad abschalten 
Enable Touchpad=none,ៀ?,Touchpad aktivieren 
Toggle Touchpad=ៀ?,ៀ?,Touchpad umschalten 
_k_friendly_name=kcm_touchpad

I tried to set it to Toggle Touchpad=XF86TouchpadToggle,none,Touchpad umschalten, but the only effect was, that kde sets it to the old value on next login. 
With chattr +i on this file, of course kde was not changing the file, but I could not toggle touchpad as well.
Comment 5 Frederick Zhang 2016-01-17 19:51:41 UTC
I'm running Kubuntu 15.10 with Plasma 5.4.2 and confirmed the problem.

The problem is quite easy to solve. Open ~/.config/kglobalshortcutsrc by any editor and replace all ,ៀ? with ,ៀ (delete the question mark in other words).
Comment 6 Justin Zobel 2021-03-09 07:29:41 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 7 Savor d'Isavano 2021-03-12 03:21:47 UTC
Hi. Unfortunately my Inspiron 14R Turbo has retired. My current laptop is a Lenovo Gaming 80N8. I think the touchpad control on this model is somewhat hardware based i.e. different keycodes are generated on each press, one Touchpad On, the next Touchpad Off, etc... This works out of the box, and I see no issue setting them as shortcuts either.

Unless someone else can still reproduce this issue, I have no more information to add.

Thanks!