Bug 465189 - Password isn't saved for WiFi network anymore due to KWallet being removed during a system update
Summary: Password isn't saved for WiFi network anymore due to KWallet being removed du...
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Unstable Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-02 18:27 UTC by Piotr Mierzwinski
Modified: 2023-02-11 01:42 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Wi-Fi Connection_1 (26.35 KB, image/png)
2023-02-02 18:27 UTC, Piotr Mierzwinski
Details
Wi-Fi Connection_2 (21.54 KB, image/png)
2023-02-02 18:28 UTC, Piotr Mierzwinski
Details
Wi-Fi Connection_3 (35.13 KB, image/png)
2023-02-02 18:28 UTC, Piotr Mierzwinski
Details
Wi-Fi Connection_4 (19.30 KB, image/png)
2023-02-02 18:28 UTC, Piotr Mierzwinski
Details
WiFi_password-dialog (23.89 KB, image/png)
2023-02-02 18:32 UTC, Piotr Mierzwinski
Details
The moment when the package got nuked (21.42 KB, image/png)
2023-02-06 21:47 UTC, Nagy Tibor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2023-02-02 18:27:28 UTC
Created attachment 155892 [details]
Wi-Fi Connection_1

SUMMARY
After entering password in Connections -> WiFi -> [NAME_OF_WI-FI_NETWORK] -> WiFi Security -> Password and clicking Apply,it isn't saved. Simple check is that I click onto different type of network like "Wired Connection" and back to my Wi-Fi. In result I can see empty field "Password".

Second thing is that default settings in Connections -> WiFi -> [NAME_OF_WI-FI_NETWORK] -> WiFi Security: "Store password for this user only (encrypted)" causes that Plasma at every  start asks user for password to WiFi network.
Check attached screenshots

If you wish I ca split it into two bugs.

STEPS TO REPRODUCE
1. open Connections -> WiFi -> [YOUR_WI-FI_NETWORK] -> WiFi Security
2. enter correct password in field: "Password" to your WiFi
3. press Apply button
4. click onto different Wi-Fi network, or connection in Wired Ethernet or Bluetooth connection
5. back to YOUR_WI-FI_NETWORK

OBSERVED RESULT
Missing password.
After relogin/restart Plasma asks me for password

EXPECTED RESULT
Password should be saved
For option: "Store password for this user only (encrypted)"  Plasma should not asks user for any password after start.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.103
Qt Version: 5.15.8

ADDITIONAL INFORMATION
System: Neon Unstable Edition
Comment 1 Piotr Mierzwinski 2023-02-02 18:28:01 UTC
Created attachment 155893 [details]
Wi-Fi Connection_2
Comment 2 Piotr Mierzwinski 2023-02-02 18:28:23 UTC
Created attachment 155894 [details]
Wi-Fi Connection_3
Comment 3 Piotr Mierzwinski 2023-02-02 18:28:51 UTC
Created attachment 155895 [details]
Wi-Fi Connection_4
Comment 4 Piotr Mierzwinski 2023-02-02 18:32:04 UTC
Created attachment 155896 [details]
WiFi_password-dialog

BTW. 
WiFi_password-dialog is shown as stick to left edge of screen -  in case of every start of Plasma
Maybe this is another bug.
Comment 5 Nate Graham 2023-02-06 21:18:16 UTC
Do you have KWallet disabled, by any chance?
Comment 6 Nagy Tibor 2023-02-06 21:47:26 UTC
Created attachment 156009 [details]
The moment when the package got nuked

A recent Neon update nuked the libkf5wallet-bin package. Workaround: sudo apt install libkf5wallet-bin
Comment 7 Nate Graham 2023-02-06 21:51:24 UTC
That would explain things. :) You need KWallet to save the wifi password.

The next question is why an update removed KWallet. That doesn't seem ideal. Moving to Neon.
Comment 8 Piotr Mierzwinski 2023-02-07 22:35:15 UTC
(In reply to Nate Graham from comment #7)
> That would explain things. :) You need KWallet to save the wifi password.
> 
> The next question is why an update removed KWallet. That doesn't seem ideal.
> Moving to Neon.

I don't have KWallet installed. I think would be nice if would be shown the warning when try to save password and have not kwallet installed  / working.. Anyway this explains why password is not stored, but there is also another problem.
I use wired Ethernet connection (one time tried WiFi and entered password manually, and later I had back to cable), so why every start of Plasma I can see window question for password to WiFi?

Let me know please if should I report another bug for this issue, or this is intentional behavior?

BTW. Look at  "WiFi_password-dialog" screenshot, where you can notice that combobox with user name is a bit too tall.
Comment 9 Nate Graham 2023-02-11 01:42:16 UTC
Those are all different issues. Can you please report them with additional bug reports? This one should be about how KWallet got removed unintentionally during a system update, which is what I understood. If that's not the case and you deliberately removed KWallet yourself, then this is intentional. We could improve the messaging, but we'd need a separate bug report about that.