GSConnect / gnome-shell-extension-gsconnect

KDE Connect implementation for GNOME
GNU General Public License v2.0
3.15k stars 256 forks source link

Unable to open the mobile settings window #1190

Open hoshsadiq opened 2 years ago

hoshsadiq commented 2 years ago

ATTENTION: GSConnect only supports the latest, stable version of GNOME. We are no longer accepting bug reports for previous versions.

Describe the bug

Unable to open the "Mobile Settings" main window.

Steps To Reproduce:

  1. Click on the bar at the top of GNOME
  2. Click on connected phone
  3. Click on Mobile Settings
  4. Nothing happens.

Expected behavior

The main phone settings window should open.

Screenshots N/A

Support Log

I'm unable to provide this as the main window does not open, however, journalctl contains the following logs entries for gnome and gjs.

Oct 24 16:57:59 pop-os dbus-daemon[3282]: [session uid=1000 pid=3282] Reloaded configuration
Oct 24 16:57:59 pop-os dbus-daemon[3282]: [session uid=1000 pid=3282] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.1' (uid=1000 pid=3278 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
Oct 24 16:57:59 pop-os systemd[3258]: Starting Tracker metadata database store and lookup manager...
Oct 24 16:57:59 pop-os dbus-daemon[3282]: [session uid=1000 pid=3282] Successfully activated service 'org.freedesktop.Tracker1'
Oct 24 16:57:59 pop-os systemd[3258]: Started Tracker metadata database store and lookup manager.
Oct 24 16:57:59 pop-os gjs[347397]: Object .GSConnectPreferencesWindow (0x5565d281c2a0), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Oct 24 16:57:59 pop-os gjs[347397]: gtk_window_present_with_time: assertion 'GTK_IS_WINDOW (window)' failed
Oct 24 16:57:59 pop-os gnome-shell[347397]: == Stack trace for context 0x5565d220d1c0 ==
Oct 24 16:57:59 pop-os gnome-shell[347397]: #0   7ffc75107690 b   /home/hosh/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/gsconnect-preferences:58 (9287da8ce70 @ 94)
Oct 24 16:57:59 pop-os gnome-shell[347397]: #1   5565d22aa480 i   /home/hosh/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/gsconnect-preferences:112 (9287da8cf60 @ 636)
Oct 24 16:57:59 pop-os dbus-daemon[3282]: [session uid=1000 pid=3282] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.1' (uid=1000 pid=3278 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
Oct 24 16:57:59 pop-os systemd[3258]: Starting Tracker metadata extractor...

System Details (please complete the following information):

GSConnect environment (if applicable):

Additional Notes:

Restarting my computer fixed the issue, which I sort of expected considering the error. Prior to that, I tried reloading gnome-shell (via ALT-F2 > r) but that didn't help. Anyway, I figured I would report this anyway so that it perhaps might get fixed and not require a restart in the future. If not, feel free to close this issue. Happy to provide any other information if it helps, but bare in mind, I may not be able to considering I was forced to restart.

andyholmes commented 2 years ago

Thanks for reporting with a log, even though the problem is resolved for you :slightly_smiling_face:

I guess we'll just leave this one open for awhile and see if anyone else hits it.

stdedos commented 2 years ago

I have the same issue and "no real wish" to restart my computer. As OP has said, restarting Gnome Shell does not work, de/re-activating the extension doesn't help either.

I am in Ubuntu 20.04, and whatever Gnome shell that version has

stdedos commented 2 years ago

... sadly, I had to restart as well 😕