Page 1 of 1

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

Posted: Thu Aug 06, 2015 3:01 pm
by larsen
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.

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

Posted: Mon Aug 17, 2015 9:35 am
by xnview
Edit>Copy in view mode copy the image not filepath

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

Posted: Mon Aug 17, 2015 9:41 am
by larsen
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.

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

Posted: Mon Aug 17, 2015 1:03 pm
by xnview
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

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

Posted: Mon Aug 17, 2015 2:33 pm
by larsen
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

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

Posted: Tue Aug 18, 2015 11:29 am
by xnview
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...