LocationServiceDialog does not work
I am testing GNOME 43 release on NixOS and noticed that when I click the location button, an empty dialogue titled “Maps” is shown and the following message is logged:
(org.gnome.Maps:3647750): Gtk-CRITICAL **: 00:56:13.787: Error building template class 'Gjs_LocationServiceDialog' for an instance of type 'Gjs_LocationServiceDialog': .:0:0 Invalid property: Gjs_LocationServiceDialog.type
(org.gnome.Maps:3647750): Gjs-CRITICAL **: 00:56:13.790: JS ERROR: TypeError: this._settingsButton is null
LocationServiceDialog@resource:///org/gnome/Maps/js/locationServiceDialog.js:40:9
_onGotoUserLocationActivate/<@resource:///org/gnome/Maps/js/mainWindow.js:415:30
start/<@resource:///org/gnome/Maps/js/geoclue.js:71:29
main@resource:///org/gnome/Maps/js/main.js:55:24
@resource:///org/gnome/Maps/js/main.js:58:5
I managed to reproduce it outside of the clean VM by turning off the Location services in the Privacy section of the GNOME Settings.
Now, it might be an packaging error due to idiosyncratic nature of NixOS but all the other dialogues appear to work.
I looked at the code but do not see any meaningful difference between how LocationServiceDialog
and ExportViewDialog
are defined, or used: LocationServiceDialog
× ExportViewDialog