gnome-shell-extension-gsconnect icon indicating copy to clipboard operation
gnome-shell-extension-gsconnect copied to clipboard

Device status showing like connected, despite not connected

Open Altonss opened this issue 1 year ago • 2 comments

Describe the bug

The associated device is showing as if it was connected (battery status, possibility to click on send files...), despite not being connected.

Steps to reproduce

No response

Expected behavior

It should show an up to date status of the connection.

GSConnect version

57

Installed from

GNOME Extensions website

GNOME Shell version

46

Linux distribution/release

Fedora Linux 40 (Workstation Edition)

Paired device(s)

No response

KDE Connect app version

1.32.2 (F-Droid)

Plugin(s)

No response

Support log

No response

Screenshots

No response

Notes

No response

Altonss avatar Sep 27 '24 07:09 Altonss

@Altonss

Hmm, that's not a whole lot to go on, unfortunately. A few questions:

  1. If the device is showing data in the extension, what makes you say it's not connected? (I believe you, I'm just wondering how you determined that. Does it not show up on the Android side? Is the Android device offline? Does trying to interact with it via GSConnect fail?)
  2. Is this something that just happened once, or does it happen repeatably?
  3. What about if you open the GSConnect Preferences ("Mobile Settings" from the user menu); (a) does it show as "Connected" in the device list, and (b) what happens if you hit the Refresh button in the upper-left corner?

Unfortunately the "Generate Support Log" debugging tool doesn't work in the release version of v57, or I'd recommend collecting logs that way. But you can run journalctl --user -b --grep gsconnect in a terminal window, to see if there have been any messages logged since boot; JavaScript errors would be the most interesting data, if there are any.

You'll probably see at least one "Failed to start app-gnome-org.gnome.Shell.Extensions.GSConnect.Preferences..." message; if the preferences did start, then you can disregard those.

ferdnyc avatar Sep 30 '24 10:09 ferdnyc

If the device is showing data in the extension, what makes you say it's not connected? (I believe you, I'm just wondering how you determined that. Does it not show up on the Android side? Is the Android device offline? Does trying to interact with it via GSConnect fail?)

The battery level was wrong, which indicates it was still displaying data from a past connection. And on the Android side it wasn't showing up as connected too :)

Is this something that just happened once, or does it happen repeatably?

Right now I'm not sure, maybe it already happened in the past but I don't remember.

What about if you open the GSConnect Preferences ("Mobile Settings" from the user menu); (a) does it show as "Connected" in the device list, and (b) what happens if you hit the Refresh button in the upper-left corner?

IIRC it was showing as connected in the device list.

I'll try to collect logs if I see this issue again :)

Altonss avatar Sep 30 '24 10:09 Altonss