-
-
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
Database view splitters are hidden if MinimizeOnStartup is enabled and no splitter sizes are configured #11013
Comments
These settings don't have anything to do with the group/preview view being collapsed. There is a calculation error somewhere that causes this to happen (once) when moving from 2.7.8 to 2.7.9. Once you resize the group and preview panel it won't happen again. I am still trying to figure out what the circumstances are that cause it, but it is not these settings. |
Although you inspired me to think a bit, and perhaps the cause of this issue is indirectly related to these settings. If your config file doesn't record the splitter sizes correctly and you update to 2.7.9 and you use minimize on startup... then it is possible that main window will have a width/height of 0 which will cause the splitters to hide the group and preview panels. I attempted to remedy this by also setting the splitter sizes after the database is unlocked, which would normally happen when the main window is shown again and having a proper width/height. |
It would make sense that those settings don't affect the group, but if it's useful in debugging the error, I tried wiping my config file, and found out that the issue ONLY happens when those two specific settings are enabled, and persists, even after restarts and reboots. If either of those two settings are disabled, both panels show up like normal. Even in a config file with nothing but P.S. Wild how we commented at the same time. |
Thank you for the additional context, I will try to see if my fix prevents the issue with the config file wiped but those settings applied |
Confirmed, that is exactly what happens and what causes the bug. I also noted that if you never resize the KeePassXC window then your splitter locations will never be saved to the config file. That could explain why a handful of people experienced this problem. I will think of a fix for that problem as well. |
Perhaps it shouldn't be possible to hide "group view" completely simply by resizing it. Maybe a dedicated option under the "View" tab - like the "preview panel" has - could be a solution? |
That feature was added at the request of end users who don't want to use groups. I agree though, we should only fully hide the panel if it is explicitly disabled in the view menu. |
I do not understand if this issue is related to mine :) |
IMO, dragging the splitter all the way is a quick and convenient way to disable the group view (or similarly hide other panels). E.g. I don't think you should enforce any minimum panel size. However:
|
Overview
Enabling both "Minimize window at application startup" and "Show a system tray icon" causes the outside bordering window (the Groups view on the side, the Searches and Tags menu, and the entry details on the bottom) to not appear when the database is unlocked.
Steps to Reproduce
MinimizeOnStartup=true
in~/.config/keepassxc/keepassxc.ini
).ShowTrayIcon=true
in~/.config/keepassxc/keepassxc.ini
).Expected Behavior
The outside bordering window (the Groups view on the side and the entry details on the bottom) is visible.
Actual Behavior
The outside bordering window is not visible. Neither the Groups view, the Searches and Tags menu, nor the entry details are present. The only things shown are the entries in the current group and the menu and tool bars.
Context
KeePassXC 2.7.9
Revision 8f6dd13
Operating System: Fedora Linux 40
Desktop Environment: KDE Plasma 6.1.1
Windowing System: Wayland
Full Debug Info
KeePassXC - Version 2.7.9
Revision: 8f6dd13
Qt 5.15.14
Debugging mode is disabled.
Operating system: Fedora Linux 40 (Forty)
CPU architecture: x86_64
Kernel: linux 6.9.6-200.fc40.x86_64
Enabled extensions:
Cryptographic libraries:
The text was updated successfully, but these errors were encountered: