-
-
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
[macOS] sometimes fails to display the window front when clicking the dock icon #11384
Comments
I can't replicate this at all on macOS 16. Both the menu icon "toggle window" and clicking the app icon in the dock bring KeePassXC to the front. It could be perhaps those 40% of the time you have a modal dialog or something else active that is interfering. I can replicate "Toggle Window" not working the first time. However that is technically "expected behavior" since Toggle Window hides KeePassXC to the tray icon. The first time you use it then KeePassXC will be removed from the Dock. The second time will show KeePassXC window. That menu item is not "Raise KeePassXC" I can't see anything worthwhile within the log file you posted. |
Actually take it back, slightly, I was able to replicate a state where pressing the dock icon did not bring KeePassXC to the front. It looked like the tray icon was still "activated" during that situation. You can get into this state if you activate the tray menu then click on the menu bar. The tray menu disappears but the icon is still selected and KeePassXC cannot be brought to the front at this point. KeePassXC has to be in the background for this to occur. |
I'm not sure if this is what I'm experiencing because usually I don't click on it at all, I do know that it makes the Dock icon's light disappear and reappear. I think it would be better to improve that menu "text" if possible, e.g. show it as "Hide to tray"/"Show to foreground" in different states. Or even just "Hide to tray" and put a tick in front to show the difference states.
I can reproduce the situation what you are describing.
Like I said on the first floor, I don't identify any specific correlation. |
without eliciting any further details it is impossible to correct. If you can identify any other patterns that can cause this situation it will be very helpful. |
I'll definitely add it if I find the patterns. But unfortunately I can't provide any more information at the moment, I'll keep an eye out for that. |
I actually solved this problem by writing about my findings. Im guessing all macbook owners, just like me is running Solution:(if runninging Displaylink Manager.app)
|
@hardrockhodl Thanks for sharing the info, I do use an external monitor, but I'm not using the Displaylink solution, so that's not what I'm experiencing. The Displaylink solution is to break through the limit of the number of external monitors on the Mac hardware device itself. It uses a virtual-desktop and streaming solution, which is why it requires screen capture. But I suggest you note that when you allow keepassxc window screen capture, you reduce its security. Now any apps that can capture the screen has the opportunity to obtain the information of your keepassxc window. |
@qupig Yeah, that is concerning. I'll run etrecheck to see if it can catch any logs about it. |
Overview
Sometimes clicking on the Dock icon won't show the KeePassXC App window to front, no matter how many times I click on it.
Unless I click the menu bar icon once at this time. (Normally clicking menu bar icon should display a menu, but no, this time the menu is not displayed, only the window is displayed)
Steps to Reproduce
Expected Behavior
Under normal circumstances, clicking on the KeePassXC Dock icon should bring its main window to the front.
Actual Behavior
Its main window cannot be brought to the front, no matter how many times the Dock icon is clicked.
Context
KeePassXC - 2.7.9
Revision: 8f6dd13
Operating System: macOS
The text was updated successfully, but these errors were encountered: