gitu icon indicating copy to clipboard operation
gitu copied to clipboard

copy commit hash to clipboard action doesn't work

Open Axlefublr opened this issue 9 months ago • 4 comments

wayland, gitu --version 0.29.0
I get the success text "Commit hash copied to clipboard" but my clipboard seemingly isn't touched at all. If I try to paste, whatever was in my clipboard previously is pasted instead of the commit hash.
Please tell me what else I could share that would be helpful

Axlefublr avatar Mar 17 '25 12:03 Axlefublr

blammoed a dbg! into the copy_hash function; the hash is indeed passed

Axlefublr avatar Mar 17 '25 12:03 Axlefublr

the following set_text returns Ok, so seemingly it works

Axlefublr avatar Mar 17 '25 12:03 Axlefublr

Hey! I tested this out too, it seems to work for me on:

~ ❯ gitu --version
gitu 0.29.0
~ ❯ echo $XDG_SESSION_TYPE
wayland
~ ❯ uname -rn
fedora 6.13.5-200.fc41.x86_64

However I do recall having issues with wayland with other apps and the clipboard at some point. Gitu is using this library: https://github.com/1Password/arboard

altsem avatar Mar 17 '25 18:03 altsem

arboard does not work on my system: Arch Linux + Sway.

leath-dub avatar Apr 16 '25 12:04 leath-dub