Copy & Paste PNG picture to other programs not working

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
s0lution
Posts: 4
Joined: Fri Nov 16, 2012 6:18 pm

Copy & Paste PNG picture to other programs not working

Post by s0lution » Thu Jul 19, 2018 11:49 am

I want to copy the current shown PNG picture from XnView to Outlook. I do select all, than copy. But pasting into Outlook or LibreOffice for example doesn't work. Nothing happens. I'm using the newest version of XnView Classic, Windows 10,Office 2016, LibreOffice 6. I've also tested it with JPG and it's working.

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

Re: Copy & Paste PNG picture to other programs not working

Post by xnview » Sat Aug 04, 2018 9:22 am

i've tried with a png, and it works with LibreOffice
Pierre.

esszett
Posts: 3
Joined: Mon Sep 24, 2018 10:53 am

Re: Copy & Paste PNG picture to other programs not working

Post by esszett » Mon Sep 24, 2018 11:27 am

I totally agree, the copy paste behaviour (within the picture view) in 2.45 is buggy. Sometimes it is possible to copy with ctrl-c and and paste it in any other program and sometimes it behaves as if nothing is in the clipboard (90%).

I´ve learned (also from many other complains in the forum):
1. only 32bit-bitmaps behave strange (24bit is no problem)
2. pasting within XNview (via edit/paste as new image) is working
3. pasting in Photoshop is also working
4. pasting in any other program (Word, Outlook, Corel, even Fireworks where all my 32bit-PNGs come from) is not working. Some programs show error "the data format is not available".
(4b. sometime same images works)
5. the often mentioned ctrl-shift-c is also not working (I still don´t understand why this strange key code is introduced)
6. All other pictureviewer are able to copy 32bit picture from the picture view

Devs, please fix this simple bug. I need it very often.

esszett
Posts: 3
Joined: Mon Sep 24, 2018 10:53 am

Re: Copy & Paste PNG picture to other programs not working

Post by esszett » Mon Nov 05, 2018 2:15 pm

Bug still in 2.46 :(

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

Re: Copy & Paste PNG picture to other programs not working

Post by xnview » Fri Nov 09, 2018 12:20 pm

in xnview.ini, do you have CopyClipboard=0

Ctrl+Shift+C in browser copy only image data, does it work?
Pierre.

esszett
Posts: 3
Joined: Mon Sep 24, 2018 10:53 am

Re: Copy & Paste PNG picture to other programs not working

Post by esszett » Mon Nov 12, 2018 8:43 am

I tested it again with several programs. The behaviour is very strange as the result differs. As mentioned before it is only working with Photoshop with "ctrl+c" and default ini-entry: "CopyClipboard=0" and 32bit pictures.
Ctrl+Shift+C is never working.
Word allows pasting if "ctrl-c" but only from browse view and not from picture view.

Turning "CopyClipboard" to 1 makes it even worst as 24bit is also not working. Photoshop & Gimp does not paste anything, Fireworks pastes the path-string. Only Word works with "ctrl-c".
Why not having it always the same??? Xnview is a picture viewer and why can´t it copy pictures?

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

Re: Copy & Paste PNG picture to other programs not working

Post by xnview » Tue Nov 13, 2018 12:15 pm

In Browser, if you copy a 32bits PNG, it will be loaded as 24bits, so Ctrl+C works always

Sorry but the problem is not with CopyClipboard (keep CopyClipboard=0)

But [Start] ClipboardNewMethod=0

It seems that some apps don't like the new clipboard format...
Pierre.

Post Reply