It needs to press touchpad hotkey twice to re-enable touchpad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Settings Daemon |
Expired
|
Medium
|
|||
OEM Priority Project |
Fix Released
|
Undecided
|
Unassigned | ||
unity-settings-daemon (Ubuntu) |
Fix Released
|
High
|
Lars Karlitski | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Impact
the touchpad toggle key doesn't work correctly
* Test case
using a laptop having a "touchpad toggle key", try to use it to turn touchpad off and on while no other pointing device is connected, it should correctly toggle
* Regression potential:
enabling/disabling of different pointing devices should keep working
-------------------
I have a laptop: ASUS P452L and it has a hotkey (Fn+F9) to disable touchpad function.
I found when I use the hotkey to disable the touchpat and then I have to press the hotkey
twice to re-enable it.
This is symptom cannot be found if:
1) using Kubuntu.
2) plug the usb mouse (any port is ok)
Because it can't be reproduced in Kubuntu, I think it should be an issue of unity-settings-
Platform: ASUS P451L
Ubuntu: 14.04-LTS
Unity-setting-
Touchpad vendor: Elantech
Note: This issue can be reproduced in Ubuntu 15.04.
Related branches
- Robert Ancell: Approve
-
Diff: 12 lines (+2/-1)1 file modifiedplugins/mouse/gsd-mouse-manager.c (+2/-1)
Changed in unity-settings-daemon (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Sebastien Bacher (seb128) |
Changed in gnome-settings-daemon: | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
Changed in gnome-settings-daemon: | |
status: | Incomplete → Confirmed |
description: | updated |
Changed in oem-priority: | |
status: | New → Fix Released |
Changed in gnome-settings-daemon: | |
status: | Confirmed → Expired |
I add some debug message in unity-settings- daemon/ plugins/ mouse module, and run tests.
Here are my founds:
1-a) Press Fn+F9, function touchpad_callback disables the touchpad. touchpad_ active. touchpad_ active checks if toucpad is the only one pointer device on the platform, it will make touchpad always enabled. touchpad_ active only changes the gsettings entries but leave the device disabled.
1-b) However after touchpad is disabled, device_removed_cb is invoked, and it then calls ensure_
1-c) The ensure_
1-d) However ensure_
* Press Fn+F9 to disable touchpad
======= ======= ======= ======= === 1st TOUCHPAD HOTKEY TRIGGER START ======= ======= ======= ======= ===
(lt-usd- test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG touchpad_callback ENTER === test-mouse: 16396): mouse-plugin-DEBUG: +++(1) gsettings KEY_TOUCHPAD_ ENABLED value: 0 test-mouse: 16396): mouse-plugin-DEBUG: Trying to set device disabled for "ETPS/2 Elantech Touchpad" (12) test-mouse: 16396): mouse-plugin-DEBUG: Disabled device "ETPS/2 Elantech Touchpad" (12) test-mouse: 16396): mouse-plugin-DEBUG: +++(2) KEY_TOUCHPAD_ ENABLED, value=0 +++ test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG touchpad_callback EXIT === test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG device_removed_cb ENTER === test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG ensure_ touchpad_ active ENTER ===, gsettings key: 0 test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG touchpad_callback ENTER === test-mouse: 16396): mouse-plugin-DEBUG: +++(2) KEY_TOUCHPAD_ ENABLED, value=1 +++ test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG touchpad_callback EXIT === test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG ensure_ touchpad_ active EXIT ===, gsettings key: 1 test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG device_removed_cb EXIT ===
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
(lt-usd-
======= ======= ======= ======= === 1st TOUCHPAD HOTKEY TRIGGER END ======= ======= ======= ======= ===
2-a) Press Fn+F9 again the touchpad is still disabled. ENABLED is set to 0 (FALSE), I think it is changed by usd-media-key.
2-b) The gsettings KEY_TOUCHPAD_
2-c) I think because device is removed from the list, nothing happend in this stage.
* Press Fn+F9 to enable touchpad ======= ======= ======= === 2nd TOUCHPAD HOTKEY TRIGGER START ======= ======= ======= ======= ===
=======
(lt-usd- test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG touchpad_callback ENTER === test-mouse: 16396): mouse-plugin-DEBUG: +++(2) KEY_TOUCHPAD_ ENABLED, value=0 +++ test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG touchpad_callback EXIT ===
(lt-usd-
(lt-usd-
======= ======= ======= ======= === 2nd TOUCHPAD HOTKEY TRIGGER END ======= ======= ======= ======= ===
3-a) Press Fn+F9 again, the gsettings KEY_TOUCHPAD_ ENABLED is set to 1(TRUE), it should be set by usd-media-key
3-b) The touchpad_callback eanbles touchpad.
* Press Fn+F9 to enable touchpad ======= ======= ======= === 3rd TOUCHPAD HOTKEY TRIGGER START ======= ======= ======= ======= ===
=======
(lt-usd- test-mouse: 16396): mouse-plugin-DEBUG: === DEBUG touchpad_callback ENTER === test-mouse: 16396): mouse-plugin-DEBUG: +++(2) KEY_TOUCHPAD_ ENABLED, value=1 +++ test-mouse: 16396): mouse-plugin- DEBUG:. ..
(lt-usd-
(lt-usd-