Let "copy" copy the path+filename not only in browser mode

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
User avatar
larsen
Posts: 60
Joined: Thu Mar 20, 2008 10:07 am

Let "copy" copy the path+filename not only in browser mode

Post by larsen » Thu Aug 06, 2015 3:01 pm

It is already possible to copy path+filename of an image when the file is selected in browser mode, see. http://newsgroup.xnview.com/viewtopic.p ... 24#p114722
However, when an image is being shown in the view mode(?), there is a menu entry "Edit > Copy" just like in browser mode, but this doesn´t paste the path+filename in a text editor afterwards.

IMHO this should use the same copy function as in browser mode.

User avatar
xnview
Author of XnView
Posts: 31738
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Let "copy" copy the path+filename not only in browser mo

Post by xnview » Mon Aug 17, 2015 9:35 am

Edit>Copy in view mode copy the image not filepath
Pierre.

User avatar
larsen
Posts: 60
Joined: Thu Mar 20, 2008 10:07 am

Re: Let "copy" copy the path+filename not only in browser mo

Post by larsen » Mon Aug 17, 2015 9:41 am

Yes, but to keep it consistent it should work the same way as in browser mode: Copy filepath and image itself so the user can insert the filepath is a text editor and insert the image in a graphics program.

User avatar
xnview
Author of XnView
Posts: 31738
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Let "copy" copy the path+filename not only in browser mo

Post by xnview » Mon Aug 17, 2015 1:03 pm

larsen wrote:Yes, but to keep it consistent it should work the same way as in browser mode: Copy filepath and image itself so the user can insert the filepath is a text editor and insert the image in a graphics program.
Try by changing in xnview.ini

Code: Select all

CopyClipboard=2
Pierre.

User avatar
larsen
Posts: 60
Joined: Thu Mar 20, 2008 10:07 am

Re: Let "copy" copy the path+filename not only in browser mo

Post by larsen » Mon Aug 17, 2015 2:33 pm

I just noticed that the explanation from http://newsgroup.xnview.com/viewtopic.p ... 24#p114722 is not correct:
"When copying an image to the clipboard, XnView will copy the image in various formats to the clipboard: The image data will be copied as graphics and the pathname + filename with extension will be copied as text to the clipboard. When pasting to a text editor, the text format will be used for pasting."
In browser mode, "Edit > Copy" only copies the filename, not the image data. There is a menu entry "Copy image data" explicitly for that.

So, I don't understand why the menu works differently when in viewer mode. I haven' tried the ini setting as IMHO this should be the default behaviour. There is no sense in having a menu entry "copy" work differently

User avatar
xnview
Author of XnView
Posts: 31738
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Let "copy" copy the path+filename not only in browser mo

Post by xnview » Tue Aug 18, 2015 11:29 am

larsen wrote: So, I don't understand why the menu works differently when in viewer mode. I haven' tried the ini setting as IMHO this should be the default behaviour. There is no sense in having a menu entry "copy" work differently
right, but i don't remember why i've added a setting for view mode...
Pierre.

Post Reply