-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
Text copied under xwayland can't be saved with cliphist #6247
Comments
Both chrome xwayland mode and idea can be reproduced. cliphist.mp4 |
Then please change the title accordingly, chrome has the option of native wayland but intelliJ is the one real issue. i.e. "(xwayland) intelliJ idea cannot interact with wayland clipboard" or something |
This is a bug, you can compile hyprland with this commit 4cdddcf.
cliphist.mp4 |
I am well aware of that, but that's in the past now. If you want the bug to get fixed in the future then maybe consider helping out by labeling it correctly and with updated information as development goes on. Were you not aware of #6132 ? |
I know, #6086 was merged yesterday. I haven't learned C++, but can I provide log and debug information. |
I also have the same problem, I can only use copy paste for between wayland windows or xwayland windows, but I cant do that between wayland-xwayland. Also cliphist only stores the things I copy from wayland apps |
@hdm9527 ig it is somehow related to latest MR vax is working on. btw which ui you used for cliphist share that. |
|
I cant copy into any electron apps , discord , slack , telegram .... |
I also encounter the same problem. |
Does this issue require more information from us affected users? (same symptoms, all xwayland applications affected) |
It's working with latest. No issue present at all |
Care to precise if by « latest » you mean master or 0.41.0? Because the latter definitely is not fixed. |
main branch (master) |
I upgrade frequently from hyprland-git, don't know the version numbers from heart |
I have the same problems, see #6519, when I'm using the latest official package 0.41.1 |
what's the easiest app to repro this with? chromium seems to be copying text just fine for me. |
Copying from chrome to discord, kitty to intellij/jetbrains ides, … |
In my case, from KeePass to Firefox Developer-Edition or KeePass to Geany or KeePass to Alacritty |
THX for your reply, it's just not helpful to tell me that it works for you. What can I say, some change in version 0.41.0 is causing this problem, and unfortunately I am not able to analyse it. |
(lol) is there a good way for us to provide you with debug log/info of it not working on our end? Presumably there’s an external factor at fault but I couldn’t figure it out |
By the way, for RDP I use Remmina with freerdb, I also have problems with copying between host and RDP. What I also notice here is that the keyboard layout is not adopted. |
Finally, I would like to confirm that after downgrading to version 0.40.0, with the same configuration, the clipboard and keyboard recognition also work again in Remmina RDP |
that we already know. read my comment #6247 (comment) |
All right, then I'll wait for further instructions for testing. In the meantime, I'm working with version 0.40.0. |
@degobbis you can follow these instructions to help debugging the issue |
Done here #6247 (comment) |
please try now |
OK, now I have downloaded the master branch and compiled with cmake.
|
This is likely the root cause, but I can't repro this happening at all. What X app is trying to copy? |
thanks! repro'd and fixed. Try now. |
I can confirm that the error with copying from KeePass has been fixed. Maybe it's just the self-compiled version, but Also And maybe you can also have a look at why the keyboard layout is not passed cleanly to the RDP connection via Remmina with the rdesktop plugin. In Hyprland the keyboard layout is used correctly. |
really odd with the hyprctl thing. Never seen that happen. For RDP keymaps, I'd open a new issue. This is to track clipboard issues, which if none remain, should be closed. @hdm9527 |
OK, tell me the issue ID when you have opened it. |
uhh, you're the one to experience it so you should open it, lol |
Some xwayland apps cannot be copied to cliphist, e.g. intellij. |
|
Strangely enough, I cannot reproduce if I launch hyprland as quoted from a tty. However, when I launch hyprland through gdm, I see sporadic issues copying from slack - it works roughly 1/10 tries, but when it works, it is saved to cliphist but my primary selection buffer is empty so I have to invoke and copy it from cliphist to get it to stick to my primary buffer. Edit: my mistake, I meant the |
Wayland and XWayland windows keep separate primary clipboards (middle mouse click to paste). If I select the text in Firefox/kitty "uwu" I can paste "uwu" only in Wayland windows. This sounds relevant (but I have no idea):
|
Primary selection is not shared between wl and xwl, correct, I did not implement that. This issue is about the clipboard as far as I am aware. |
oh? came here from #6132 |
I can confirm that the issue is solved for me with the last few commits on master |
I'll close this then, for primary selection one can open a new issue (though I doubt I'll implement that myself, consider not using xwayland) |
you know how it is... but can't blame you for not wanting to deal with this shit either |
For anyone who lands here and wants a solution or some help (until it's fixed/implemented in https://gist.github.com/armenr/81b77587c1dda1d00d1c1c9541dcda94 |
System Info and Version
System/Version info
Bug or Regression?
Bug
Description
cliphist works under wayland, it doesn't work in xwayland.
How to reproduce
wl-clipboard
,cliphist
wl-paste --watch cliphist store
command in the terminalcliphist list
to view copied textCrash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: