Bug 387502 - Wifi Password Asked Twice
Summary: Wifi Password Asked Twice
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: 5.11.95
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL: https://cgit.freedesktop.org/NetworkM...
Keywords: usability
: 365719 371524 377473 381578 389594 389830 392893 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-01 16:08 UTC by Andres Betts
Modified: 2018-10-01 14:02 UTC (History)
21 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Betts 2017-12-01 16:08:38 UTC
For some reason entering the password into the wifi module in the system tray works but then you also get a system dialog to enter the wifi password again. You are asked for the password twice. There are no hints as to why this is.

Expected behavior: enter password in system tray only

If there is a second prompt to enter the wifi password, explain why you are asking for it a second time.
Comment 1 Jonathan Riddell 2017-12-01 16:16:05 UTC
This only happens on the live image in my experience, maybe it's missing kwalletd or something
Comment 2 Nate Graham 2017-12-04 16:14:14 UTC
I thought Bug 377473 was tracking the same issue, but now I'm not sure anymore. Jonathan?
Comment 3 Jonathan Riddell 2017-12-04 16:19:49 UTC
No I don't think they're related.  This only happens on the live image from Neon so is likely to be something to do with what we do there, or at least limited to first time a user is run
Comment 4 Nate Graham 2017-12-04 16:21:53 UTC
I know I've seen reports of this outside the Neon live session too. If this bug tracks fixing it in Neon, I think we still need a bug tracking the general case.

We don't see this issue in Kubuntu because KWallet is enabled by default without a distinct password (that is, it uses the user's login password by default). But outside of this situation, it seems pretty widespread.
Comment 5 jeremy9856 2017-12-15 12:13:35 UTC
Hello,

It happen on Kubuntu 17.10 too. I was about to pass an exam, a powerpoint presentation, so the examiner spelled me the wifi password and after pressing ok an other windows ask for the wifi password! Quite embarrassing...

https://www.reddit.com/r/kde/comments/7g2t63/networkmanager_password_has_to_be_entered_twice/

https://www.reddit.com/r/kde/comments/7ae1cf/kde_papercuts/

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1572244

Thanks !
Comment 6 Nate Graham 2017-12-16 17:00:25 UTC
Jonathan, is there anything I can do to help you investigate this issue?
Comment 7 Rik Mills 2018-01-13 10:54:32 UTC
(In reply to Nate Graham from comment #6)
> Jonathan, is there anything I can do to help you investigate this issue?

As above from me. Would like to get this solved for Kubuntu and Neon based on 18.04 base.
Comment 8 Roman Gilg 2018-01-18 07:34:29 UTC
Isn't this fixed? I didn't have it anymore on master.
Comment 9 Jan Grulich 2018-01-18 08:00:38 UTC
I think that this one and bug 377473 are related. My guess is still there is a broken configuration of KWallet. If you try to connect to an unknown wireless network, you get a dialog in the applet itself and we then call NM::addAndActivateConnection(params), which adds a new connection and attempts to save the password to KWallet. If KWallet is not working then the password is not saved and later on if NM tries to activate the connection it asks for the password, because we told to NM it is saved on our side, but actually it cannot be found in KWallet and our deamon then prompts for the password. I haven't been able to reproduce this bug neither bug 377473.
Comment 10 Märt Bakhoff 2018-02-22 08:45:21 UTC
i think it's this networkmanager issue
https://bugzilla.gnome.org/show_bug.cgi?id=793324
Comment 11 Jan Grulich 2018-02-23 08:34:42 UTC
Oh, thank you so much for the link to NM bug, it indeed looks like this is causing this problem.
Comment 12 Märt Bakhoff 2018-02-23 09:08:06 UTC
*** Bug 365719 has been marked as a duplicate of this bug. ***
Comment 13 Jan Grulich 2018-02-23 10:39:25 UTC
*** Bug 377473 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2018-02-23 14:43:14 UTC
*** Bug 389830 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2018-02-23 14:43:17 UTC
*** Bug 389594 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2018-02-23 14:43:23 UTC
*** Bug 381578 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2018-02-23 14:43:24 UTC
*** Bug 371524 has been marked as a duplicate of this bug. ***
Comment 18 Nate Graham 2018-02-23 15:01:09 UTC
Oh how lovely it will be to have this fixed!
Comment 19 Nowshed H. Imran 2018-02-23 16:00:35 UTC
Yes, the choice is between encrypted password vs usability. What Linux people choose is obvious.
Comment 20 onitake 2018-02-23 17:52:41 UTC
Does this mean the bug has been solved in NetworkManager?
If not, I don't think it makes sense to close the bug report now, as it's still affecting plasma-nm users.
Comment 21 Nate Graham 2018-02-23 18:13:36 UTC
Yes, it has been fixed in NetworkManager.

See https://community.kde.org/Get_Involved/Bug_Reporting#Understand_what_the_resolution_statuses_mean
Comment 22 Nowshed H. Imran 2018-03-14 16:50:24 UTC
After networkmanager 1.10.6 update in arch the problem is solved. Good job guys.
Comment 23 Nate Graham 2018-04-09 17:51:10 UTC
*** Bug 392893 has been marked as a duplicate of this bug. ***
Comment 24 Oleg Solovyov 2018-08-29 15:32:21 UTC
Not resolved.

NetworkManager 1.12.2
plasma-nm 5.12.6
networkmanager-qt 5.48.0

1) Click on new Wi-fi network
2) Enter password
3) kded will ask you to create a wallet, refuse it
4) kded will ask you to create a wallet again, refuse it
5) kde will ask you to provide a password to wifi connection (wtf, i just entered it)
6) kded will ask you to create a wallet _third_ time, refuse it
Comment 25 Oleg Solovyov 2018-09-03 13:11:06 UTC
Created a revision
https://phabricator.kde.org/D15240
Comment 26 abugreporter 2018-09-30 00:31:01 UTC
*** Bug 377473 has been marked as a duplicate of this bug. ***
Comment 27 Nate Graham 2018-09-30 01:18:45 UTC
Oleg, that sounds like a different problem. This bug was seen when using KWallet, not when it was being refused. Can you file a new bug for your issue? Thanks!
Comment 28 Oleg Solovyov 2018-10-01 08:16:30 UTC
(In reply to Nate Graham from comment #27)
> Oleg, that sounds like a different problem. This bug was seen when using
> KWallet, not when it was being refused. Can you file a new bug for your
> issue? Thanks!

BUG: 399268
Comment 29 Nate Graham 2018-10-01 14:02:05 UTC
Thanks!