gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Copy & Paste issues

Open dantefromhell opened this issue 8 months ago • 4 comments

I'm using gtoolkit 1.0.1671 under NixOS (installed from nixpkgs-unstable) under wayland (niri to be specific) and opened the GT Book from the CLI via

GlamorousToolkit-cli --enable-wayland --interactive ~/GlamorousToolkit.image

I'm unable to copy any text/ value from GT into other apps and vice versa I'm not able to paste text/values from other apps into GT.

Copy & pasting text within GT works reliably, but beyond that it "feels" like there's two clipboard buffers - the system/ wayland one and the GT one - which are not in sync.

dantefromhell avatar Apr 09 '25 12:04 dantefromhell

Might be a Wayland issue, it works for me in 1671 under X11/i3wm/Debian.

cess11 avatar Apr 09 '25 14:04 cess11

There are two clipboards, but they should be in sync.

girba avatar Apr 09 '25 17:04 girba

Hi @dantefromhell We indirectly rely on https://github.com/Smithay/smithay-clipboard crate for wayland bindings. It looks like it uses dlopen to find wayland-client.so.

Do you get any error message printed to the terminal when you try to copy-paste?

syrel avatar Apr 10 '25 08:04 syrel

@syrel No error messages in the terminal during c&p.

I see the following during gt startup but I believe they are unrelated

❯ GlamorousToolkit-cli --enable-wayland --interactive /tmp/GlamorousToolkit.image

(GlamorousToolkit-cli:704910): dbind-WARNING **: 21:12:28.860: AT-SPI: Error retrieving accessibility bus address:org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[2025-04-10T21:12:28Z ERROR sctk_adwaita::config] XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme

dantefromhell avatar Apr 10 '25 21:04 dantefromhell

Is the problem still valid?

girba avatar Sep 06 '25 18:09 girba