XnViewMP 1.6.3 and Windows 10
Steps to reproduce:
1. Open any image in viewer mode and select part of it, like this:
2. Press Ctrl+C or "Edit -> Copy"
3. Open Windows Paint and press Ctrl+V or click Paste, notice that it pasted correctly only that selected fragment.
4. Open https://evercoder.github.io/clipboard-inspector/ and try pasting it there. Notice that it pasted the whole image instead.
The same broken result can be achieved in Discord app when you try to paste it in conversation window, it pastes whole image instead of that fragment.
Using Clipview from http://www.peterbuettner.de/develop/tools/clipview/ you can see that XnViewMP copies some weird data do clipboard. For example, here's some image fragment copied to clipboard from IrfanView
And here's from XnViewMP
Copying part of image is buggy
Moderators: helmut, XnTriq, xnview, Dreamer
Re: Copying part of image is buggy
Found a better software to see clipboard data:
https://www.nirsoft.net/utils/inside_clipboard.html
You can clearly see that there are multiple copy of that image in different formats
https://www.nirsoft.net/utils/inside_clipboard.html
You can clearly see that there are multiple copy of that image in different formats
Re: Copying part of image is buggy
Confirmed for XnView MP v1.6.3 on Windows 10 Pro 22H2 (64-bit) and these web browsers:dexter86 wrote: Tue Dec 26, 2023 10:40 amThe same broken result can be achieved in Discord app when you try to paste it in conversation window, it pastes whole image instead of that fragment.
- Brave v1.61.109
- Thorium v117.0.5938.157 portable
- Missing features (compared to XnView Classic)
- Pasting a selection into other programs works differently in XnView MP
- Copy and paste selection issues in image view, clipboard is to blame?
- Keep ratio on paste
- 0.94.2 Clipboard glitch (Essential) still there
- Paste Outside enhancement
- Pasting images into image search engines (Classic)
- How to copy the picture to powerpoint?
XnTriq wrote: Tue Jul 22, 2014 5:30 pmFreeware for analyzing clipboard content:
- Peter Johnson: Clipboard Format Spy
- Nir Sofer: InsideClipboard
- Jim Barry: Clipboard Spy (Softpedia)
- Karen Kenworthy †: Clipboard Viewer
- Comfort Software: Free Clipboard Viewer
Re: Copying part of image is buggy
They are right. If I close XnViewMP after copying fragment, then only this is left in clipboard
Re: Copying part of image is buggy
Edit → Copy to clipboard → Image content (Ctrl+Shift+C) does the trick!
Re: Copying part of image is buggy
the problem is - 'Image content' shall be copied via CTRL+C command (see other apps)XnTriq wrote: Tue Dec 26, 2023 3:20 pm Edit → Copy to clipboard → Image content (Ctrl+Shift+C) does the trick!
SHIFT+CTRL+C shall be the advanced one with whatever additional stuff
so far only Nomacs has similar strange behavior
also, not sure why CF_DIB/CF_DIBV5 have more data once xnviewmp is closed..
Last edited by user0 on Thu Feb 13, 2025 6:48 am, edited 1 time in total.
Re: Copying part of image is buggy
Ctrl+C should behave in the same manner as IrfanView, that is it should only copy selected fragment and that's it. Every other software behave that way, it's only XnViewMP that does it in this weird way.
Re: Copying part of image is buggy
I'd also prefer standard behavior.user0 wrote: Tue Dec 26, 2023 3:57 pmthe problem is - 'Image content' shall be copied via CTRL+C command (see other apps)
SHIFT+CTRL+C shall be the advanced one with whatever additional stuff
-
- Posts: 3
- Joined: Thu May 15, 2025 3:42 pm
Re: Copying part of image is buggy
Related issue:dexter86 wrote: Tue Dec 26, 2023 10:40 am Steps to reproduce:
1. Open any image in viewer mode and select part of it, like this:
2. Press Ctrl+C or "Edit -> Copy"
3. Open Windows Paint and press Ctrl+V or click Paste, notice that it pasted correctly only that selected fragment.
4. Open https://evercoder.github.io/clipboard-inspector/ and try pasting it there. Notice that it pasted the whole image instead.
viewtopic.php?t=49064