Bug 340135 - kwallet gpg prompt appears too late after login, wifi already failed and shows password prompt
Summary: kwallet gpg prompt appears too late after login, wifi already failed and show...
Status: RESOLVED DUPLICATE of bug 339767
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-19 19:29 UTC by Vincent Petry
Modified: 2014-10-21 07:50 UTC (History)
0 users

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 Vincent Petry 2014-10-19 19:29:34 UTC
Hardware:
Dell XPS 13
SSD drive (which could influence the speed of app loading)
Using wifi network with WPA

Versions:
KDE 4.14.1 from openSUSE RPMs
openSUSE Factory (close to the upcoming openSUSE 13.2)

Steps to reproduce:
1. Login to KDE
2. Observe the splash screen attentively
3. As soon as the desktop appears, enter kwallet gpg password

Expected result:
When logging in, the network init (time spent on the planet icon) should be fast.
After login, only the kwallet gpg password prompt must appear.
After entering the kwallet password, the wifi connection must be established.

Actual result:
When logging in, network init time takes longer than previous versions (previous was openSUSE 13.1)
After login, TWO password prompts appear, one from the kwallet gpg backend and one for the wifi password from the network manager.
To make the network work I need to:
1) Type in the gpg kwallet password (as expected)
2) Close the wifi password prompt
3) Open the network manager applet and click on "Connect" for the network to force it to reconnect and use the kwallet password this time. At this point, the network connects fine.

Having to do these three steps every time after logging in is a bit inconvenient.

There is probably a race condition where the network manager waits for kwallet / gpg backend (the delay on the planet icon) but it times out so it shows the wifi password prompt instead.

Not sure if reproducible on other envs. Note that I have a SSD which makes logging in quite fast, maybe too fast...
Comment 1 Vincent Petry 2014-10-19 19:30:14 UTC
Note: when I had openSUSE 13.1 on this machine I used the other (non-gpg) kwallet backend, not sure if related. If needed I can do some tests with the other backend to see if this is a regression.
Comment 2 Vincent Petry 2014-10-21 07:50:34 UTC
Duplicate of https://bugs.kde.org/show_bug.cgi?id=339767

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