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

Failing to copy to clipboard with version 0.5.2 on X11 #581

Open
rwese opened this issue Jan 3, 2024 · 1 comment
Open

Failing to copy to clipboard with version 0.5.2 on X11 #581

rwese opened this issue Jan 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rwese
Copy link

rwese commented Jan 3, 2024

What happened?

Since the (flatpak) update on 12.12. with version 0.5.2 (c53f23b6)

After a rollback to 219a798e it works.

    Commit: 52b04bddb636a27fc66256f83a57a42b1e17e98c9e58cde73c3d51284ae5954c
    Parent: 66fc7616967419973479b8c96cfcb790a910ba8cc63d50c8ac4916380c4fbf7f
   Subject: update to 0.5.2 (c53f23b6)
      Date: 2023-12-12 22:59:31 +0000
   History:

    Commit: 66fc7616967419973479b8c96cfcb790a910ba8cc63d50c8ac4916380c4fbf7f
   Subject: chore: update urls to screenshots (219a798e)
      Date: 2023-09-18 20:44:56 +0000

xclip is properly installed.

$ whereis xclip
xclip: /usr/bin/xclip /usr/share/man/man1/xclip.1.gz

This might relate to #577 #541

How did you install NormCap?

FlatPak (Linux)

Operating System + Version?

Fedora 39

[Linux only] Display Server (DS) + Desktop environment (DE)?

X11

Debug log output?*

07:38:51 - WARNING - normcap.clipboard.handlers.xclip:36 - Your Linux runs with Wayland. Please install the system package 'xclip' to ensure that text can be copied to the clipboard correctly
@rwese rwese added bug Something isn't working triage Needs confirmation and priotization labels Jan 3, 2024
@rwese rwese changed the title Failing to copy to clipboard with latest update Failing to copy to clipboard with version 0.5.2 on X11 Jan 3, 2024
@dynobo dynobo self-assigned this Jan 4, 2024
@dynobo dynobo removed the triage Needs confirmation and priotization label Jan 4, 2024
@dynobo dynobo closed this as completed in 3a80c25 Jan 4, 2024
@dynobo
Copy link
Owner

dynobo commented Jan 4, 2024

Thanks for reporting this, @rwese ! You actually scored a Hattrick here, pointing to three issues 🙈 :

  1. xclip is used to copy to clipboard on Xorg, instead of the default Qt-method (like in NormCap 0.4.x)
  2. The warning text doesn't fit, as your Linux does not run Wayland
  3. xclip should be bundled in the NormCap flatpak (no need to install it on the system), but it seems like it isn't detected correctly.

1.) and 2.) should be fixed in v0.5.3, which I'm preparing right now. 3.) might take longer, but that shouldn't bother you, as on Xorg xclip should not be used anyway.

@dynobo dynobo reopened this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants