Created attachment 158728 [details] Applet and popup SUMMARY After upgrade to Plasma 5.27, on selecting connection (VPN, Wi-Fi...), popup to insert password is not focused, so the password cannot be inserted right away, but the popup has to be found and focused manually. Please focus it on open. (Used to be focused prior to 5.27.) STEPS TO REPRODUCE 1. Click Networks applet to display list of connections 2. Click "Connect" on connection (VPN, Wi-Fi...) which requires password OBSERVED RESULT Password dialog is displayed on top, but not focused. EXPECTED RESULT Password dialog is focused as well. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 22.10 (KDE backports) and newer KDE Plasma Version: 5.27 and newer KDE Frameworks Version: 5.104 Qt Version: 5.15.8
Although bug 312325 was logged because of something different (dialog displayed behind something – here it is on top), bug 312325, comment 28 mentions this issue as well, so it can get possibly fixed as well. (It also points to auth dialog, not to nm applet.)
When I click on the Connect button, a password field opens inline. How are you getting a dialog instead?
I see the inline password only for connections I have not used, for those having checked "ask for this password every time", I see the dialog (see the screenshot in attachment 158728 [details]). I have just updated to Plasma 5.27.5 and the issue has not disappeared, so this issue seems to be independent on bug 312325. Thank you.
Thanks, can reproduce the issue now. Looks like the window has the "keep on top" flag set, but this isn't enough to make it get focus. Perhaps it needs the same fix as in https://invent.kde.org/plasma/polkit-kde-agent-1/-/commit/239ec8537b88f57ec1366b4121d14a4655581ac9.
*** Bug 470004 has been marked as a duplicate of this bug. ***
Just to help searchability of this issue so somebody else need not create a dupe like me :-): the dialog in question is captioned “VPN secrets (l2tp) dialog — KDE Daemon”. (And thanks for the merge, Nate.)
Mine titles are "VPN secrets (openvpn) dialog — KDE Daemon" and "Wi-Fi password dialog — KDE Daemon" if it helps the search engines. I am not sure "product" and other bug attributes are correct, I just tried to select something. Anyway, thank you for taking care of it.
Hi, any news on this? IMHO it's even a security issue, because when the dialog isn't focused, and the user doesn't notice, the user will type the password to whatever has focus. For me it's the terminal where I run a script which connects to a VPN, so the password is visible to everyone looking at the screen at that moment.
The issue seems to be gone. Probably after update to 5.27.9. Could anyone confirm it please?
Yes, looks like 5.27.9 has fixed the problem.
Seems this bug is a duplicate of bug 465751, where this was fixed.
It truly is a duplicate of bug 465751 which describes only a single issue instance. Thank you. *** This bug has been marked as a duplicate of bug 465751 ***