ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

Wayland: Nothing copied into the clipboard on track share

Open cartesius68 opened this issue 3 years ago • 3 comments

Pressed X or Shift-X to copy the track URL and nothing has been copied into the clipboard.

  • Arch Linux
  • SwayWM 1.7 or GNOME 42 (on Wayland)
  • ncspot commit ce6b360cba90967
  • built via cargo build

cartesius68 avatar Jun 09 '22 15:06 cartesius68

Did you build with the wayland_clipboard feature enabled?

hrkfdn avatar Jun 09 '22 21:06 hrkfdn

I just realised that this is the reason why copying to clipboard didn't work for me. Would you consider enabling this option by default? Many if not most Linux systems will be on wayland nowadays.

jghauser avatar Jun 21 '22 10:06 jghauser

Yeah, the wayland_clipboard would probably be good to be enabled by default, but iirc it wouldn't compile on Windows with that feature enabled. I'm not that experienced with Rust or Cargo, but perhaps it's possible to exclude the feature on platforms other than Linux?

Bettehem avatar Jun 21 '22 13:06 Bettehem

Fixed with #869

hrkfdn avatar Aug 07 '22 20:08 hrkfdn