Bug 440527 - KWallet asks for password at login after each Plasma update
Summary: KWallet asks for password at login after each Plasma update
Status: RESOLVED NOT A BUG
Alias: None
Product: kwallet-pam
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.22.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-02 17:39 UTC by Timothy B
Modified: 2022-04-10 04:15 UTC (History)
2 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 Timothy B 2021-08-02 17:39:54 UTC
This is a fork of bug #436442 due to bug #436442 comment #12.

SUMMARY
Every time I update Plasma and its dependencies, and at the next and consecutive login until the next bootup, a KWallet dialog would immediately appear as the Plasma session starts.

STEPS TO REPRODUCE
1. Run system updates when a new Plasma version releases and reboot if necessary
2. Login to a Plasma session as you normally would

OBSERVED RESULT
A KWallet dialog would nag me on the center of the screen for a password when the Plasma session starts. With the splash screen disabled, it appears over a black screen a couple seconds after SDDM disappears.

EXPECTED RESULT
KWallet does not appear at login.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.6-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: Radeon RX 570 Series

ADDITIONAL INFORMATION
This is very similar to #436442, but there are some key differences:
- My Plasma setup probably does not have systemd-based Plasma startup enabled, although its service unit files exist in my system and are listed on the Systemd page in System Settings.
- Plasma wouldn't automatically connect to my WiFi network, despite the password being left untouched in the wallet.
- Rebooting the OS made the issue go away in subsequent logins and bootups and only after starting the last Plasma session in which KWallet appeared.

This behavior has been occurring in my system for the past few Plasma releases (I'm guessing around 5.21.0), and this occurs even after upgrading to a bugfix release (e.g. 5.22.1 to 5.22.2).

Please see bug #436442 comment #4 for the journal output.
Comment 1 Timothy B 2021-08-02 17:52:04 UTC
I forgot to mention in the description (comment #0) that I will post a screenshot of my desktop with the KWallet dialog the next time this happens as a result of upgrading Plasma to a new version.

And I wish there is an edit feature here because I tend to edit my posts quite often. :)
Comment 2 Timothy B 2021-09-03 17:23:45 UTC
I updated Plasma to 5.22.5 yesterday on the offending system, and I found out that this can be triggered by quickly switching to a TTY and back immediately after logging in. This time, I chose not to do this at the next login after updating, and quite surprisingly, the KWallet dialog never showed up.

Sorry for all that misunderstanding here; I'll have to mark this ticket resolved for now and make a separate one for that scenario.
Comment 3 Mathieu Jobin 2022-04-10 04:15:04 UTC
Do you have multiple wallets when you open the wallet managers