Bug 435269

Summary: KDE WiFi daemon pops up and ask me for the password for the current network despite I already typed it in and it worked for some time. After inputting it again it will work. Sometimes for a long period and sometimes for only one minute then
Product: [Plasma] plasma-nm Reporter: Daniele <daniele.doehle>
Component: generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED DUPLICATE    
Severity: normal CC: foss, jgrulich, lamarque, lukas.tinkl, nate, n_s_mendoza
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=429713
https://bugs.kde.org/show_bug.cgi?id=427113
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The log from KSystemLog a few seconds befor the popup to a few seconds after entering the password
WIFI settings and kded dialog

Description Daniele 2021-04-02 14:49:54 UTC
Created attachment 137275 [details]
The log from KSystemLog a few seconds befor the popup to a few seconds after entering the password

SUMMARY
KDE wi-fi daemon pops up, sometimes up to every minute, and asks for password, despite it was already typed in and worked.

STEPS TO REPRODUCE
1. connect to (unstable) wi-fi
2. wait

OBSERVED RESULT
While daily use, when the internet is unstable the wi-fi daemon pops up and ask for the password of the current connected wi-fi.

EXPECTED RESULT
The daemon should  (re)connect quietly in the background, since the password is known.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
- The bug occurred also in older versions
- The bug occurred on different machines with KDE installed
- Currently my internet works by satellite so when the weather is bad the connection is as well. In this moments this bug happens the most and almost every minute. Is the connection stable I don't get asked and everything works as it should.
- When connected with other networks this problem does not occur.
- When connected with other devices (e.g. smartphone, or Windows PC) this problem does not occur.

To describe the situation a bit clearer:
Sometimes the KDE WiFi daemon pops up and ask me for the password for the current network despite I already typed it in and it worked for some time. After inputting it again it will work. Sometimes for a long period and sometimes for only one minute then I get the question again.
When I close the window I don’t get a connection. If then I open the WiFi menu and click connect, it connects without asking for a password and it works for some time. On startup it also works as it should.
Comment 1 foss 2021-04-17 11:04:12 UTC
Created attachment 137667 [details]
WIFI settings and kded dialog
Comment 2 foss 2021-04-17 11:15:46 UTC
I was about to fill a bug about this issue as I found this bug. So instead I would like add some information here.

I am not sure what actually triggers the password dialog (kded). Since several players are involved here (kded, networkmanager, networkmanager-qt, plasma-nm, possibly more). Since the password is already known, well saved to /etc/NetworkManager/system-connections/accessPointName.nmconnection file if one selects the "Store password for all users (not encrypted)" under the WIFI Security tab (See screenshot), why not just reconnect/refresh/.. instead?
Comment 3 Nataniel 2022-06-28 13:36:20 UTC

*** This bug has been marked as a duplicate of bug 451139 ***