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

Wayland: freezes up when loading with empty clipboard #2

Open
edbefee3-3888-462a-9411-741b7e9eb54e opened this issue Jan 23, 2023 · 2 comments

Comments

@edbefee3-3888-462a-9411-741b7e9eb54e

When loading an app that uses this (such as micro) on Wayland, if wl-copy and wl-paste are found in the PATH environment variable, and the clipboard is empty, the app will fail to load until something is copied.
once the app is loaded, it will freeze up whenever a clipboard action is done until the clipboard is full.

@zyedidia
Copy link
Owner

Clipper attempts to read from the clipboard at startup to verify that the clipboard is working (or otherwise it will fall back to other methods). Does reading from the wayland clipboard when it is empty cause it to hang? Clipper uses wl-paste --no-newline to read from the clipboard (does running that at the CLI hang if there is nothing in the clipboard?).

@edbefee3-3888-462a-9411-741b7e9eb54e

running that with an empty clipboard does hang, so it's probably a wl-clipboard issue

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

No branches or pull requests

2 participants