-
-
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
Setting MinimizeOnStartup=true won't allow the main window to ever show on MacOS #2280
Comments
Looks like this is a mis-implementation of the "minimize on startup" feature. Changing:
|
This may be related to issue #1727 |
MinimizeOnStartup=true
won't allow the main window to ever show on MacOS
MinimizeOnStartup=true
won't allow the main window to ever show on MacOS
@weslly can you confirm? |
I can reproduce #1727, but not this issue.
Currently this button quits the application instead of closing the window, unlike the regular OSX behavior, but this would be another bug. |
I did end up upgrading from 2.3.3 to 2.3.4 in an effort to see if any issue I was seeing had been resolved in the later version. I can confirm that X button closes the app which is only slightly unexpected given Mac application semantics. It was setting the "minimize on startup" that caused a problem for me. I will try to get better steps-to-reproduce now that I know what the "fix" was (and thus reverse-engineered the root problem... it had nothing to do with closing the main window). |
Yes, this reproduces the issue for me in 2.3.4:
Result: application window shows, then disappears. I haven't found a way to bring it back. Expected: application window starts minimized (it's okay to show, then minimize), but can be brought back up by clicking on the dock icon The only way I was able to get the application window to come back was to hand-edit the keepassxc.ini file and change |
Do you have any third party software installed that modifies the behavior of the dock or tray in any way? |
Not that I know of. This is a 3-week-old laptop so I haven't had a lot of time to break it, yet :) |
I have the same issues on a brand new installation of OSX Mojave. I am also seeing some strange window behavior. The 'minimize window at application startup' is checked, but it always starts maximized. So my behavior is even different from @ChristopherSchultz' behavior. When invoking the auto-type function, the KeepassXC window focusses if it was minimized, then the auto-type window opens, causing the auto-type function to use the KeepassXC window title to find entries. |
@martijnjanssen The auto-type issue is documented elsewhere several times: #2326, #1982, #1216, #947 |
I can confirm that this bug still persists in 2.4.0. Fortunately @ChristopherSchultz workaround still works 😉 |
I disagree, I cannot replicate this issue at all. As a matter of fact, for me minimize on startup doesn't work at all on MacOS. |
I stumbled upon this right after update to 2.4.0 (MacOS Mojave 10.14.4, installed via
and changing to |
Begging your pardon, but I can reproduce this every time using KeePassXC 2.4.1 and I'd like to reopen this bug report. Steps to reproduce:
Result: KeePass main window is not possible to view. Clicking the icon in the dock causes KeePassCX application to gain focus; menubar is visible when the application is active, but the main window is always hidden. I have a single display (MacBook Pro internal) and no funny window management in play. Four-finger-upward-swipe to show all windows does not show KeePassXC's main window anywhere. My dock happens to be on the right side of the screen and not the bottom. Everything else is pretty standard MacOS. Version/debug info: Qt 5.12.2 Operating system: macOS Mojave (10.14) Enabled extensions:
Cryptographic libraries: |
I'll take a look |
I had this issue with v2.5.3 too. I reported in a duplicate issue #4266 (sorry!). In my case it happened because I set the dock behavior of KeePassXC to show on all desktops (right click on the dock icon, options, show on all desktops). If I switch back to "without", window to unlock database shows up but does not minimize after unlock (this happens only if I set With "show on all desktops" I can use autotype (unlock screen appears, selection what to paste), but I am unable to open the main window (as reported here). |
Thank you for the tip, that might be the differentiating factor. |
Yes, that might be it. I definitely have mine set to "appear on all desktops" as well, and probabyl have had that since initial installation. |
How is that set? I tried doing this on my Mac mini and couldn't figure it out. Screenshot or guide would be appreciated. |
Right click or long click on the dock icon. Then choose options, show on all desktops. |
Fixed in 2.6 |
Title is summary. Details below.
Expected Behavior
When launching KeePassXC, its main window is visible.
Current Behavior
When launching KeePassXC, its main window is not visible.
Steps to Reproduce (for bugs)
Actually... no windows are showing. Launching KeePassXC from the dock or the command-line causes the main window to show briefly, then disappear. Clicking the dock icon does nothing. Right-clicking the dock-icon gives no options for any windows. Clicking "Show All Windows" gives the message "No available windows". Clicking on the application menu and selecting "About KeePassXC" does nothing. SHIFT-Click on the dock to launch in "safe mode" (which must be supported by the application) doesn't do anything.
Interestingly... using the global hotkey for auto-type works! So the database is indeed open and I can interact with it... I just can't see it, find entries, add/edit/remove entries, etc.
Debug Info
KeePassXC - 2.3.4
The text was updated successfully, but these errors were encountered: