Repeated "time zone updated" notifications when "Automatic Time Zone" enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am seeing repeated "time zone updated" notifications when "Automatic Time Zone" is enabled in Settings > Date & Time in gnome-control-
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.0-2ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon May 2 10:26:46 2022
DisplayManager: gdm3
InstallationDate: Installed on 2022-03-26 (36 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220321)
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
I left a terminal session tailing `/var/log/syslog` to track what's happening at the time when the notification shows up, and indeed managed to observe it happen again, with a fragment of system logs found below. Looks like NetworkManager fires off a `CONNECTED_SITE` state change, and the location is updated -> notification fires, even if timezone has not changed.
I think the condition that triggers the unnecessary notification is the _location_ changing even if the timezone has not changed, and for whatever reason the location keeps flickering between either Denmark or Germany (both in CET).
Here goes the log example:
``` 4609]: <info> [1651493981.4907] manager: NetworkManager state is now CONNECTED_SITE freedesktop. nm_dispatcher' unit='dbus- org.freedesktop .nm-dispatcher. service' requested by ':1.10' (uid=0 pid=4609 comm="/ usr/sbin/ NetworkManager --no-daemon " label="unconfined") p.nm_dispatcher ' 4609]: <info> [1651493981.7719] manager: NetworkManager state is now CONNECTED_GLOBAL 4694]: TDLS: Invalid frame - payloadtype=1 category=240 action=26 dispatcher. service: Deactivated successfully. location_ has_coords: assertion 'loc != NULL' failed location_ get_city_ name: assertion 'loc != NULL' failed location_ get_country: assertion 'loc != NULL' failed location_ has_coords: assertion 'loc != NULL' failed location_ get_city_ name: assertion 'loc != NULL' failed location_ get_country: assertion 'loc != NULL' failed location_ has_coords: assertion 'loc != NULL' failed location_ get_city_ name: assertion 'loc != NULL' failed location_ get_country: assertion 'loc != NULL' failed location_ has_coords: assertion 'loc != NULL' failed location_ get_city_ name: assertion 'loc != NULL' failed location_ get_country: assertion 'loc != NULL' failed location_ has_coords: assertion 'loc != NULL' failed
May 2 15:19:41 iris NetworkManager[
May 2 15:19:41 iris dbus-daemon[4607]: [system] Activating via systemd: service name='org.
May 2 15:19:41 iris systemd[1]: Starting Network Manager Script Dispatcher Service...
May 2 15:19:41 iris dbus-daemon[4607]: [system] Successfully activated service 'org.freedeskto
May 2 15:19:41 iris systemd[1]: Started Network Manager Script Dispatcher Service.
May 2 15:19:41 iris NetworkManager[
May 2 15:19:46 iris wpa_supplicant[
May 2 15:19:51 iris systemd[1]: NetworkManager-
May 2 15:19:52 iris gsd-datetime[7371]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
May 2 15:19:52 iris gsd-datetime[7371]: message repeated 71 times: [ g_object_ref: assertion 'G_IS_OBJECT (object)' failed]
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:19:52 iris gsd-datetime[7371]: gweather_
May 2 15:...