keepassxc
keepassxc copied to clipboard
Column sorting is not saved after showing expired entries
Overview
I sort entries by Title. However, it is not kept after relaunching the app.
Before restarting the app:
After restarting the app:
Steps to Reproduce
- Start the app
- Open a group with entries.
- Click on a column header to sort by that column.
- Lock the database and exit or just immediately exit.
- Open the app again. Go to the same group.
Expected Behavior
Entries are sorted.
Actual Behavior
Entries are not sorted.
Context
Checked the suggestion from https://github.com/keepassxreboot/keepassxc/issues/7686#issuecomment-1079905231 for ~/Library/Caches/KeePassXC/keepassxc.ini
as I'm on Mac. But, it is not applicable as it is not on a RAM disk.
Tried removing keepassxc.ini
but that didn't help either.
KeePassXC - Version 2.7.1 Revision: 5916a8f
Qt 5.15.2 Debugging mode is disabled.
Operating system: macOS 12.3 CPU architecture: arm64 Kernel: darwin 21.4.0
Enabled extensions:
- Auto-Type
- Browser Integration
- SSH Agent
- KeeShare
- YubiKey
- Quick Unlock
Cryptographic libraries:
- Botan 2.19.1
Delete the cache ini and reopen keepassxc, sometimes it gets corrupted.
I have the same problem, on Ubuntu. I tried removing the cache ini, but it didn't help.
Steps I followed:
- KeePassXC open, sort order is messed up
- Sorted the columns
- Made a dummy change, so the DB is saved
- Deleted the cache ini
- Closed & reopened KeePassXC
- Expired entry virtual group shows
- When leaving the virtual group, order is messed up
If I take care of the expired entries (step 6 never happens), then the order is correct. So, I'm pretty sure the problem is related to the expired entry group.
I can confirm that not showing the expired / about to expire entries works around the problem:
Tools -> Settings -> General -> disable "On database unlock, show entries that ..."
I am fixing this with my tag enhancement PR.