Right click: Open Containing Folder

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, helmut, xnview

User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Right click: Open Containing Folder

Post by Troken »

Hi,

a very handy feature that (at least) I would use daily, and that I cant imagine would be hard to implement:

In the thumbnail pane, when right clicking, add "Open Containing Folder". Choosing this would open up a ordinary windows folder where the file is located - with the file selected. Easy and convienient, dont you think?

Idea came from Foobar 2000, very handy when you want to do an operation outside the program.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Right click: Open Containing Folder

Post by Dreamer »

Added in 1.97 beta 1, but I don't think it should be the first item in context menu. :|

Moved to "1.97 Testing - Feedback".
Dreamer
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Right click: Open Containing Folder

Post by xnview »

Dreamer wrote:Added in 1.97 beta 1, but I don't think it should be the first item in context menu. :|
Second?
Pierre.
User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Re: Right click: Open Containing Folder

Post by Troken »

I agree, should be 2nd–5th somewhere. But it works very nice.

And I guess that "Open containing folder" is better than "Open container folder". Any native english opinion?
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Right click: Open Containing Folder

Post by xnview »

Troken wrote: And I guess that "Open containing folder" is better than "Open container folder". Any native english opinion?
Or "open file location"?
Pierre.
User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Re: Right click: Open Containing Folder

Post by Troken »

xnview wrote:Or "open file location"?
Yes, why not?
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Right click: Open Containing Folder

Post by oops66 »

Or: Open Windows Explorer ?
XnViewMP Linux X64 - Debian - X64
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Right click: Open Containing Folder

Post by JohnFredC »

Some of us have redirected Explorer to another tool.

I vote for "Open containing folder"
John
User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Re: Right click: Open Containing Folder

Post by Troken »

oops66 wrote:Or: Open Windows Explorer ?
Well, is it called Windows Explorer in all Windows versions?
For consistensy with XnViewMP (if this will be added there too), I would not use that term.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Right click: Open Containing Folder

Post by oops66 »

In this case, why not only : "Explore" or "Explore in folder" ?
Last edited by oops66 on Wed Nov 04, 2009 2:03 pm, edited 1 time in total.
XnViewMP Linux X64 - Debian - X64
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Re: Right click: Open Containing Folder

Post by ckit »

It is possible to set other file managers like xplorer2 pro to open folders by default instead of Windows Explorer so I think it should stay as "Open Containing Folder"
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: Right click: Open Containing Folder

Post by ckv »

Currently "Open Containing Folder" is shown in the folder context menu too, but it doesn't do anything. I think "Open Containing Folder" should not be shown in the folder context menu.

This feature could be improved by using method supported by windows explorer. You can pass /select,"<filename>" command-line option to explorer.exe (Windows Explorer Command-Line Options) to open the containing folder . With this method the file you used to open the containing folder is also selected in opened folder.

Example:

Code: Select all

explorer.exe /select,"C:\somefolder\foo.bar"
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Right click: Open Containing Folder

Post by Dreamer »

xnview wrote:
Dreamer wrote:Added in 1.97 beta 1, but I don't think it should be the first item in context menu. :|
Second?
All other items are used to open the current file, this will open the current folder, so it should be placed below all "file" items:

open
open in fullscreen
open with
<here?>
open all selected
<or here, since "open all selected" is still to open file(s)>
Dreamer
User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Re: Right click: Open Containing Folder

Post by Troken »

Dreamer wrote:All other items are used to open the current file, this will open the current folder, so it should be placed below all "file" items:
open
open in fullscreen
open with
<here?>
open all selected
<or here, since "open all selected" is still to open file(s)>
Here is a screenshot from Foobar2000 as an inspiration. The item is placed almost last in the list.
Image
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Right click: Open Containing Folder

Post by Dreamer »

OK, changed in beta 2.

Closed.
Dreamer