waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

Clipboard shortcuts do not work on Linux

Open benjaminbellamy opened this issue 1 year ago • 3 comments

Describe the bug CTRL+C / CTRL+V do not work on Linux.
Neither do CTRL+SHIFT+C / CTRL+SHIFT+V.
Neither do ALT+C / ALT+V (ie. ⌘+C / ⌘+V).
Right click "copy" / "paste" do work.

To Reproduce Steps to reproduce the behavior:

  1. Copy some text in the clipboard
  2. Switch to Waveterm
  3. Type CTRL+V : nothing happens
  4. Type CTRL+SHIFT+V : nothing happens
  5. Type ⌘+V : nothing happens
  6. Right click + select "Paste" : Et voilà ! (it works)

Expected behavior Some shortcut should work.

Screenshots N/A

Desktop (please complete the following information):

  • OS: Ubuntu 23.10
  • Version v0.5.3 (20231227-055038)
  • BÉPO keyboard layout

Additional context N/A

benjaminbellamy avatar Dec 29 '23 22:12 benjaminbellamy

thanks for submitting! are you tried to copy/paste into the input box or into a running terminal window (a running command)?

for the input box, cmd-v and cmd-c should work. for the terminal windows shift-ctrl-v and shift-ctrl-c should work.

note that these are MacOS keybindings. For Linux, "cmd" is bound to "super" (the windows button on windows keyboards). in the future we hope to change the linux keybindings so that "cmd" will map to "ctrl" or "alt", but unfortunately today it is mapped to "super".

sawka avatar Dec 30 '23 01:12 sawka

same underlying problem as #205

sawka avatar Dec 31 '23 23:12 sawka

I think this may be fixed with the last round of keybinding fixes that went out with the v0.6.x builds. But, to be safe I'll mark this as v0.7.1 for when we introduce the new keybind manager.

sawka avatar Mar 11 '24 23:03 sawka