Crash When copy to clipboard

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Flandre Scarlet
Posts: 5
Joined: Fri May 18, 2012 3:42 pm

Crash When copy to clipboard

Post by Flandre Scarlet »

When i use the 0.39 version , The copy command is not work.
I'm open an image and make a selection and copy it.
but it will copy the All image , I just want to Copy the selection.

So i test the new version 0.49beta(May 17 2012)
I do the same things
But it's not work ..and ...Crash!
i think this is a Bug.

PS. Open the XnViewMP and goto the windows explorer to copy something like some files or some text
the XnViewMP will Crash. So i think maybe some problems to read Clipboard .

(Win7 X64)
Flandre Scarlet
Posts: 5
Joined: Fri May 18, 2012 3:42 pm

Re: Crash When copy to clipboard

Post by Flandre Scarlet »

I Made some tests

it is not Crash now, But still not work.

make a selection and copy.
Only .png file is work. Jpg or Gif or other image format is not work .
jpg or gif file will copy all the image not the selection.

But the "Copy to clipboard" -> "Image data" (Ctrl + Shift + C) looks like work.
The Copy command (Ctrl + C) just worked on png file With a selection.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash When copy to clipboard

Post by xnview »

Flandre Scarlet wrote: make a selection and copy.
Only .png file is work. Jpg or Gif or other image format is not work .
jpg or gif file will copy all the image not the selection.
Selection of files in the xnview browser?
And you paste where?
Pierre.
Flandre Scarlet
Posts: 5
Joined: Fri May 18, 2012 3:42 pm

Re: Crash When copy to clipboard

Post by Flandre Scarlet »

20120526002349.png
20120526002349.png (91.47 KiB) Viewed 2232 times
Like This !

i just want to copy the eyes
and paste to photoshop or other where.

but Ctrl+C will copy the entire image not the selection
png file will work
jpg not work
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash When copy to clipboard

Post by xnview »

Flandre Scarlet wrote: but Ctrl+C will copy the entire image not the selection
png file will work
jpg not work
It works for me, and strange, the code is the same for all file format...
Pierre.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Crash When copy to clipboard

Post by budz45 »

Perhaps a compatibility issue with another XnViewMP setting is causing this issue

Florian, try doing your selections with a 'clean' xnview.ini file and then report if you have the same problem.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
Flandre Scarlet
Posts: 5
Joined: Fri May 18, 2012 3:42 pm

Re: Crash When copy to clipboard

Post by Flandre Scarlet »

I Clean the XnView.ini
But still not work.

ok, photoshop is work fine.. just not work for my IM software...
But some format is work perfect. and Ctrl+Shift+C is work for all format.
The Ctrl+C and Ctrl+Shift+C has same code ? It is strange...
and Xnview does not have this problem. Just Mp have

and XnviewMP is used Unicode?
I see some Asian Character is transform to \x00xx in Xnview.ini
for example:
PathBrowser=C:/Users/Flandre Scarlet/\x30de\x30a4 \x30d4\x30af\x30c1\x30e3/
This is normal ?
And thank you for your attention.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash When copy to clipboard

Post by xnview »

Flandre Scarlet wrote: But some format is work perfect. and Ctrl+Shift+C is work for all format.
The Ctrl+C and Ctrl+Shift+C has same code ? It is strange...
It works with Ctrl+C and not with Ctrl+Shift+C??
I see some Asian Character is transform to \x00xx in Xnview.ini
for example:
PathBrowser=C:/Users/Flandre Scarlet/\x30de\x30a4 \x30d4\x30af\x30c1\x30e3/
This is normal ?
Yes i think
Pierre.
Flandre Scarlet
Posts: 5
Joined: Fri May 18, 2012 3:42 pm

Re: Crash When copy to clipboard

Post by Flandre Scarlet »

xnview wrote: It works with Ctrl+C and not with Ctrl+Shift+C??
Ctrl+Shift+C is Work.

Ctrl+C just work for some Format.
i tested PSD, Png, tif is work to copy the selection.
Jpg, Gif, Bmp will copy the entire image not selection.
Tga, dds, iff copy nothing.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash When copy to clipboard

Post by xnview »

Ctrl+C: Copy image data rect + filename
Ctrl+Shift+C: Copy only image data rect

So i think that some software don't use image data but filename
Pierre.
Post Reply