Distro: openSUSE Tumbleweed DE: KDE Plasma 5.9.4 Steps to reproduce: 1. Turn on KWallet's auto-unlocking: - Make sure your login password the KWallet password match - Install the PAM KWallet package for your distro (pam_kwallet on openSUSE) - Edit /etc/pam.d/sddm according to https://wiki.archlinux.org/index.php/KDE_Wallet 2. Store your wifi password in your KWallet 3. Open Firefox and browse the web 4. Restart the machine while Firefox is still open Expected results: - By the time Firefox launches, KWallet is unlocked and I'm connected to my Wifi network. Actual results: - Firefox opens before KWallet unlocks and has supplied the wifi module with the password; Firefox thinks there's no network connection and has to be restarted before pages will load.
In my experience, you shouldn't need to restart firefox (reloading pages should be sufficient, it is for me). Any other behavior is a bug (in firefox), in my opinion.
In your case, it may help to enable wifi connection option: "all users may connect to this network", then NetworkManager manages the secrets and will enable the connection earlier (during boot process) so it has a better chance of being ready by the time your user session starts.
Sadly something broke with the config and now my wallet doesn't automatically unlock at login anymore. Debugging that first...
> Firefox thinks there's no network connection and has to be restarted before pages will load. That's not really anything to do with kwallet. Even if we blocked waiting on kwallet, it still takes network manager a while to connect; during which firefox could load. We cannot block session restore until network manager is ready; it'd break far too many other things. We (Network manager) does broadcast when it does connect, Firefox should detect this and reload itself. Please ask firefox to fix that.
Fair enough. https://bugzilla.mozilla.org/show_bug.cgi?id=1358932