Clipboard Syncing (does wine sync images or files)?
Clipboard Syncing (does wine sync images or files)?
I am running on a Mac and the clipboard seems to work in my program on text just fine. The problem is when I copy an image to the clipboard it doesn't seem to copy.
If I copy an image to the clipboard then I try to paste it I get what was on the clipboard previously (text).
Does wine not support syncing images or files to the clipboard (besides text)?
Any workaround to this?
If I copy an image to the clipboard then I try to paste it I get what was on the clipboard previously (text).
Does wine not support syncing images or files to the clipboard (besides text)?
Any workaround to this?
-
- Level 5
- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
Clipboard using Wine on Mac + X11 is a big problem. On Linux + X11 the clipboard typically works fine. Copying images also works fine (provided the Linux app supports the image formats the Windows program puts on the clipboard). Some formats like Windows metafiles aren't so common in Linux apps.
The main issue on Macs is that there are '3' clipboards namely the Wine one, the X11 one (the Wine and X11 are 'synced') and then the Mac one. At the time I looked at it the main issue was with the Mac - X11 clipboard syncing (the Mac clipboard itself seems to be quite basic).
First try to get text copying work which is already painful enough (I think I had to disable some settings in X11 to make it sort of work a bit).
The main issue on Macs is that there are '3' clipboards namely the Wine one, the X11 one (the Wine and X11 are 'synced') and then the Mac one. At the time I looked at it the main issue was with the Mac - X11 clipboard syncing (the Mac clipboard itself seems to be quite basic).
First try to get text copying work which is already painful enough (I think I had to disable some settings in X11 to make it sort of work a bit).
Clipboard Syncing (does wine sync images or files)?
DanDude wrote:
Wine working (and that is a long way off.) Otherwise, Mac Users might
have to use a different program to get the copy to work and then over to
Wine.
I'll have to look at this or maybe doh123 can try to figure out what
needs to be done.
James McKenzie
Known issue with Macs. Another reason to get a Aqua native version ofI am running on a Mac and the clipboard seems to work in my program on text just fine. The problem is when I copy an image to the clipboard it doesn't seem to copy.
Wine working (and that is a long way off.) Otherwise, Mac Users might
have to use a different program to get the copy to work and then over to
Wine.
I'll have to look at this or maybe doh123 can try to figure out what
needs to be done.
James McKenzie
Re: Clipboard Syncing (does wine sync images or files)?
Is this a Wine issue? I've never tried copy and pasting anything but text in Wine... not sure I have any apps to run in Wine to easily test pictures. Xquartz itself should sync the pasteboard and clipboard if the options are set right in preferences and work fine. Gimp running in Xquartz for me is copy and pasting pictures fine.. in and out of X11.James McKenzie wrote: I'll have to look at this or maybe doh123 can try to figure out what
needs to be done.
James McKenzie
Make sure you have Xquartz 2.5.3 (latest release) and that you have its preferences under Pasteboard to enable syncing and all the options checked. Theoretically it should work with Wine just fine...
Clipboard Syncing (does wine sync images or files)?
doh123 wrote:
switch to GIMP and try and paste it. If this works, then we can use
GIMP to be the intermediary program to get it to Wine. OpenOffice.org
had this problem until it was switched from an X11 interface to AQUA.
That took three years on the second attempt. NeoOffice.og was the first
and it took seven.
of X11, not MacPorts/XQuartz.
James McKenzie
Try copying a file from a MacOSX program that contains an image. ThenJames McKenzie wrote:
Is this a Wine issue? I've never tried copy and pasting anything but text in Wine... not sure I have any apps to run in Wine to easily test pictures. Xquartz itself should sync the pasteboard and clipboard if the options are set right in preferences and work fine. Gimp running in Xquartz for me is copy and pasting pictures fine.. in and out of X11.I'll have to look at this or maybe doh123 can try to figure out what
needs to be done.
James McKenzie
switch to GIMP and try and paste it. If this works, then we can use
GIMP to be the intermediary program to get it to Wine. OpenOffice.org
had this problem until it was switched from an X11 interface to AQUA.
That took three years on the second attempt. NeoOffice.og was the first
and it took seven.
It should. But we have to assume that folks are using MacOSX versionsMake sure you have Xquartz 2.5.3 (latest release) and that you have its preferences under Pasteboard to enable syncing and all the options checked. Theoretically it should work with Wine just fine...
of X11, not MacPorts/XQuartz.
James McKenzie
Re: Clipboard Syncing (does wine sync images or files)?
Thats what I did... I can copy and paste just fine between GIMP in X11 and Pages and TextEdit.... back and forthJames McKenzie wrote:Try copying a file from a MacOSX program that contains an image. Then
switch to GIMP and try and paste it. If this works, then we can use
GIMP to be the intermediary program to get it to Wine. OpenOffice.org
had this problem until it was switched from an X11 interface to AQUA.
That took three years on the second attempt. NeoOffice.og was the first
and it took seven.
It should. But we have to assume that folks are using MacOSX versions
of X11, not MacPorts/XQuartz.
No one should be using Wine with Apple's X11. If they are, they should be told to get Xquartz just like people running old versions of Wine are told to get the latest version. Since 10.6, a normal Xquartz install wont replace Apple's version anymore, you can have both.... so Apple updates and such don't break it like in 10.5.
Clipboard Syncing (does wine sync images or files)?
doh123 wrote:
broken X11 and that they don't have enough experience or fortitude to
want to upgrade to XQuartz. Remember one of the selling points for Macs
is "It works, out of the box". Until the code is moved to Apple's X11
that's what we have to deal with.
As far as your test, did you move images, text or both?
James McKenzie
I agree with the X11 comment, but WE have to ASSUME they are using theJames McKenzie wrote:
Thats what I did... I can copy and paste just fine between GIMP in X11 and Pages and TextEdit.... back and forthTry copying a file from a MacOSX program that contains an image. Then
switch to GIMP and try and paste it. If this works, then we can use
GIMP to be the intermediary program to get it to Wine. OpenOffice.org
had this problem until it was switched from an X11 interface to AQUA.
That took three years on the second attempt. NeoOffice.og was the first
and it took seven.
It should. But we have to assume that folks are using MacOSX versions
of X11, not MacPorts/XQuartz.
No one should be using Wine with Apple's X11. If they are, they should be told to get Xquartz just like people running old versions of Wine are told to get the latest version. Since 10.6, a normal Xquartz install wont replace Apple's version anymore, you can have both.... so Apple updates and such don't break it like in 10.5.
broken X11 and that they don't have enough experience or fortitude to
want to upgrade to XQuartz. Remember one of the selling points for Macs
is "It works, out of the box". Until the code is moved to Apple's X11
that's what we have to deal with.
As far as your test, did you move images, text or both?
James McKenzie
-
- Level 4
- Posts: 149
- Joined: Mon Jun 02, 2008 5:03 pm
Clipboard Syncing (does wine sync images or files)?
On Sun, Aug 29, 2010 at 3:28 AM, doh123 <[email protected]> wrote:
format. This is rather unusual, and it could explain discrepancies
between Wine and other X11 applications.
Wine can only export and import images in the PIXMAP or image/bmpIs this a Wine issue? I've never tried copy and pasting anything but text in Wine... not sure I have any apps to run in Wine to easily test pictures. Xquartz itself should sync the pasteboard and clipboard if the options are set right in preferences and work fine. Gimp running in Xquartz for me is copy and pasting pictures fine.. in and out of X11.
Make sure you have Xquartz 2.5.3 (latest release) and that you have its preferences under Pasteboard to enable syncing and all the options checked. Theoretically it should work with Wine just fine...
format. This is rather unusual, and it could explain discrepancies
between Wine and other X11 applications.
Re: Clipboard Syncing (does wine sync images or files)?
thats one of the many reasons I build Xquartz into Wineskin and don't use any X11 off the machine... but I think anyone willing to Install and use Wine can use Xquartz... its just a normal point and click Apple pkg installer.James McKenzie wrote:I agree with the X11 comment, but WE have to ASSUME they are using the
broken X11 and that they don't have enough experience or fortitude to
want to upgrade to XQuartz. Remember one of the selling points for Macs
is "It works, out of the box". Until the code is moved to Apple's X11
that's what we have to deal with.
As far as your test, did you move images, text or both?
James McKenzie
I can copy and paste pictures and text both, yes.
Clipboard Syncing (does wine sync images or files)?
doh123 wrote:
James McKenzie
Thank you. Please contact me off the list/forum for other comments.James McKenzie wrote:
thats one of the many reasons I build Xquartz into Wineskin and don't use any X11 off the machine... but I think anyone willing to Install and use Wine can use Xquartz... its just a normal point and click Apple pkg installer.I agree with the X11 comment, but WE have to ASSUME they are using the
broken X11 and that they don't have enough experience or fortitude to
want to upgrade to XQuartz. Remember one of the selling points for Macs
is "It works, out of the box". Until the code is moved to Apple's X11
that's what we have to deal with.
As far as your test, did you move images, text or both?
James McKenzie
I can copy and paste pictures and text both, yes.
James McKenzie
This is a problem with an application I develop, so I can't expect users to upgrade their X11 or do complicated stuff. I packaged Wine and everything into a nice little bundle so it's easy.
If I have them install and config a ton of stuff nobody will ever use it. I'm running the latest updates on 10.6 and I can't get images to sync so i'm pretty sure that the funcationaly isn't in the OS X X11 yet. Maybe when it gets updated I'll get the functionality but until then I'll just have to disable it on the Mac bundle.
If I have them install and config a ton of stuff nobody will ever use it. I'm running the latest updates on 10.6 and I can't get images to sync so i'm pretty sure that the funcationaly isn't in the OS X X11 yet. Maybe when it gets updated I'll get the functionality but until then I'll just have to disable it on the Mac bundle.
I've taken some of the work out of it if you want a full package...DanDude wrote:This is a problem with an application I develop, so I can't expect users to upgrade their X11 or do complicated stuff. I packaged Wine and everything into a nice little bundle so it's easy.
If I have them install and config a ton of stuff nobody will ever use it. I'm running the latest updates on 10.6 and I can't get images to sync so i'm pretty sure that the funcationaly isn't in the OS X X11 yet. Maybe when it gets updated I'll get the functionality but until then I'll just have to disable it on the Mac bundle.
Wineskin i started just for that reason... using Wine to take a Windows app and make a Mac app out of it... it bundles up everything needed including Xquartz... it doesn't uses the systems install of it. I can help you some with it if you need.. I know there are a few mainly user friendly and confusing issues.. I'm currently working on redesigning a lot for Wineskin 2.0 I hope to start open beta testing in the next month or two. I release all my code in LGPL so you shouldn't have any legal issues using it.