After having upgraded from F38 to F39 I see a new window when trying to use KeePassXC with my Browser:
This happens after I have opened a website with a login request and use Kespass’ function ‘Perform Auto-Type’. All I want is that Keepass fills the login data. I do not want to share with a remote desktop. Unfortunately this window can not be suppressed. Any idea how to prevent this from popping up?
What browser are you on.
Do you use the Keepass flatpak? Is your browser in a Flatpak as well?
Because you are trying to use the Auto Type feature I assume this event causes the prompt to show up. Give us a little more info on your setup, but I already suspect what’s happening.
I guess that’s happening because the application KeePassXC tries to insert your password using a function called “XTEST” which worked well under X11, but not Wayland. I already filed a bug upstream, but unfortunately, the latest updates didn’t fix the issue in the way I need it.
From the reactions to my ticket, I get to the conclusion that this is intended behavior, since the GNOME team doesn’t want applications to interact with any other windows behind the back of the user.
Normally, that portal dialog box should only appear once. After confirming, you should be able to insert the password to the focused window. If the window doesn’t have focus or Keepass uses a function to address a specific window, it won’t work, as far as I understand.
Did you update your machine recently? Because there was a bug that broke the ability to send key presses even to the focused application window by using XTEST, which has been fixed last week.
Maybe I don’t understand your comment, but in fact applications that are using XTEST function to send key presses to other applications are routed through portals after the latest changes to mutter and libei. This is intended for security reasons.
While I understand the concerns, having applications control other application’s windows, the current situation feels a little bit awkward to me. Sure, other OSes also implemented mechanisms to grant / deny permissions for those kind of actions, but I feel it’s 1) a bit misleading to have a Remote Desktop dialog box popping up, although there is nothing happening remote and 2) the current solution doesn’t give you an option to grant access once and for all.
I’ve just started to use (again) Fedora, and this dialog seems to make my UI tests (based on Java Swing and AssertJ Swing) fail, even if I accept to share…