You are here

[Closed] PortableApps opens Documents/Pictures/Videos etc folders incorrectly

5 posts / 0 new
Last post
JonPotter
Offline
Last seen: 12 years 3 weeks ago
Joined: 2012-03-07 15:54
[Closed] PortableApps opens Documents/Pictures/Videos etc folders incorrectly

PortableApps is opening folders like Documents, Music, Pictures, etc, in an incorrect way.

Not a major issue, but just thought I'd report it here in case one of the dev team want to address the problem (would take 5 seconds).

PortableApps is specifying the "open" verb when it calls ShellExecute(Ex) in response to a click on the Documents, Music, Pictures, etc. links.

This is incorrect (e.g. see http://blogs.msdn.com/b/oldnewthing/archive/2007/04/30/2332224.aspx) as the default verb may not, in fact, be "open". Particularly if the user has installed an Explorer replacement (or is running one portably), the default verb may be something else.

The correct behaviour is to specify NULL for the verb when calling ShellExecute(Ex). This results in the user's default action rather than specifically the "open" action.

Cheers,
Jon

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 36 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
By Design

This is by design as if the local PC has an Explorer replacement installed, we would not want that coming up. We want Explorer coming up. Or, in a future release, their portable Explorer replacement that they select. Make sense?

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

JonPotter
Offline
Last seen: 12 years 3 weeks ago
Joined: 2012-03-07 15:54
If a future release is going

If a future release is going to allow the user to specify an Explorer replacement then this would solve the problem, as I was mainly considering the case where you have a portable Explorer replacement running through PA, but clicking those links currently still brings up Explorer.

LeoDavidson
Offline
Last seen: 12 years 3 weeks ago
Joined: 2012-03-08 04:45
Thoughts

IMO, it makes most sense to do the same as you would for a web browser.

For example, if you select any of the links in the PortableApps Help menu, they open in the system's default web browser, not in Internet Explorer (unless it is the default, of course).

Forcing folders to open in Windows Explorer is like forcing web links to open in Internet Explorer, text files to open in Notepad, images in Windows Photo Viewer (or MSPaint), audio/video files to open in Media Player, and so on.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 36 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No System Defaults

In the platform, you'll be able to select an alternate for all the folders (like FreeCommander Portable or Explorer++ Portable). Windows Explorer will be the fallback from that.

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

Log in or register to post comments