Bug 477655

Summary: Network applet doesn't update status of a different connection type if a password prompt is open
Product: [Plasma] plasmashell Reporter: Antti Savolainen <antti.savo>
Component: Networks widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.9   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.5.0
Sentry Crash Report:

Description Antti Savolainen 2023-11-28 08:32:23 UTC
SUMMARY
Demonstrative video: https://youtu.be/zinnTQJqh3A
If you open the network manager applet, click connect on a wireless a then click to disconnect from or connect to a wireless access point, the UI doesn't update to reflect this change

STEPS TO REPRODUCE
1. Open nmapplet
2. Click to connect to a wifi that is not saved
3. Disconnect from an already existing connection

OBSERVED RESULT
The UI doesn't change

EXPECTED RESULT
The UI should change to reflect if you're connected to that network or not

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.122.0
Qt Version: 5.15.11
Comment 1 Ben Cooksley 2024-12-23 18:26:05 UTC
Bulk transfer as requested in T17796
Comment 2 Nate Graham 2025-06-12 19:02:19 UTC
I can't reproduce this in Plasma 6, with current git master. Seems it's been fixed along the way.
Comment 3 Antti Savolainen 2025-06-12 21:24:46 UTC
I was able to reproduce this in a fresh git build https://youtu.be/xpCYABrTWVw
Comment 4 Nate Graham 2025-06-16 16:48:17 UTC
Aha, looks like you need two connection types. I can reproduce this with ethernet and wifi, but not with two wifi connections.
Comment 5 Bug Janitor Service 2025-07-26 20:49:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/455
Comment 6 Nate Graham 2025-07-31 16:47:20 UTC
Git commit 22ded0cd6905e1d492007a778e631aef9b993762 by Nate Graham, on behalf of Arnav Rawat.
Committed on 31/07/2025 at 16:47.
Pushed by ngraham into branch 'master'.

applet: Fix list interactions with the password field open

Clicking connect or disconnect on a connection item would not give any
feedback if a password was being entered in another connection item
since model updates were disabled.

This commit changes the behavior so that clicking connect/disconnect 
closes other open password fields, ensuring that either one password
field is open, or the model begins updating if we can freely connect or
disconnect the other item.
FIXED-IN: 6.5.0

M  +8    -1    applet/ConnectionItem.qml
M  +13   -0    applet/ConnectionListPage.qml

https://invent.kde.org/plasma/plasma-nm/-/commit/22ded0cd6905e1d492007a778e631aef9b993762