-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Both wl-copy and wl-paste hang in SailfishOS #85
Comments
Hi!
You understood README correctly, only wayland-client should be mandatory (as you can see, the configuration stage didn't fail — it would if you were missing a required dependency). And yes, I intend to support ancient versions of Wayland.
Now that is the real bug. Please get me the |
Thanks for your fast answer! Here are the debug logs (I had to interrupt at the end):
The compositor in Sailfish is Lipstick, but it's a mobile OS so I'm not sure it can be built/installed easily on a desktop distribution (I'm not a developer and might just be wrong, sorry). However, there is a Sailfish SDK that runs through Virtualbox: https://sailfishos.org/wiki/Application_SDK_Installation/. Mayve this could help? |
Looking at the log, it it's clear that the compositor (Lipstick) doesn't give newly opened windows focus by default. This means wl-clipboard cannot do its focus stealing hack. The proper solution for this is for Lipstick to implement the wlr-data-control protocol; in that case wl-clipboard will work with it (without having to resort to focus stealing). Perhaps you could communicate it to Lipstick developers. There's nothing I could do for this on wl-clipboard side, so closing. |
Thanks. I'll try to report it. |
I see @rburchell is listed as one of the authors of Lipstick, perhaps we could summon him here 😉 |
I reported the issue here: https://together.jolla.com/question/227899/implement-wlr-data-control-protocol-into-lipstick-to-allow-system-clipboard/ Maybe this should be reported on mer.project too. To be honest I'm not sure exactly where Lipstick development for the version deployed on SailfishOS takes place. |
I consider myself summoned, but I don't bring too much good news :) I wrote the initial implementation of both lipstick, and Jolla's compositor -- lipstick-jolla-home -- and (together with others) maintained them for some time subsequently, but I left there a long while ago now, and don't really have anything to do with it anymore. My guess is that the Jolla version is "authoritative", but I'm not certain. I think that raising it on TJC is probably the best way to get an answer. Separately from that, some information from what I recall (in the case that it is helpful): lipstick was mostly a layering on top of QtWayland's compositor support. That is, for the compositor (and underlying Wayland support), QtWayland was the place to look[1]. That may still be the case, but Jolla doesn't follow upstream very closely for some packages, so it may be worth checking their own copy of QtWayland first, to see what it supports/how it is patched, before checking upstream. [1]: However, I also have some recollection that this got more complicated in the subsequent time after Sailfish's initial release, due to Jolla's management being somewhat skeptical of/averse to GPLv3-related licenses, so it may well not be the case anymore, too. |
Thanks 🙂 Side note: what a small world |
Thanks a lot for your answer @rburchell! Let's see if someone at Jolla picks the question on TJC, fingers crossed. Small world indeed, I knew you as w00t on TMO! |
I tried building
wl-clipboard
on Sailfish OS (which uses an ancient version of Wayland) because we don't havexclip
/xsel
and I was hoping to usewl-clipboard
as a replacement in combination with thewl-clipboard-x11
wrapper for applications that specifically look forxclip
/xsel
.I'm putting here the build logs because there were some dependencies missing apparently, but if I understood correctly the README, only wayland-client should be mandatory:
Do I need other dependencies?
The text was updated successfully, but these errors were encountered: