Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy/paste under "System-wide Autotype" doesn't work on XFCE #149

Open
gravelld opened this issue Mar 28, 2024 · 6 comments
Open

Copy/paste under "System-wide Autotype" doesn't work on XFCE #149

gravelld opened this issue Mar 28, 2024 · 6 comments
Labels
bug Something isn't working needs testing

Comments

@gravelld
Copy link

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:

Screenshot_2024-03-28_15-33-54

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
@quexten
Copy link
Owner

quexten commented Mar 29, 2024

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: #91 tracking an alternative implementation that supports XFCE.

For copy paste, that's a bug, and should work on XFCE. Thanks for the report!

@quexten
Copy link
Owner

quexten commented Mar 29, 2024

The Websocket message is an unrelated issue.

@quexten quexten added the bug Something isn't working label Mar 29, 2024
@quexten quexten changed the title Copy/paste under "System-wide Autotype" doesn't work Copy/paste under "System-wide Autotype" doesn't work on XFCE Mar 29, 2024
@gravelld
Copy link
Author

gravelld commented Apr 2, 2024

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.

@quexten
Copy link
Owner

quexten commented Apr 6, 2024

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.

@quexten
Copy link
Owner

quexten commented May 3, 2024

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.

@gravelld
Copy link
Author

gravelld commented May 9, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs testing
Projects
None yet
Development

No branches or pull requests

2 participants