goldwarden
goldwarden copied to clipboard
Copy/paste under "System-wide Autotype" doesn't work on XFCE
I have installed Goldwarden using Flatpak and logged into Bitwarden's default server. I can list all my entries.
I have configured a hotkey in xfce to open the Autotype dialog, as described here:
dbus-send --type=method_call --dest=com.quexten.Goldwarden.autofill /com/quexten/Goldwarden com.quexten.Goldwarden.Autofill.autofill
I can search and find entries. When I press the down cursor to find the entry I want:
I have tried Ctrl+P to copy the password. The Quick Access window disappears, but when I paste into another app nothing is pasted.
I have also tried Ctrl+U for the username, but that doesn't work either.
Is it something to do with the clipboard and the Flatpak sandbox?
I see a number of these messages from the daemon, but only when I scroll up/down, not when I try to copy:
[WRN] [15:35] [Goldwarden > Websocket] >>> Invalid message received, length too short
Hmm, so actual autotype most likely won't work yet because XFCE (to my knowledge) does not implement the remote desktop portal, however there is this issue: https://github.com/quexten/goldwarden/issues/91 tracking an alternative implementation that supports XFCE.
For copy paste, that's a bug, and should work on XFCE. Thanks for the report!
The Websocket message is an unrelated issue.
So I'm a bit confused as to where "autotype" overlaps with copy and paste - exactly what should work here? I think I was taking "autotype" as just meaning a quick access copy and paste. Should I be able to use the above method to copy and paste into a terminal using only the keyboard and no app switching? That's my goal.
So the "quick access" menu previously only supported autotype, and was called autotype menu at the time. At some point, I added copy paste, which - at first - only worked on wayland, but this bug should be fixed, and XFCE shoudl work too (which uses X11 as far as I know). I.e Autotype is not expected to work on XFCE at the moment, and won't until an alternative auto-type method gets implemented. Copy is expected to work on XFCE at the moment, if it does not this is a bug.
At least autotype should work now on main #194. I also tested copy paste (on gnome but in flatpak) and it seems to work fine. Leaving this open until next release.
I tried again (installed from Flatpak) but Ctrl+P on the quick access page then Ctrl+V pastes nothing.
Getting this in the console (I'm running the app from terminal):
g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Background” on object at path /org/freedesktop/portal/desktop (19)