Another reason could be that the electron version shipped with Mailspring does not yet contain the bindings for kwallet6. In that case you could try to Ensure that kwallet5 is installed an force it’s usage with the corresponding flag in the desktop file.
I am currently traveling, but will try to figure out a solution when I am back.
Unfortunately no success here: Tumbleweed KDE 20240329, KDE Plasma 6.0.3, KDE Framework 6.0.0, QT: 6.6.3, Kernel 6.8.1, Graphics: Wayland
But thanks anyway
KDE Plasma 6 is out for a while now. But still I can’t use Mailspring, because it cannot load my PW from my keychain. As I mentioned in my former post, editing the application as Tom Gariepy suggests, didn’t work for me. For now I am using Kmail instead, but let’s say the user experience is not as … smooth as with Mailspring. Will there be a fix for the PW-issue?
Same issue, kde6. none of this worked. Seems like it doesn’t get to the point during installation that any of these files exist to be edited. thunderbird installed with no issues. Guess I’m using that now.
I am sorry for the delay, but I finally got a Fedora 40 KDE running for me and was able to find a workaround that actually worked smoothly for me. Please try to use kwallet5 as the backend store for the password encryption. I have documented this here: Password Management Error - #2 by system
Please let me know if this solves the issue for you.
Rejoiced too soon.
After a reboot the solution no longer works. I have to reconnect to my Mailspring account every time. Sometimes this works, sometimes not. Starting Mailspring via command line always seems to work - at least until the next reboot.
By the way, Yast tells me that kwallet5 is not installed on my system. Trying to install it would result in practically all Plasma 6 upgrades being undone. I have therefore refrained from attempting to install it.
I saw it wasn’t working and tried the --password-store="kwallet5" steps but without initial success.
I then tried, in the KDE Plasma Flatpak settings (included in the flatpak-kcm package), adding the following permissions, adding the following Session Bus Policies:
org.kde.kwalletd5: talk
org.kde.kwalletd6: talk
Note: you can also use Flatseal to do step 4 if you’re on a different DE like GNOME.
I then edited the Application entry in the Plasma Menu using Plasma’s Menu Editor and adding the
Finally, I ran Mailspring from the Applications Menu in Plasma and volla, it works that way or if you run it from the command-line with flatpak run com.getmailspring.Mailspring --password-store="kwallet5"!
I was having the same issue, having installed via the flatpak. I read a few places that people had the same problem with the flatpak version, but switched and used the snap version and no longer had issues. So I did the same and have not had the problem again. Previously, it was every day and sometimes multiple times.
If you are still encountering this error when running Mailspring from the .desktop file but not the command line, you may be running afoul of this bug. To resolve, change the .desktop file to read
I tried launching mailspring with all the params provided in the comments
I tried using snap, flatpak and even the regular pacman version
I tried resetting my keyring
Nothing works. And I’m done. A mail client shouldn’t be this difficult to use, especially when things like Thunderbird work flawlessly first try.
Thunderbird it is I guess. Sorry mailspring… I used to love you guys