Squirrel.Mac icon indicating copy to clipboard operation
Squirrel.Mac copied to clipboard

Do something reasonable if they leave the app running for a super long time

Open joshaber opened this issue 11 years ago • 7 comments

This is something @aroben brought up at the Objective-C mini-summit.

If the user just leaves the app open for forever, the user could be sitting on a version that needs to update but won't until they quit.

Maybe we could do something about that. Prompt the user, silently quit and re-launch (assuming good UI restoration), etc?

joshaber avatar Jul 22 '13 13:07 joshaber

Prompt the user

:point_up:

alanjrogers avatar Jul 23 '13 01:07 alanjrogers

Why is a prompt necessary? If we do it well, the app restarting shouldn't even be visible to the user.

jspahrsummers avatar Jul 23 '13 04:07 jspahrsummers

:point_up_2:

dannygreg avatar Jul 23 '13 15:07 dannygreg

Serious question: Would you complain it if Xcode did this?

alanjrogers avatar Jul 23 '13 15:07 alanjrogers

It depends on how it's done.

If the app is in the background and we restore the app state exactly then it wouldn't be that much of an issue. Xcode would probably balls that up and would take 10 minutes to relaunch.

If we were to do an automated relaunch we would have to make sure our launch and state restoration times were teeny tiny.

dannygreg avatar Jul 23 '13 15:07 dannygreg

I think that supporting state restoration and using OS X Automatic Termination is the way to do this, let the system decide when the application can be quit, and when it is we install available updates, would make downloading updates in the background #3 so that they aren’t interrupted more important

keithduncan avatar Sep 06 '13 10:09 keithduncan

@keithduncan We should support that use case, but it also implies a different UX.

This would be about installing an update and relaunching in the background, if they've been leaving the app idling. We don't always want to install an update then quit (which would be the automatic termination behavior).

jspahrsummers avatar Sep 06 '13 22:09 jspahrsummers