Paste from clipboard fails

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

Moderators: XnTriq, helmut, xnview

StellarTodd
Posts: 4
Joined: Tue Feb 04, 2025 5:14 pm

Paste from clipboard fails

Post by StellarTodd »

I can cut and paste most images out of XnView Classic; however, the attached image does not work.

Open the attached image and try to copy and paste it into another application.
Noting happens in MS Word, but when I paste into RocketChat I get a pop-up that says "File Empty" which could be a clue to what is wrong here.

This happened using version 2.51 so I updated to version 2.52 but the bug persisted.
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4243
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Cut and Paste issue

Post by cday »

Your clipboard image isn't reproducing usefully, I'm not immediately sure why if it was cropped from a screenshot, although small it should at least be sharp...
StellarTodd
Posts: 4
Joined: Tue Feb 04, 2025 5:14 pm

Re: Cut and Paste issue

Post by StellarTodd »

Whether the text in the image is sharp or not is immaterial to this bug. Here is an all white image with the same cut and paste issue.
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4243
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Cut and Paste issue

Post by cday »

If I am following your instructions correctly, I'm not entirely sure, it displays correctly in XnView MP and pastes onto a blue background in Libre Office Writer:

Screenshot from 2025-02-10 18-41-57.png
You do not have the required permissions to view the files attached to this post.
StellarTodd
Posts: 4
Joined: Tue Feb 04, 2025 5:14 pm

Re: Cut and Paste issue

Post by StellarTodd »

Maybe the bug does not exist in XnView MP.
Maybe it is a Windows only bug.
Opening either of the provided images in XnView Classic, coping the image, then pasting fails for me in the following applications:
MS Word
Rocket Chat
MS Paint
Google Docs (Running in Chrome)
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4243
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Cut and Paste issue

Post by cday »

Right, I wasn't pasting from the clipboard... :(

And I am as stated using XnView MP, you should possibly consider installing that anyway, alongside XnView Classic if you wish, but the same issue might also arise there. Pierre, with his present high workload, is more likely to fix an issue in 'MP than in XnView Classic.

If you do experience the same issue, it would be best to post a separate bug report with clear steps to reproduce in the 'XnView MP Bug Reports' section of the forum with the same [now edited] title... :D
cday
XnThusiast
Posts: 4243
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Cut and Paste issue

Post by cday »

cday wrote: Wed Feb 12, 2025 9:16 pm Right, I wasn't pasting from the clipboard... :(

And I am as stated using XnView MP, you should possibly consider installing that anyway, alongside XnView Classic if you wish, but the same issue might also arise there. Pierre, with his present high workload, is more likely to fix an issue in 'MP than in XnView Classic.

If you do experience the same issue, it would be best to post a separate bug report with clear steps to reproduce in the 'XnView MP Bug Reports' section of the forum with the same [now edited] title... :D
Edit:

Selecting an image open in XnView MP, copying it to the clipboard, then pasting it into Libre Office Writer does seem to work.
User avatar
user0
XnThusiast
Posts: 2128
Joined: Sat May 09, 2015 9:37 am

Re: Paste from clipboard fails

Post by user0 »

StellarTodd
Posts: 4
Joined: Tue Feb 04, 2025 5:14 pm

Re: Cut and Paste issue

Post by StellarTodd »

cday wrote: Wed Feb 12, 2025 9:16 pm And I am as stated using XnView MP
Why? This is an XnView Classic bug posted in a Classic bug report.
cday
XnThusiast
Posts: 4243
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Paste from clipboard fails

Post by cday »

I am in Linux and can't easily run XnView Classic now... :wink: