keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.39k stars 1.48k forks source link

Autotype putting data into wrong application #11394

Closed HoppyH closed 1 month ago

HoppyH commented 1 month ago

Overview

Running multiple (2) monitors, auto type is putting data into wrong application. This is my first bug report and I am not sure if it's KeepassXC, Plasma or Xwin.

Steps to Reproduce

  1. On primary monitor, open a file in Libreoffice Calc - On secondary monitor open Firefox - on primary monitor open KeepassXC
  2. On secondary monitor click in username entry box to place cursor there.
  3. On primary monitor right click on the proper entry in KeepassXC, select Perform Auto-Type and select any of the offered choices.
  4. The selected username and/or password and/or both will be entered in the Open Libreoffice document.

Expected Behavior

The data provided by KeepassXC should go into the entry box where the cursor has been placed.

Actual Behavior

The data provided by KeepassXC is placed in the document on the same monitor as KeepassXC

Context

I have been using KeepassXC for some time now, and this behavior has just appeared with the latest update from pacman. I am using the Oxygen halo on my windows to tell which is the current window.

I have been using the described process for some time now, and it has always worked.

I did notice that if I change the location/monitor of the applications, it works. In other words, KeepassXC has to be on the same monitor as the application I want it to access even though the halo tells me which is the default window. This is new to me.

Hope this helps!

KeePassXC - 2.7.9 Revision: 8f6dd13

Operating System: Arch Linux Desktop Env: KDE Windowing System: X11

droidmonkey commented 1 month ago

this behavior has just appeared with the latest update from pacman

Woudnt be us then. It's likely a change in how window ordering is handled by KDE. If you want definitive window choice, use the global autotype shortcut. Using entry level autotype relies on the window manager to select the "last used window" properly.

There may be a KDE option that sets preferred window choice behavior, not sure.