starc icon indicating copy to clipboard operation
starc copied to clipboard

[Bug] A "loading" red spinning wheel keeps running forever, even after closing the app and opening it again

Open hyuri opened this issue 1 year ago • 4 comments

This "loading" red spinning wheel keeps running forever, no matter what I do.

image

Is it because Starc can't connect to the internet? I like keeping my writing computer disconnected from the internet.

App Info

  • Starc v0.5.0a (Flatpak)

System Info

  • Pop!_OS 22.04
  • X11

hyuri avatar Apr 26 '23 08:04 hyuri

Yes, it's because of it can't connect to our server. What do you suggest? How we can handle both cases?

dimkanovikov avatar May 03 '23 03:05 dimkanovikov

I would suggest not displaying the icon or trying to connect to the server in offline sessions. I'm not connected to the cloud or collaborating with other writers, so it shouldn't be trying to connect to the internet.

For cloud projects, the spinning wheel should timeout after a few unsuccessful tries and the following or similar message, colored red, briefly displayed to the user: "Can't connect to the internet. Working Offline". Maybe with an info button that tells you what that means such as "This means your work won't be shared with remote collaborators until you reconnect to the internet". Now you are in "Offline Mode", so Starc keeps trying to connect behind-the-scenes, with no spinning wheel, and only when it re-establishes a connection is when you get another message, colored green: "Connection restored. Working Online".

hyuri avatar May 03 '23 09:05 hyuri

What for its trying to connect to server if you're not logged in?

RonYanDaik avatar May 11 '23 14:05 RonYanDaik

It's just trying to connect to the server when the application started, for no concrete reason... But it's a good idea, to connect to server only when user logging or already logged.

dimkanovikov avatar May 11 '23 19:05 dimkanovikov

This thing was improved. For now, after one minute of the inactive connection red spinning indicator changed to gray disconnected icon.

dimkanovikov avatar Oct 05 '24 16:10 dimkanovikov