audapolis icon indicating copy to clipboard operation
audapolis copied to clipboard

most keyboard shortcuts dont work on linux

Open anuejn opened this issue 3 years ago • 5 comments

somehow ctrl-c and ctrl-v work while ctrl-z doest :(

anuejn avatar Jan 17 '22 16:01 anuejn

This might very well be just my system. It would be very interesting to get other linux users perspectives on this. Please reply if keyboard shortcuts (e.g. ctrl+x) work for you

anuejn avatar Feb 16 '22 14:02 anuejn

Same thing here with the latest 0.2 release on Ubuntu 20.04.3 with the .deb-package.

That being said: Even highlighting a word (or multiple) and using the Edit-Menu to cut or copy items won't work either.

pc-coholic avatar Feb 17 '22 21:02 pc-coholic

Oh, that's interesting. Maybe IPC breaks in some non-obvious way?

Which display server and window manager are you using? Is there anything in the dev console?

pajowu avatar Feb 17 '22 21:02 pajowu

I'll check back once I get the app to transcribe again - right now the server seems to die and I don't know yet why (see: https://github.com/audapolis/audapolis/issues/182#issuecomment-1043466669)

pc-coholic avatar Feb 18 '22 09:02 pc-coholic

Running the AppImage, and the cut/copy/paste shortcuts are not working. Nothing special in the dev tools. Right click for those operations is frustrating because it always suggests to paste overriding the current word, you have to use the menu to paste between words.

  • It seems the Ctrl-C shortcut (at least) is the standard shortcut from the browser and copies the text only (without the audio (paste via menu does not work after that, a message "paste rejected" on the console)
  • Ctrl-X does nothing, I suspect that as the webview is not contenteditable, it does nothing, not even the text is copied
  • Ctrl-V does nothing either

Perhaps, some alternative shortcuts could be found that would be different from the shortcuts of the webview as to provide a workaround.

It seems another electron app had an issue with this on Linux/Windows and the workaround is to handle the keyboard events to manage the shortcuts from the event handler : https://github.com/Automattic/simplenote-electron/pull/2490

mildred avatar Jul 23 '24 14:07 mildred