0.84: Copy Image does not work!

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

0.84: Copy Image does not work!

Post by m.Th. »

We cannot copy the image to clipboard and paste it to any other program (eg. Word).

Steps:

1. Double-click on an image to open in a new Tab
2. Edit | Copy
3. Switch to Word / Outlook
4. Edit | Paste

Expected: The image should appear in the target program
Actual: The file appears as an OLE package (IF exists) or an error message appear, if the image does not exist - for example, if we do a screenshot.
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.84: Copy Image does not work!

Post by m.Th. »

Thanks! :)

YAGMX (Yet Another GUI Mess of XnView...)

Boy... Someone should definitely rename 'Copy' to 'Copy file' - it will help a lot (users won't leave, users will be happier, users will not waste time to post here... 8) )
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Copy Image does not work!

Post by helmut »

I'd expect:
In Browser: "Edit » Copy" copies the selected file(s)
In Viewer: "Edit » Copy" copies the image's (selected) contents.

Is there something to do/fix? Can this bug report be closed?
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.84: Copy Image does not work!

Post by m.Th. »

In Viewer: "Edit » Copy" copies the image's (selected) contents.
This does NOT work. See my original post.
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Copy Image does not work!

Post by helmut »

m.Th. wrote:
In Viewer: "Edit » Copy" copies the image's (selected) contents.
This does NOT work. See my original post.
Thank you for your fast response.

Actual behaviour: Viewer: "Edit » Copy" copies file to clipboard. :bug:
Expected behaviour: Viewer: "Edit » Copy" copies image's contents to clipboard

Consequences:
- New menu "Edit » Copy to Clipbard » File" is needed.
- Menu "Edit » Copy to Clipbard » Image data" is no longer needed because there is "Edit » Copy"
Note:
This can be fixed by simply swapping functions behind "Edit » Copy" and "Edit » Copy to Clipboard » Image data" and renaming menu item "Image data" to "File".

:arrow: Reproduced
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.84: Copy Image does not work!

Post by m.Th. »

This can be fixed by simply swapping functions behind "Edit » Copy" and "Edit » Copy to Clipboard » Image data" and renaming menu item "Image data" to "File".
Hallelujah! Finally!

Oh wait...

not implemented yet.
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Copy Image does not work!

Post by xnview »

helmut wrote: This can be fixed by simply swapping functions behind "Edit » Copy" and "Edit » Copy to Clipboard » Image data" and renaming menu item "Image data" to "File".
I don't understand, 'Edit>Copy' copy image in clipboard (with filename), where is the problem?
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Copy Image does not work!

Post by helmut »

xnview wrote:
helmut wrote: This can be fixed by simply swapping functions behind "Edit » Copy" and "Edit » Copy to Clipboard » Image data" and renaming menu item "Image data" to "File".
I don't understand, 'Edit>Copy' copy image in clipboard (with filename), where is the problem?
The problem is that in Viewer (view mode), Edit » Copy doesn't copy just the image data but several things to the clipboard at the same time using various types:
1. Path + Filename (Text)
2. Path + Filename (Unicode text)
3. Image data (Bitmap)
4. File (File)

When pasting the clipboard into Word for Windows for example, this causes the reported problems. Therefore it's better that Edit » Copy in Viewer (view mode) copies the image data to the clipboard, only, just like Edit » Copy to Clipboard » Image data currently does.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Copy Image does not work!

Post by xnview »

O.k., thank you, I can also reproduce the problem. Issue 1242 is fixed in next version.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Copy Image does not work!

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.
HanVroon
Posts: 216
Joined: Thu Jan 28, 2010 7:30 am

Re: 0.84: Copy Image does not work!

Post by HanVroon »

Tested with 0.87 beta 2, fixed.

Test procedure:
Could not reproduce with Word, so used Outlook.

0.86:
View mode, Edit, Copy : copies the file as attachment. (wrong)
View mode, Edit, Copy to clipboard, Image data: copies the image in the body. (right)
Extra test: screen capture in View mode (so not a file): Edit, Copy : message Cannot find file. (wrong)

0.87 beta 2:
View mode, Edit, Copy : copies the image in the body. (right)
View mode, Edit, Copy to clipboard, Image data: copies the image in the body. (right)
Extra test: screen capture in View mode (so not a file): Edit, Copy : copies the image in the body. (right)
bdragon
Posts: 108
Joined: Mon May 01, 2017 8:06 am

Re: 0.84: Copy Image does not work!

Post by bdragon »

It just happened to me and i'm currently using 0.87 definitive.

I select a portion of the image, in the "edit" menu the "copy" command is grayed out and right click does not produce a "copy" command. [CTRL]+[C] does not copy anything.
Post Reply