Skip to content
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

Clipboard does not work after clearing it on Sway #3704

Closed
ZJaume opened this issue Oct 28, 2019 · 5 comments
Closed

Clipboard does not work after clearing it on Sway #3704

ZJaume opened this issue Oct 28, 2019 · 5 comments

Comments

@ZJaume
Copy link

ZJaume commented Oct 28, 2019

Expected Behavior

The password is copied correctly after a clipboard clear on Sway Window Manager.

Current Behavior

The password is not copied after a clipboard clear.

Possible Solution

If any other thing is copied to clipboard, the "copy password" function works again.

Steps to Reproduce

  1. Copy a password
  2. Wait until clipboard is cleared
  3. Try to copy a password again

Context

Debug Info

KeePassXC - 2.5.0
Revision: 1ab8a9f

Libraries:

  • Qt 5.13.1
  • libgcrypt 1.8.5

Operating system: Arch Linux (Sway 1.2)
CPU architecture: x86_64
Kernel: 4.19.80-1-lts

Enabled extensions:

  • Autotype
  • Browser integration
  • SSH Agent
  • KeeShare
  • YubiKey
@ZJaume ZJaume added the bug label Oct 28, 2019
@droidmonkey
Copy link
Member

This sounds like a bug in Sway

@ZJaume
Copy link
Author

ZJaume commented Oct 28, 2019

Sure? Sway log says [xwayland/selection/incoming.c:399] denying write access to clipboard: no xwayland surface focused, it seems a problem with Wayland.

@phoerious
Copy link
Member

This rather looks like a problem of sharing clipboard contents between Wayland and XWayland windows. Starting with 2.5, KeePassXC is running as a native Wayland client again.

@ZJaume
Copy link
Author

ZJaume commented Dec 3, 2019

I commented this issue on Sway and it seems to happen due to the security policy on wayland. If the Windows is not focused it cannot acces clipboard. Maybe it's a problem with like #2281.

Edit: I also noticed that AutoType is not working for me. I don't think it's a problem with XWayland windows because it's also happening with termite (Wayland native terminal).

@droidmonkey
Copy link
Member

Auto-Type does not work with Wayland at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants