You are here

Safely close apps

4 posts / 0 new
Last post
farat_as
Offline
Last seen: 7 years 8 months ago
Joined: 2012-02-14 09:02
Safely close apps

Hi,

I see a new feature which can close safely all apps when I close platform 12. But when I try to close portableapps.com menu I get this warning:

----------
The following portable apps are still running:
DittoPortable.exe
Ditto.exe

Please close all portable apps and try again.
----------

Google Chrome close itself automatically. But why Ditto still runinng? I try it many times, but I face the same problem.

Thank you

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 23 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No Window = No Safe Close

If an app doesn't have a window that shows up in the EnumWindows API call within Windows, it can't be closed with a WM_CLOSE message. This is the polite way of closing an app. Often apps that run without a visible window (many tray apps) will not have a window returned.

A process without a visible window can be closed by PROCESS_TERMINATEing it, which is what some USB eject utilities do, but that will often result in a loss of data. Basically, anything not saved at the time will be lost, including any settings changes or open documents that have not already saved to disk. Some apps don't have too much issue with this, since they only have settings changes and save them as soon as you change them. Other apps, you're gonna lose things you don't want to.

In cases like Ditto, where it can't safely close it, it lets you know its running so you can safely close it.

In later releases of the platform and apps, we're going to include per-app details on closing as some apps that run without a window will accept a commandline request to close (running it again as AppName.exe /quit for example). The overall goal is to get as many apps closing safely and automatically as possible.

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

farat_as
Offline
Last seen: 7 years 8 months ago
Joined: 2012-02-14 09:02
Ok. Thank you.

Ok. Thank you.

daveolive
Offline
Last seen: 9 years 2 months ago
Joined: 2011-09-05 10:37
What about EvernoteClipper.exe?

When Evernote portable is started it also starts EvernoteClipper.exe and EvernoteTray.exe. When I close Evernote, EvernoteTray also closes, but EvernoteClipper does not. Should it close Evernoteclipper too? I use TrueCrypt so this is annoying because I either have to close Evernoteclipper in Task Manager, or OK TrueCrypt dismounting the volume despite an active process.

Log in or register to post comments