← Back to team overview

desktop-packages team mailing list archive

[Bug 1454950] Re: It needs to press touchpad hotkey twice to re-enable touchpad

 

@Sebastien, 
I check with the latest gnome-settings-daemon 3.17.1 from github, the ensure_touchpad_active functions is completely rewritten,

static void
ensure_touchpad_active (GsdMouseManager *manager)
{
        GList *devices, *l;
        gboolean state;

        state = get_touchpad_enabled (manager);
        if (state) {
                devices = get_disabled_touchpads (manager->priv->device_manager);
                for (l = devices; l != NULL; l = l->next) {
                        int device_id;

                        device_id = GPOINTER_TO_INT (l->data);
                        set_touchpad_enabled (device_id);
                }
                g_list_free (devices);
        } else {
                devices = gdk_device_manager_list_devices (manager->priv->device_manager,
                                                           GDK_DEVICE_TYPE_SLAVE);

                for (l = devices; l != NULL; l = l->next) {
                        GdkDevice *device = l->data;

                        if (device_is_ignored (manager, device))
                                continue;
                        if (xdevice_is_libinput (gdk_x11_device_get_id (device)))
                                continue;
                        if (gdk_device_get_source (device) != GDK_SOURCE_TOUCHPAD)
                                continue;

                        set_touchpad_disabled (device);
                }

                g_list_free (devices);
        }

        set_disable_w_typing (manager, state);
}

I have not check if the behaviour is changed, the latest g-s-d source
requires many updates to make it works.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1454950

Title:
  It needs to press touchpad hotkey twice to re-enable touchpad

Status in Gnome Settings Daemon:
  Incomplete
Status in OEM Priority Project:
  New
Status in unity-settings-daemon package in Ubuntu:
  Incomplete

Bug description:
  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-daemon.

  Platform: ASUS P451L
  Ubuntu: 14.04-LTS
  Unity-setting-daemon version: 14.04.0+14.04.20140606-0ubuntu2
  Touchpad vendor: Elantech

  Note: This issue can be reproduced in Ubuntu 15.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1454950/+subscriptions


References