You are here

Feature suggestion (Close and Eject drive)

5 posts / 0 new
Last post
Kpi
Offline
Last seen: 17 years 5 months ago
Joined: 2007-06-20 08:16
Feature suggestion (Close and Eject drive)

How about a new button "Close PAM AND umount USB drive"?

PAM should have a flag about how many apps were launched (evidently, from PAM, if someone launch any app EXTERNALLY, it's user problem, we're talking about PAM, not magic). When a portable App is closed (need to monitor execution threads), flag value will be reduced , when an App is launched, it will be increased.

This new option should check periodically the system (how about a check every 5 secs?) when launched until our flag value is zero, and then should try to umount the drive (3 to 6 tries, not more).

There's a possible problem: if any file is open (from ANY OTHER app), umount will be imposible, because drive IS IN USE (but we can monitorize situation, using error response check), so an error message like "Umount was impossible, check your open files and CLOSE them (moron)" is needed, with options like "Ok, don't umount", "Ok, don't close" and "Keep trying 1 minute more" (about 12 checks).

I think it would be a great feature to reduce stress from a novice user trying to close the app, because steps to eject the drive are, usually

a) Umount the drive (error, drive is in use)
b) Close the P Apps
c) Umount the drive (error, drive is in use) What the f***?
d) Think about
e) Umount the drive (error, drive is in use) ARRRGGGHHHHH!!!!!
f) Close the PAM (AHA!!)
g) Umount the drive. (Success) WOOOOOAAA, 'M THE NUMBER ONE Blum

steps c) to g) can be managed with the new button, and i'm sure about the user will be eternally thankful to developers, he only needs to push ONE buton to eject his drive now Smile

LittleUnkn0wn
Offline
Last seen: 1 year 4 months ago
Joined: 2006-11-02 11:09
Please

Search the forums. This has been mentioned several times.

ozbodd
Offline
Last seen: 16 years 1 week ago
Joined: 2007-02-22 15:12
Take a look

at this attempt of mine - Works fine for apps running off the pen drive - Just doesn't close pen drive files opened in external apps.

https://portableapps.com/node/7178

atactic
Offline
Last seen: 2 years 11 months ago
Joined: 2007-04-10 23:14
Feature suggestion (Close and Eject drive) - patience is good

I have found that I need ~ 10- 20 seconds for the Poratble Apps menu to completely close (something going on in the background) before I'm unable to eject my USB drive through 'Safely Remove Hardware' in Windows.

Atactic

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-01-10 19:25
The PAM Mod with the Vista

The PAM Mod with the Vista theme with eject would be a good idea. I personally recommend the PAM Mod over the official PAM.

"If a dog jumps in your lap, it is because he is fond of you; but if a cat does the same thing, it is because your lap is warmer."
Alfred North Whitehead

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Log in or register to post comments