SUMMARY I've just upgraded from plasma 5.26.5 to 5.27.0 and default for vpn password prompt is changed. Password input field is no longer in focus by default STEPS TO REPRODUCE 1. Click connect to a VPN with a password prompt OBSERVED RESULT Password prompt dialog now have "OK" button in focus by default EXPECTED RESULT Password input field should be in focus so you can start typing it right away SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Linux 37 KDE Spin KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION
Looks like a regression from https://invent.kde.org/plasma/plasma-nm/-/commit/ce6a0cc8251a720828bbe680750aa16a42408797
That commit works fine. My bisect session resulted in 84b1e5079e490195d111f9c62bc00915fae3b903 is the first bad commit commit 84b1e5079e490195d111f9c62bc00915fae3b903
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/216
Git commit cadf1478f7585f07523c239eef6ba6217044c3ac by Nicolas Fella. Committed on 15/02/2023 at 11:46. Pushed by nicolasfella into branch 'master'. Revert "Use QWindow instead of KWindowSystem to set KeepAbove" QWidget::setWindowFlag() has side-effects that break the set focus widget This reverts commit 84b1e5079e490195d111f9c62bc00915fae3b903. M +2 -1 kded/pindialog.cpp M +2 -1 kded/secretagent.cpp M +2 -1 libs/handler.cpp https://invent.kde.org/plasma/plasma-nm/commit/cadf1478f7585f07523c239eef6ba6217044c3ac
Git commit 133ae5311f8553c16da63155ed06b05313988ec8 by Nicolas Fella. Committed on 15/02/2023 at 17:00. Pushed by nicolasfella into branch 'Plasma/5.27'. Revert "Use QWindow instead of KWindowSystem to set KeepAbove" QWidget::setWindowFlag() has side-effects that break the set focus widget This reverts commit 84b1e5079e490195d111f9c62bc00915fae3b903. (cherry picked from commit cadf1478f7585f07523c239eef6ba6217044c3ac) M +2 -1 kded/pindialog.cpp M +2 -1 kded/secretagent.cpp M +2 -1 libs/handler.cpp https://invent.kde.org/plasma/plasma-nm/commit/133ae5311f8553c16da63155ed06b05313988ec8
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/299
Git commit 589c58ed7f2dedff0299786ae8fc3706a0d8f37f by Kai Uwe Broulik. Committed on 20/10/2023 at 14:28. Pushed by broulik into branch 'Plasma/5.27'. Revert "Don't force active dialogs right after showing" This breaks focussing the password dialog when connecting to a OpenVPN from the Networks applet. Better revert this on LTS, and then figure it out properly for 6.0. This reverts commit ce6a0cc8251a720828bbe680750aa16a42408797. M +1 -0 kded/pindialog.cpp M +1 -0 kded/secretagent.cpp M +1 -0 libs/handler.cpp https://invent.kde.org/plasma/plasma-nm/-/commit/589c58ed7f2dedff0299786ae8fc3706a0d8f37f
*** Bug 469398 has been marked as a duplicate of this bug. ***