https://bugs.kde.org/show_bug.cgi?id=523248
--- Comment #5 from adam <[email protected]> --- Just to add: I have also checked nmcli general permissions, and all permissions—specifically org.freedesktop.NetworkManager.settings.modify.system and network-control—evaluate to yes. This rules out any Polkit restrictions or user privilege issues. The applet is purely defaulting to an agent-stored secret (psk-flags=1) rather than committing it as a system connection when KWallet is unavailable. > Hi Marcelo, > > Yes, the issue still persists on Arch Linux with Plasma 6.8.1 (plasma-nm > 6.8.1-1). > > To clarify the exact behaviour: > > Selecting a new Wi-Fi network from the system tray applet opens the > inline password field within the list. > > Entering the password and clicking "Connect" fails to establish the > connection immediately. > > Instead, a secondary standalone modal dialog ("Wi-Fi Secrets" / > authentication window) appears on the desktop, requesting the exact same > Wi-Fi password a second time. > > Why this occurs: > When KWallet is disabled, the inline applet prompt fails to commit the > secret directly to > /etc/NetworkManager/system-connections/<SSID>.nmconnection as a system > secret (psk-flags=0). Because NetworkManager receives the connection profile > with agent-owned secrets (psk-flags=1) but no active wallet agent exists to > provide it, NetworkManager triggers a D-Bus GetSecrets request back to the > session secret agent. This forces the secondary modal authentication dialog > to spawn. > > Once the password is entered into the second popup—or written manually using > nmcli connection modify <SSID> wifi-sec.key-mgmt wpa-psk wifi-sec.psk <PASS> > wifi-sec.psk-flags 0—the connection succeeds and does not prompt again on > subsequent boots. > > Regarding reproduction: > I noticed you checked with kwalletmanager5. Because Plasma 6 relies on KF6 > (kwalletd6), please verify that kwalletd6 is not running in the background > during the test. If kwalletd6 remains active in the session, it silently > intercepts and stores the secret on the first attempt, masking the bug. > > Hi adam, > > > > I tried to reproduce the issue but I was able to connect normally with the > > wi-fi widget (new network with a new password). I also checked if kwalllet > > was indeed disabled by running kwalletmanager5 and it gave me a warning that > > kwallet was disabled. > > > > Does this issue still appear with plasma 6.8? > > > > My settings: > > > > Operating System: Arch Linux > > KDE Plasma Version: 6.8.1 > > KDE Frameworks Version: 6.31.0 > > Qt Version: 6.12.0 > > Kernel Version: 7.2.11-arch1-1 (64-bit) > > Graphics Platform: Wayland > > Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics > > Memory: 32 GiB of RAM (31.1 GiB usable) > > Graphics Processor: NVIDIA GeForce RTX 4060 > > Manufacturer: ASUS -- You are receiving this mail because: You are watching all bug changes.
