[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-12-03 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=312325

Andrius Štikonas  changed:

   What|Removed |Added

 CC||mashkal2...@gmail.com

--- Comment #40 from Andrius Štikonas  ---
*** Bug 478013 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=312325

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=469398

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-16 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #39 from Harald Sitter  ---
(In reply to Patrick Silva from comment #36)
> This bug is still reproducible with Partition Manager and balena Etcher on
> Wayland session of Plasma 5.27.5.
> Can anyone else confirm?

As far as I understand it's not fixable on wayland right now. We can't steal
focus on wayland and because polkit API has no way to declare transient
parents, kwin has no way of knowing that the dialog relates to another parent
window.

This ought to ultimately get resolved by a redesign of the auth dialog to not
be a lonely dialog but instead become a fullscreen interruption dialog similar
to the logout dialog. We have that on the radar for Plasma 6.

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-16 Thread Menno
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #38 from Menno  ---
(In reply to Patrick Silva from comment #36)
> This bug is still reproducible with Partition Manager and balena Etcher on
> Wayland session of Plasma 5.27.5.
> Can anyone else confirm?

Yes.
Balena Etcher.
Plasma 5.27.4 on X11.

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-16 Thread Jan Molnar
https://bugs.kde.org/show_bug.cgi?id=312325

Jan Molnar  changed:

   What|Removed |Added

 CC||jan.mol...@gmail.com

--- Comment #37 from Jan Molnar  ---
(In reply to Patrick Silva from comment #36)
> This bug is still reproducible ... on ... 5.27.5.

IMO there are two different bugs. 1) Dialog displayed behind a window (logged
as this ticket) and 2) dialog displayed on top, but not focused (started in
Plasma 5.27). I logged bug 469398 for the latter one.

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-13 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #36 from Patrick Silva  ---
This bug is still reproducible with Partition Manager and balena Etcher on
Wayland session of Plasma 5.27.5.
Can anyone else confirm?

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #35 from Nate Graham  ---
*** Bug 460730 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=312325

Nate Graham  changed:

   What|Removed |Added

 CC||claudius.ell...@live.de

--- Comment #34 from Nate Graham  ---
*** Bug 429770 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=312325

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.27.5

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-05-02 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=312325

David Edmundson  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/polkit-kde-agent-1/commi
   ||t/239ec8537b88f57ec1366b412
   ||1d14a4655581ac9
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #33 from David Edmundson  ---
Git commit 239ec8537b88f57ec1366b4121d14a4655581ac9 by David Edmundson, on
behalf of Harald Sitter.
Committed on 02/05/2023 at 11:10.
Pushed by davidedmundson into branch 'Plasma/5.27'.

force extreme focus protection

this should help with all cases of the auth dialog not having focus.
with extreme protection nothing should be able to automatically steal
focus from the auth dialog. user input is still respected same as before
though

M  +11   -0main.cpp

https://invent.kde.org/plasma/polkit-kde-agent-1/commit/239ec8537b88f57ec1366b4121d14a4655581ac9

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-30 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #32 from Patrick Silva  ---
Can reproduce with balena Etcher after click on 'Flash!' button.
https://www.balena.io/etcher#download-etcher

Operating System: Arch Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-27 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=312325

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |ASSIGNED

--- Comment #31 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/polkit-kde-agent-1/-/merge_requests/23

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #30 from geqch0...@mozmail.com ---
(In reply to Harald Sitter from comment #26)
> Can I please get an updated list of which applications you are seeing this
> problem with and whether you are seeing it on x11 or wayland? (Please test
> with latest versions only, that includes plasma).
> 
> I'd also be very interested in video recordings of this happening.
> 
> For the record: for partitionmanager in particular my theory is that there
> is a race condition between the two windows appearing (i.e. the mainwindow
> only appears after the auth window), which would explain why the stacking
> order is incorrect despite us calling forceActiveWindow in the auth dialog
> code.

The resion that the window only sometimes show up at the top is because when
you open a window it shows up above all other windows with partition manager
the main window loads after polkit is called, so it appears behind to fix this
have the polkit window have the keep above all windows flag set I did that with
the window rule but if that can get integrated in to the kde polkit agent that
would fix this.

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #29 from Nate Graham  ---
I just remembered that I'm pretty sure I recall seeing this happen at some
point with the Firewall KCM (on Wayland, don't know about X11) when enabling or
disabling the firewall. I can't reproduce it right now, of course...

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-26 Thread Aleksandar Kostadinov
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #28 from Aleksandar Kostadinov  ---
Maybe an easy to reproduce example.

KDE: 5.27.4
KDE Framework: 5.104.0
X11

When I click on the network connection and choose to connect to a VPN (or I
guess whatever network where password is not remembered), then an auth dialog
pop up but input is not received until the menu is closed with a mouse click.
And this is very annoying especially for VPNs that use 2fa so password can't be
saved.

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=312325

--- Comment #27 from Nate Graham  ---
Personally I have only ever seen this with Partition Manager. It isn't 100%
reproducible for me though. Maybe 1 in every 10 times it happens.

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-26 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=312325

Harald Sitter  changed:

   What|Removed |Added

 Status|ASSIGNED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||sit...@kde.org

--- Comment #26 from Harald Sitter  ---
Can I please get an updated list of which applications you are seeing this
problem with and whether you are seeing it on x11 or wayland? (Please test with
latest versions only, that includes plasma).

I'd also be very interested in video recordings of this happening.

For the record: for partitionmanager in particular my theory is that there is a
race condition between the two windows appearing (i.e. the mainwindow only
appears after the auth window), which would explain why the stacking order is
incorrect despite us calling forceActiveWindow in the auth dialog code.

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-04-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=312325

Nate Graham  changed:

   What|Removed |Added

Summary|password dialog should  |Authentication dialog
   |always move to front|sometimes appears behind
   ||the window that requested
   ||it

-- 
You are receiving this mail because:
You are watching all bug changes.