Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gnome-settings-daemon (Ubuntu)
Status: New => Confirmed
--
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/2011770
Title:
[gsd-rfkill] WwanEnabled never get synced
Status in OEM Priority Project:
Triaged
Status in gnome-settings-daemon package in Ubuntu:
Confirmed
Bug description:
The value of "WwanEnabled" under "org.freedesktop.NetworkManager" is
not synced correctly, which will lead to a airplane mode switching
failure when host has WWAN device(s).
There is a MR on the upstream project, which can solve this bug.
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/310
The description copied from the MR:
g-signal is not fired on property changes, so nm_signal is never
called, and all changes of NetworkManager's WwanEnabled property are
missed. That leads to an inability to disable the airplane mode on
laptops with WWAN after the airplane mode was once enabled by button.
Fix this by subscribing to g-properties-changed to actually listen to
the updates of WwanEnabled. It also makes the code simpler.
==================================
1. About Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
2. The version of packages:
gnome-settings-daemon:
Installed: 42.1-1ubuntu2.1
network-manager:
Installed: 1.36.6-0ubuntu2
3. Expect:
The function nm_signal(plugins/rfkill/gsd-rfkill-manager.c) is called, and
manager->wwan_enabled is set to the correct value.
4. Actual:
The function nm_signal(plugins/rfkill/gsd-rfkill-manager.c) is never called,
so manager->wwan_enabled is not synced, If machine has WWAN device(s), and the
initial value of manager->wwan_enabled is true, it will never be able to switch
to airplane mode.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2011770/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp