You are here

Silently cleanup unneded data and restart improperly closed apps (because of PC restart w/o closing apps)

6 posts / 0 new
Last post
DJ_ZX
Offline
Last seen: 3 years 9 months ago
Joined: 2010-08-12 05:57
Silently cleanup unneded data and restart improperly closed apps (because of PC restart w/o closing apps)

Here are two issues (I see that part with power loss issue is under tracking but have an extra opinion - feel free to merge with other similar thread if exists)
1 - dialog that states "App did not close properly last time" is not really actionable. Mean you cannot cancel cleanup, this is just informational. So proper behavior should be - cleanup data, do not show the dialog. Probably Platform should check for such "dirty" data and clean it up on start.

2 - but more serious problem is when you just restarting or shutting down PC normally (no issues) and then each started app showing this message which is heavily annoying. It should not appear if PC was properly restarted or stopped.

John T. Haller
John T. Haller's picture
Online
Last seen: 13 min 52 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Addressed In Detail

Sometimes, the impossible can become possible, if you're awesome!

DJ_ZX
Offline
Last seen: 3 years 9 months ago
Joined: 2010-08-12 05:57
Oh, thank you, clear

Oh, thank you, clear explanation but the question:
from apps side it's pretty clear, but what's about PA launcher? Is that possible to ask PA launcher to detect if "bad data" left on start and cleanup it? Or apps cleans themselves in different manner?

John T. Haller
John T. Haller's picture
Online
Last seen: 13 min 52 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Apps Vary

Every app has different data it tries to clean up on a start after an unsafe exit. It can result in data loss even if you only use it on one machine especially if you upgrade an app after unsafely closing it (though I constantly take reports about this and attempt to work around it with installer directives). In a future release, I may allow the platform to immediately restart the app. The app just can't restart itself at the moment due to environment variables passed to processes.

Sometimes, the impossible can become possible, if you're awesome!

DJ_ZX
Offline
Last seen: 3 years 9 months ago
Joined: 2010-08-12 05:57
Thank you, good news.

Thank you, good news.
Btw: asking platform to close apps on platform closing does not work for restart of PC scenario (tried several times)

John T. Haller
John T. Haller's picture
Online
Last seen: 13 min 52 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Can't

It can't unfortunately. The launchers for the apps are written in NSIS which doesn't support intercepting Windows shutdown messages.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments