0.84: Copy Image does not work!

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

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

0.84: Copy Image does not work!

Post by m.Th. » Thu Jan 26, 2017 9:17 am

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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -


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

Re: 0.84: Copy Image does not work!

Post by m.Th. » Fri Jan 27, 2017 8:36 am

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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Copy Image does not work!

Post by helmut » Wed Mar 08, 2017 12:42 pm

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: 1530
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.84: Copy Image does not work!

Post by m.Th. » Wed Mar 08, 2017 3:52 pm

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

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Copy Image does not work!

Post by helmut » Wed Mar 08, 2017 4:05 pm

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: 1530
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.84: Copy Image does not work!

Post by m.Th. » Thu Mar 09, 2017 5:54 am

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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

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

Re: 0.84: Copy Image does not work!

Post by xnview » Thu Mar 09, 2017 3:15 pm

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: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Copy Image does not work!

Post by helmut » Thu Mar 09, 2017 5:16 pm

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: 31255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Copy Image does not work!

Post by xnview » Sat Jun 17, 2017 5:00 pm

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: 31255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Copy Image does not work!

Post by xnview » Sat Jul 08, 2017 12:56 pm

This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.

HanVroon
Posts: 211
Joined: Thu Jan 28, 2010 7:30 am

Re: 0.84: Copy Image does not work!

Post by HanVroon » Fri Aug 04, 2017 10:16 am

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 » Tue Sep 19, 2017 5:12 am

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