Enable -proposed and upgrade G-S-D to 3.36.1-0ubuntu1.1.

Use `sudo libinput debug-events` to monitor input events, press airplane
mode hotkey, observe there are two events.

The airplane mode can be toggled on/off despite there are two rfkill
events.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

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

Title:
  [SRU] Debounce multiple rfkill events

Status in OEM Priority Project:
  New
Status in gnome-settings-daemon package in Ubuntu:
  Fix Released
Status in gnome-settings-daemon source package in Focal:
  Fix Committed
Status in gnome-settings-daemon source package in Hirsute:
  Fix Committed
Status in gnome-settings-daemon source package in Impish:
  Fix Released

Bug description:
  [Impact]
  Some laptops can generate multiple rfkill events from a single key press.

  [Fix]
  Commit f4dbcf3d7b0f951fe44b29229206c97b625dbfda ("media-keys: Add one second 
delay between each rfkill event").
  The commit adds a delay between each rkfill events to only process the first 
event and debounce the later ones.

  [Test]
  On HP ZBook G7, use `libinput debug-events` to observe there are two rfkill 
events on single key press. Airplane mode will be enabled and disabled in a 
very short period, so the airplane mode cannot be turned off by the hotkey 
anymore.

  After applying the fix, pressing airplane mode hotkey can enable or
  disable airplane mode correctly.

  [Where problems could occur]
  Since the delay is hardcoded as 1 second, the airplane mode cannot be 
switched on/of in a very short time anymore.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1936303/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to