You are here

Auto close not working as expected?

3 posts / 0 new
Last post
Rochey
Offline
Last seen: 3 years 3 months ago
Joined: 2007-08-07 15:48
Auto close not working as expected?

I'm not sure if this is a bug but I'm trying to get the Portableapps menu to close a couple of portable apps that I automatically start. The apps are "expresso" and "ditto". Every time I close the menu I'm presented with a pop up that says "please close the following apps 'expresso, ditto'". I then have to manually close the apps. Obviously this is not what I was expecting to happen I was hoping that it would close them automatically.
I'm currently running v12.0.1 and have gone through most of the betas.

Also to add, I'm pretty sure that some of the early betas did close the apps as expected so I don't know if anything changed.

Should the Portableapps menu close any app that is launched through it? or does it only do certain apps?

Any help would be much appreciated.
Rochey

Ken Herbert
Ken Herbert's picture
Online
Last seen: 29 min 30 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Unfortunately this is expected behaviour

Basically there are two ways to send a close message to a program:

1) The nice way, which can't be sent to programs that don't advertise a running window to the operating system.
2) Forcibly, which will work on all processes but will immediately kill the program, causing it to potentially lose data.

The platform obviously uses the first method because we don't want anyone losing their data, but unfortunately it won't work for most apps that run from the system tray. I know Ditto runs in the system tray, and I assume Expresso does too, so neither of these would advertise a visible window to the OS, and thus can't be sent a polite close message from the Platform.

Future updates to the auto-close functionality are planned to handle such programs (on a per-app basis, where an alternative means of safely closing them without losing data can be determined), but where an app has no way of ending the process politely this dialog will be your safety net.

If you are interested in the more the technical version of my answer, check this thread.

Rochey
Offline
Last seen: 3 years 3 months ago
Joined: 2007-08-07 15:48
Thanks for the reply, that

Thanks for the reply, that makes perfect sense. I'll have to wait for the per app support.

Log in or register to post comments