Bug 501447 - Kleopatra does not keep last shown Certificate selection
Summary: Kleopatra does not keep last shown Certificate selection
Status: CLOSED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Microsoft Windows Other
: NOR normal
Target Milestone: ---
Assignee: Ingo Klöcker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-13 12:16 UTC by Thomas
Modified: 2025-03-17 09:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2025-03-13 12:16:29 UTC
Selecting "My Certificates", then quitting kleopatra and reopening it, will select "All Certificates" again.


STEPS TO REPRODUCE
1. Start kleopatra
2. Select "My Certificates"
3. Quit keleopatra (not only close window)
4. Restart kleopatra

OBSERVED RESULT
Kleopatra opens showing "All certificates"; Certificate trees collapsed.

EXPECTED RESULT
Kleopatra oppens showing the last selection "My certificates"; Certificate trees as collapesd or expanded as before.

SOFTWARE/OS VERSIONS
Windows: 10LTS
Linux/KDE Plasma: 6.11.0
KDE Plasma Version: 6.11.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION
GnuPG: 2.5.5
Kleopatra: 4.0.0.250370, Gpg4win-5.0.0-beta145

Kleopatra from Gpg4win-5.0.0-beta103 keppt the selection as expected. Certificate trees where expanded or collapsed as shown while quitting kleopatra.
Comment 1 Ingo Klöcker 2025-03-13 13:35:55 UTC
This works for me with Gpg4win-5.0.0-beta145, i.e. I started Kleopatra, selected "My own", expanded a few, but not all certificates, quit (yes, I really quit), started Kleopatra again and everything was as I left it and as you expect it.

Note that Kleopatra from Gpg4win-5.0.0-beta145 stores its configuration in a different location (%APPDATA%/gnupg/kleopatra). Earlier versions stored their configuration in %APPDATA%/kleopatra and a few other places. We do not (yet?) migrate the old configuration.

I suspect that what you observed was on the very first start of Kleopatra from Gpg4win-5.0.0-beta145. It should work as you expect for subsequent starts of Kleopatra from Gpg4win-5.0.0-beta145.
Comment 2 Thomas 2025-03-17 09:16:18 UTC
Yes, this was it.