keepassxc icon indicating copy to clipboard operation
keepassxc copied to clipboard

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

Open EmilEmilchen opened this issue 1 year ago • 3 comments

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

EmilEmilchen avatar Oct 13 '24 09:10 EmilEmilchen

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.

droidmonkey avatar Oct 13 '24 14:10 droidmonkey

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.

EmilEmilchen avatar Oct 13 '24 14:10 EmilEmilchen

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

michaelk83 avatar Oct 14 '24 08:10 michaelk83