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

Better Wayland support for copying #116

Open
3 tasks done
manveru opened this issue Dec 10, 2023 · 2 comments
Open
3 tasks done

Better Wayland support for copying #116

manveru opened this issue Dec 10, 2023 · 2 comments

Comments

@manveru
Copy link

manveru commented Dec 10, 2023

Defect

Make sure that these boxes are checked before submitting your issue -- thank you!

  • Included the relevant configuration snippet
  • Included the relevant process-compose log (log location: process-compose info)
  • Included a [Minimal, Complete, and Verifiable example] (https://stackoverflow.com/help/mcve)

Version of process-compose:

❯ /nix/store/bm18s7mz0wgps5wrqlfmkc84paqyim3z-process-compose-0.69.0/bin/process-compose version
Process Compose
Version:        v0.69.0
Commit:         e38b113
Date (UTC):     2023-10-02T21:32:02Z
License:        Apache-2.0

Written by Eugene Berger

OS environment:

NixOS 23.11, using process-compose-flake

Steps or code to reproduce the issue:

Start any process-compose instance, configuration doesn't seem to matter, but for sake of completeness here's an example:

processes:
  test:
    command: "echo hi;sleep 30"
    namespace: default

Enter select mode, select some text, and press <Return>

Expected result:

The text is copied, and no errors or warnings are shown.

Actual result:

The text is copied, and the following message shows up at the position where I copied from:

XGB: conn.go:47: Could not get authority info: open /home/manveru/.Xauthority: no such file or directory
XGB: conn.go:48: Trying connection without authority info...

Looks like this:

20231210_16h21m48s_grim

@F1bonacc1
Copy link
Owner

Hi @manveru,
Yes, I am aware of this issue.
There is no good clipboard library, that supports Wayland, that I was able to find.
In my case (on Wayland, KDE Plasma v5.27.10) the behavior is different - the clipboard remains empty, with no errors.

Right now I can offer to disable this functionality entirely (to avoid confusion) if there is a WAYLAND_DISPLAY env variable.

@F1bonacc1 F1bonacc1 reopened this Jan 13, 2024
@F1bonacc1
Copy link
Owner

I will keep this open until a proper solution is found.

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