keepassxreboot / keepassxc

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

Polkit unlock dialog not getting brought to front when using the browser extension #11358

Open EmilEmilchen opened 1 month ago

EmilEmilchen commented 1 month ago

Overview

Steps to Reproduce

  1. install current pre release version and setup quick unlock with polkit
  2. install browser extension
  3. initiate the unlocking process from the browser extension e.g. from a login field

Expected Behavior

Polkit Dialog getting raised and brought to the front when initiated from the browser extension.

Actual Behavior

Keepass covering the polkit dialog box as seen here: image

Context

I found #9981 but the problem there seems to have been different. This really isn't that big of a deal for me since I'm just using howdy for face unlock but if I had to enter my password every time having to fiddle with the windows would get a little annoying I'd imagine.

KeePassXC - Version 2.8.0-snapshot Revision: c1a66a8

Operating System: Linux Desktop Env: KDE Windowing System: Wayland

droidmonkey commented 1 month ago

I believe this is because on Linux we make the unlock dialog "Always on Top" to avoid issues with various desktop environments not letting us raise the window.

EmilEmilchen commented 1 month ago

Oh, you are right. I somehow didn't notice that, sorry. In this case it's probably not even a bug... I also only just realized that the Polkit window is focused on, it's just not getting brought to the front visually, obviously.

michaelk83 commented 1 month ago

I found #9981 but the problem there seems to have been different.

Different circumstances, same bug. See also https://bugs.kde.org/show_bug.cgi?id=312325#c39