Pasting a selection into other programs works differently in XnView MP

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

TimKraft
Posts: 3
Joined: Mon May 17, 2021 9:28 am

Re: Pasting a selection into other programs works differently in XnView MP

Post by TimKraft »

xnview, thank you for that amazing program!

I also have an issue with clipboard - can't paste selection nowhere (except Krita).

An example with Skype 8.71.0.49.
Image
https://ibb.co/GcWxXjD

Another example with Gimp 2.10.14
Image
https://ibb.co/vZVmpff

I'm using Window 10 Pro
XnView MP Version 0.98.3 64bits (May 6 2021)
TimKraft
Posts: 3
Joined: Mon May 17, 2021 9:28 am

Re: Pasting a selection into other programs works differently in XnView MP

Post by TimKraft »

xnview wrote: Sat Apr 10, 2021 5:54 am It works if you use 'Copy to clipboard>Image'?
Ctrk+Shift+C
It works with Sjype, but not with Gimp :(
User avatar
xnview
Author of XnView
Posts: 44461
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Pasting a selection into other programs works differently in XnView MP

Post by xnview »

TimKraft wrote: Mon May 17, 2021 10:32 am
xnview wrote: Sat Apr 10, 2021 5:54 am It works if you use 'Copy to clipboard>Image'?
Ctrk+Shift+C
It works with Sjype, but not with Gimp :(
it works here with Gimp
Pierre.
TimKraft
Posts: 3
Joined: Mon May 17, 2021 9:28 am

Re: Pasting a selection into other programs works differently in XnView MP

Post by TimKraft »

xnview wrote: Tue May 18, 2021 12:39 pm it works here with Gimp
Indeed, it works now - GIMP 2.10.24
Thank you!
arngard
Posts: 1
Joined: Thu May 04, 2023 1:25 am

Re: Pasting a selection into other programs works differently in XnView MP

Post by arngard »

A lot of time has passed and I'm still suffering from this problem. I think I've figured out what the problem is. You should have paid attention to the last point about flushing the clipboard buffer. My guess is that the MP version does not complete the output stream when it saves an image to the clipboard. The problem people are pointing out in this thread happens when this case:

1. Select the cropped area in the MP version.
2. Ctrl+C.
3. Ctrl+V to Discord or Twitter.

However, if you quit MP after copying, the stream completes and you have a right image in the clipboard, and then when you paste it, you can paste the cropped image as intended.

1. Select the cropped area in the MP version.
2. Ctrl+C.
3. Exit the MP version.
4. Ctrl+V to Discord or Twitter.
m_seitzz
Posts: 7
Joined: Sun Jan 13, 2019 1:01 pm

Re: Pasting a selection into other programs works differently in XnView MP

Post by m_seitzz »

Just wanted to confirm arngard's observation. After copying image data (in the browser or the viewer), I can only successfully paste the image data into Gimp after closing XnView MP.

I tested with XnView MP v1.7.2 x64 and Gimp 2.10.38

I also changed "Copy to clipboard > Image" to CTRL+c and think it should be default like in any other program. XnView is an image viewer after all, so why not copy image data with the universally known CTRL+c by default?
Last edited by m_seitzz on Wed Jul 17, 2024 1:46 pm, edited 1 time in total.
User avatar
user0
XnThusiast
Posts: 1845
Joined: Sat May 09, 2015 9:37 am

Re: Pasting a selection into other programs works differently in XnView MP

Post by user0 »

related
Copying part of image is buggy
and many more..
XnTriq wrote: Tue Dec 26, 2023 6:30 pm
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
I'd also prefer standard behavior.