teaminkling / now-playing

A macOS application for Spotify notifications and a now playing visual widget!
MIT License
80 stars 5 forks source link

Sleeping the computer causes an implicit logout #75

Closed paced closed 3 years ago

paced commented 3 years ago

The title may not be accurate, but it can be treated as that behaviour.

Currently, if trying to sleep the computer and wait a few hours (or just let the display go to sleep) there is often a requirement to log out and log back in. Closing the app and reopening it also sometimes works.

We have a refresh token and authentication information. We should be able to handle this if it's only a small amount of time before needing to refresh the auth token.

Even asking the user to reauthenticate is fine, but it shouldn't be as cryptic as it is.

paced commented 3 years ago

It happens after long usage even if not sleeping the computer. I dogfood the software so this has annoyed me a fair bit.

This issue persisted in old versions of the software too. I don't know why I only reported this now. Prioritising for the next release.

paced commented 3 years ago

Fixed in v0.10.1.