-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Copying to clipboard is broken on Wayland #6812
Comments
Not sure if it's related, but in my case I can copy to clipboard but can't paste using mouse wheel, only with CRLT+V. |
Still broken on 2023.10.1 for me. |
For what it's worth, I see the same behavior (items are not copied to the clipboard) using 2023.10.0 and 2023.10.1 even though I'm on X11 (openSUSE 15.3, using AppImage). Like the original reporter, downgrading to 2023.9.3 fixes it for me. |
Works for me after enabling the wayland-data-control feature of the arboard crate. https://github.com/solopasha/bitwarden_flatpak/blob/build-from-source/wayland-clipboard.patch |
@solopasha Could you provide some instructions on how to build a release from your FlatPak, or offer those changes upstream in a Pull Request against flathub/com.bitwarden.desktop? Apart from that, I can only confirm that downgrading and pinning helped to resolve the clipboard issue.
When looking at the commit log, it also became visible that there were many changes in the Wayland-related area, which each on their own could explain the regression observed here (https://github.com/flathub/com.bitwarden.desktop/commits/master).
Any of these could have gone wrong, and two come with environmental side-effects, especially the Flatpak upgrade. I suspect it is a combination of the recent change of the underlying Flatpak runtime, the change to a new Bitwarden runtime and some configuration issues with the Flatpak sockets. |
Did you forward the proposed changes upstream? |
I didn't. Because I don't want to test it on X11 or other platforms. |
Broken since 2023.10.0 bitwarden/clients#6812 (comment)
I use Bitwarden with a completely different way. I use Fedora on Wayland Gnome, running Bitwarden installed through Flatpak. But it works. So could it be some bug for your particular setup? |
Same issue here on Arch on Wayland (Hyprland). I'm using the official package from the Arch Repository (2024.1.0). |
I also have this issue on Arch (river wm). It's a must-have feature IMO. I downgraded to
The flatpak is not an official distribution of Bitwarden, it's community maintained. |
My Bitwarden client version (distributed as through that community-maintained Flatpak) is 2024.1.0. I haven't been on Arch for a while so can't say about the state of the package. OP says they are on KDE Fedora. Regardless, I'm unable to replicate the issue, and so I was wondering if it could be an issue particular to only some Wayland setups. |
Same issue here, on Getting the following error in log:
|
[small workaround for now]I tried to drag and drop username/password blocks into app fields and that did fill fields, so if you can do this, here is that workaround while issue is up, hope that helps to ease the bothersome select-copy-paste :) |
The issue persists with the Flatpak, however, today I successfully installed the Bitwarden package version 2024.2.0-1 via pacman, and the copy-paste functionality is now working. I'm using Hyprland 0.24.0. |
I'm still having this problem with 2024.2.0 on gentoo KDE Plasma Wayland. I use the AppImage and copy-paste has been broken since 2023.10. I wasn't even aware you could drag-and-drop fields from the app. That does appear to work. |
Hey everyone, the Wayland fix mentioned here and in PR #7508 is merged now and should be available in release 2024.3.0, which should fix all the wayland clipboard copy issues. |
Just installed 2024.3.0 from flathub, copy still not working on Sway. |
I know the flatpak isn't officially supported but FWIW it works for me on KDE Plasma 5.27.10. |
Confirm the copy paste functionality is working now with AppImage client under KDE Plasma on Wayland with latest 2024.3.0 release. |
Okay, tested 2024.3.0 from pacman and it works. 👍 |
Steps To Reproduce
--enable-features=UseOzonePlatform --ozone-platform=wayland
(to enable native Wayland mode)Expected Result
The item is successfully copied to clipboard.
Actual Result
The item is not copied to the clipboard.
Screenshots or Videos
No response
Additional Context
This was not a problem before I updated to 2023.10.0 (e.g. on 2023.9.3). I have tested the downgrading fixes the problem.
Here is some information about my system:
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.5.9-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
I am using the RPM package downloaded from the release tab in this repo.
Operating System
Linux
Operating System Version
Fedora Linux 38 (KDE)
Installation method
Other
Build Version
2023.10.0
Issue Tracking Info
The text was updated successfully, but these errors were encountered: