-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Column preferences are not saved #5317
Comments
Probably related to search field clearing. Are you in the middle of a search when this happens? |
The column preference does reset after I reset my current search, but it also happens this way:
Reopen KeepassXC and the DB, and the column will be back. |
Search columns and normal view columns are different and that behavior is currently by design. |
Understandable, but I think the issue is still valid because of my previous comment. No searching was involved. |
Confirmed, the column settings are not saved. Thank you for the report! |
* Work around Qt bug that causes isSectionHidden to return false after restoring state due to the section actually only being set to 0 width. * Fixes #5317
Found the bug and fixed it. This was a two-tier problem... we were resetting the size of the paperclip and totp columns everytime a new database tab is opened. This would normally be fine if the hidden state of those columns was preserved. However, there is a Qt bug in saving the header state that only sets the width to 0 and does not preserve the hidden state! |
* Work around Qt bug that causes isSectionHidden to return false after restoring state due to the section actually only being set to 0 width. * Fixes #5317
Overview
I don't want to see the attachments column in my database, so I right-click the columns and uncheck the "Has attachments" column. I keep the database window open and scroll down a bit after that, but after 5-10 minutes the window will "reset"--the database scrolls back to the top, and the "Has attachments" column is showing again. I cannot actually get my column preferences to save.
Steps to Reproduce
Expected Behavior
Nothing should happen, my preferences should be saved and it shouldn't randomly scroll back to the top.
Actual Behavior
My column preferences are not saved and I'm randomly scrolled back to the top.
Context
I'm on 2.6.1, but the problem began with 2.6.0. I was able to change my preferences before 2.6.0 with no problems.
KeePassXC - Version 2.6.1
Revision: 9a35bba
Qt 5.15.0
Debugging mode is disabled.
Operating system: Windows 10 Version 2004
CPU architecture: x86_64
Kernel: winnt 10.0.19041
Enabled extensions:
Cryptographic libraries:
libgcrypt 1.8.5
The text was updated successfully, but these errors were encountered: