You are here

Workrave Portable does not close properly on PC shutdown

7 posts / 0 new
Last post
vstfn
Offline
Last seen: 9 years 2 months ago
Joined: 2015-05-09 02:14
Workrave Portable does not close properly on PC shutdown

After computer restart PortableApps.com Launcher displays the message:
"Workrave Portable did not close properly last time it was run and will now clean up. Please then start Workrave Portable again manually"

Windows 7
Workrave Portable is launched via shortcut in Startup folder: "WorkravePortable.exe - Shortcut"
On Windows restart the above message is displayed in a warning dialog. I should click [OK] button to continue, then I should run the program manually.

I would like a fix that will allow the program to launch automatically via the Startup folder after a PC restart.

Bennieboj
Bennieboj's picture
Offline
Last seen: 5 years 2 weeks ago
Joined: 2010-09-16 07:28
None will do this

No portable program on this site closes correctly on a pc shutdown, close the programs before you shut down your pc.
Shutdown detection is/was/may be coming, idk ask John about that...

Yes, I set the working directory!

vstfn
Offline
Last seen: 9 years 2 months ago
Joined: 2015-05-09 02:14
Possible automation of the application relaunch?

Until shutdown detection is implemented, could the portable platform relaunch the application automatically?

Each day I do the same repetitive task:
1. Click the [OK] button on the warning dialog.
2. Start Workrave Portable again manually.

An option to choose whether the next time to relaunch the application automatically would be nice.

Bennieboj
Bennieboj's picture
Offline
Last seen: 5 years 2 weeks ago
Joined: 2010-09-16 07:28
Nope

Quote from John and more about the same issue:
https://portableapps.com/node/28953#comment-188403
We should sticky this or make a Knowledge DB article about this xD

Yes, I set the working directory!

vstfn
Offline
Last seen: 9 years 2 months ago
Joined: 2015-05-09 02:14
I agree that this issue is

I agree that this issue is not in the Portable platform.

Workrave itself does not respond to the Windows shutdown signal.
Any other solution would be a complementary workaround.

Wm ...
Offline
Last seen: 7 years 6 months ago
Joined: 2010-07-17 12:37
You can start and stop the

You can start and stop the platform at startup + shutdown
AND
you can set an app to start automatically when the platform starts
AND
you can set the platform to close apps on exit

you just have to use the right combination.
Note: I think you might have to re-install the platform to get the option to start when the system starts but it'll keep all your existing settings, etc.

Wm

John T. Haller
John T. Haller's picture
Offline
Last seen: 20 hours 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Use The Platform

Just use the platform. When you close the platform, it will properly shut down your running portable apps. Windows doesn't understand multi-EXE apps and will forcibly close them in the wrong order. So, the things the launcher for Workrave wants to clean up and move back where they belong can't be moved because the launcher is closed by Windows before Workrave. Using the PA.c Platform and telling it to close and shutdown Windows will allow it to properly close all the apps it can, tell you which apps can't be safely closed and let you close them, then shutdown Windows. Fun fact, Workrave can't be safely closed by an outside app as it minimizes to the tray and has no running window at that point. So, Windows doesn't even close it, it kills it. If you've made any changes within Workrave that haven't been saved to disk, they'll be lost.

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

Log in or register to post comments