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

Hooking in to the primary clipboard deselects all Ctrl-A + complete desktop freezes #11

Open
jtagcat opened this issue Jun 3, 2024 · 2 comments

Comments

@jtagcat
Copy link

jtagcat commented Jun 3, 2024

wl-clip persist -c regular works fine. With -c primary or -c both, the following abnormalities happen:

Dupe of #3 ### Ctrl-A Selecting text (most commonly with Ctrl-A) in dialogues is consistently buggy. Anything selected is instantly deselected.

Examples: Thunar (rename), GIMP (Ctrl-N pixels).
Possibly related: #6

Complete desktop freezes

Using Sway (1.9-3) on Arch Linux. A well-reproducible example with GIMP (2.10.38-1):

  1. Ctrl-N: Create a new document
  2. Ctrl-S: Attempt to open the dialogue to Save (As). If it doesn't crash on first time, try again. I can reproduce in 1-3 times looping Ctrl-S Esc.
  3. Sway / the system is frozen. Time stops ticking. Switching TTY with Ctrl-Alt-F4 doesn't work. Power/Sleep inputs are ignored. Have to force shut-down.

If desired, I can reproduce and collect logs with SSH.

Any drop-downs from the top (File, Edit, Select) don't open, open very slowly, or cause the same freeze.

@Linus789
Copy link
Owner

Linus789 commented Jun 3, 2024

The first issue is the same as #3. I can reproduce the second issue (GIMP crashing, but not the system freezing), but I really don't think it's wl-clip-persist's fault, since it worked before.

TL;DR: Probably not a bug from wl-clip-persist, just use regular mode.

@jtagcat
Copy link
Author

jtagcat commented Jun 4, 2024

Should I report it to GIMP?

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