-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] App restarts after waking up from sleep mode #877
Comments
Can confirm, i've started seeing this frequently |
From what I've tested it looks like it is cause by autoupdate. User put the machine in the sleep mode, when waking up and being on lock screen app detects that update is available and start updating and restarting app, so when user enters password it see app in setup state |
@brianp Should I change this behavior somehow ? Like maybe preventing autoupdate in sleep mode or something ? |
Is that something we can detect? |
Found something like this |
If the system is asleep, let's do an update check as if the user does not have the auto-update feature turned on.
It's essentially the same process as not having the auto update feature turned on, but the messaging explains why we didn't do the update. |
Okay, sounds good |
@brianp What do you think maybe about also changing auto update a bit because now if it detects update it proceed with it straight away and new users maybe even don't know what is happening. What about displaying modal with something like "New version detected: Tari Universe 0.9.0. Updating in 5 . 4 . 3 . 2 . 1" and adding button to cancel it |
@Misieq01 having no user interaction on a regular update is by design. It is supposed to be as low a barrier as possible for the update to occur. If auto-update is not turned on, the user receives this dialog to ask if they'd like to update. When the feature is turned on, it should be seamless. Except for now, for the machine may be asleep. |
@MCozhusheck #1335 was merged, could you test it again and see if issue persist for you ? |
App go again through setup after waking up from sleep. This cause unnecessary waiting but may also mess up config if something gets overwritten.
This was noticed on my windows laptop but still requires confirmation if it's a common problem
The text was updated successfully, but these errors were encountered: