[Bug 1936303] Re: [SRU] Debounce multiple rfkill events
Ubuntu Foundations Team Bug Bot
1936303 at bugs.launchpad.net
Fri Jul 16 08:32:41 UTC 2021
The attachment "gnome-settings-daemon_3.36.1-0ubuntu1.2.debdiff" seems
to be a debdiff. The ubuntu-sponsors team has been subscribed to the
bug report so that they can review and hopefully sponsor the debdiff.
If the attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
Confirmed
Status in gnome-settings-daemon source package in Focal:
Confirmed
Status in gnome-settings-daemon source package in Hirsute:
Confirmed
Status in gnome-settings-daemon source package in Impish:
Confirmed
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
More information about the Ubuntu-sponsors
mailing list