Comments (8)
2011-10-20 11:19:33: antoine commented
Added partial support for win32 in r241 (see commit message)
Still need to:
- add more transformation code for X11 atoms to strings and back
- maybe allow win32 user to choose which clipboard it shares with? ("PRIMARY" vs "SECONDARY" vs "CLIPBOARD"..)
OSX support is just really tedious, the GTK stuff does not work:
self.selection_owner_set(self._selection): Failed to acquire local clipboard CLIPBOARD; will not be able to pass local apps contents of remote clipboard
The apple pasteboards doc seems to have sync methods, but none that would call back to us whenever the clipboard's contents changes so we may have to poll it whenever we get a clipboard message from the server or when the application becomes (in)active. (via
NSApplicationWillResignActive
/NSApplicationDidBecomeActive
)
See PasteboardSynchronize and SetPromiseKeeper.
The only python code I can find that does anything remotely similar isclipboard/carbon.py
(now dead link) which uses pyglet.. not keen on adding yet-another-dependency, but may have to.
from xpra.
2011-10-20 11:19:33: totaam
from xpra.
2012-01-25 09:09:11: totaam commented
Note that there are already problems with the clipboard code and its nested main loop, see #52 and #8, and also:
xpra/platform/clipboard_base.py:232: GtkWarning: IA__gdk_x11_atom_to_xatom_for_display: assertion `ATOM_TO_INDEX (atom) < virtual_atom_array->len' failed gtk.Invisible.do_selection_request_event(self, event)
So it may be worth re-working the whole thing using deferred (ala twisted)
from xpra.
2012-08-04 14:31:33: antoine commented
Much improved support (support for gdk atoms on non-X11 platforms) in r1274
The fix for the
GtkWarning: IA__gdk_x11_atom_to_xatom_for_display
warning was already in 1230 + 1234Still some work needed on win32, testing on osx (what selections are available there?)
from xpra.
2012-08-04 19:17:03: antoine commented
- r1278 fixes keyboard targets for non-X11 systems
- r1279 allows win32 users to choose which remote keyboard to sync with via a nice UI menu
As for OSX... it doesn't look like GTK is going to get the fix anytime soon. So if we wanted to support it, we would need to write the code ourselves - yuk.
from xpra.
2013-04-18 17:59:53: totaam commented
Closing this outdated ticket:
from xpra.
2013-04-18 18:00:02: totaam changed resolution from ** to duplicate
from xpra.
2017-09-18 05:49:46: antoine
from xpra.
Related Issues (20)
- probe-error:not painted on screen HOT 5
- Unable to use (copilot) tab-completion in PyCharm HOT 1
- Something "very weird" happens, and the Session Info window cannot be click-drag-moved HOT 2
- Use more native file picker/save dialogs HOT 5
- run_scaled parsed is wrong making it impossible to use it as intended. HOT 2
- WinKey is not "pass through" HOT 1
- Copying 🥳 from Windows to Ubuntu works, from Ubuntu to Windows it gives `ð¥³` HOT 3
- switch to asyncssh
- send more than one clipboard target to greedy clients
- xpra client v6 can not attach to the v5 server HOT 2
- Server crash when using IntelliJ IDEA HOT 7
- Can't attach microsoft edge session locally. HOT 2
- clopboard copy returns python "byte" string HOT 3
- Failed to copy from linux to windows HOT 4
- Failed to connect to socket /tmp/dbus-gXpCRTJe1M: Connection refused HOT 7
- blank window in lxqt desktop when attach locally HOT 4
- "Server does not support speaker forwarding" when connected via SSH HOT 1
- Dithering artifacts with PNG 8 bit colour encoding HOT 7
- OpenGL Error on windows 11 in v6.0 client HOT 6
- Opening "Session Info" while "server is not responding, drawing spinners over the windows", can lead to timeout HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xpra.