-
-
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
KeePassXC can be stuck off-screen on Windows 10 #2894
Comments
I bet its starting on another desktop. Try WIN+TAB which will show all applications and desktops. WIN is the windows key on the keyboard. |
When I try that it does show as one of the windows. When i click on it though nothing opens up. It is interesting because the preview as the preview only has the Name of the window across the top but the rest of it is just a white screen. Also tried uninstalling and reinstalling. Same problem. |
Hopefully this bug is fixed in version 2.4.0 because i liked it better while it was working but for now I was able to find all the old versions of KeePassXC and reinstall the last version I had that was working! Here is where I found the link for the old files in case someone else runs into this problem. https://github.com/keepassxreboot/keepassxc/releases |
At this point there is nothing to fix as it is not happening to anyone else, myself included. |
For me KeePassXC 2.4.0 is also starting off-screen on Windows 10 (it is opening, the window is just placed outside of the viewport). This did not happen before (2.3.x), but now I do have to move the windows on-screen (hover over task icon for KeePassXC, wait for window thumbnail to show up, right-click that, click "Move", use any cursor key to have the mouse capture the window, place it with the mouse) after each startup. This happens on a dual-screen setup with 2x4K @ 150% scaling and Nvidia drivers, if that helps with reproducing the issue. I did not yet try to downgrade again. |
I am not sure whether it started right away for me; it probably started only a few days ago. @CraigOrrell describes it as starting only a few days after updating. Let's see, this might indeed be an Nvidia issue. Nvidia released a driver (419.67) one day before (2019-03-25) this started to happen for @CraigOrrell and I do know that I have updated only recently to that version. Now, the problem may be with 419.67, possibly multi-screen setups and maybe some incompatibility with KeePassXC. Not sure whether KeePassXC or Nvidia are at fault here, but it might be a combination of 2.4.0+419.67...? |
I also have a dual monitor setup. I use a Lenovo Thunderbolt 3 Graphics Dock. Featuring an integrated NVIDIA GeForce GTX 1050 card. I don't recall if the problem was present when I had it unplugged from the dock. (I might have not used it on the go when that problem was present). @luzat, Are you using a laptop? If so does it happen when you are using the laptop's integrated graphics card? Happy to see the whole "nothing to fix as it is not happening to anyone else, myself included." was a bit of a knee jerk response." Hopefully this apparent compatibility issue gets fixed up in time. |
We cannot fix anything that we cannot reproduce and where we don't known what's causing it. |
I was facing the exact same problem on a laptop running 2.41 on Windows 1809. The problem has only occured with the integrated screen but not when using the noteboook's dock and a dual monitor setup. @phoerious Renaming the config file solved the issue for me. KeePassXC is now opening again. |
Definitely opening off screen |
Same issue here. I was unable to get the window back. The preview in the taskbar and the desktop overview shows an empty white window. I fiddled a bit with the configuration properties and it seems the MainWindowGeometry is causing it. I have to purge the value to have the window show up again. I could share the original ByteArray value (i assume it does not have any semi-sensitive information in it?) Version: 2.4.1 on Windows 10. Edit: Now i re-read the other comments it might be a slightly different issue. I was unable to get the window back using the move function. |
Same issue here as well. Running 2.4.1 64bit on a laptop, dual screen setup at home but the problem occurred on the road with only the build-in screen. Some additional system information: Removing the config directory |
Same issue here : Running KeePassXC 2.4.1 on a dual screen setup laptop. Also can't move the window back. it seems to be in a fixed pixel location which is offscreen and can't be moused onto, rather than a relative location to the "primary screen" |
Did some research on this one... apparently Qt is supposed to detect if the application is trying to open off-screen and move it back on screen. This might be a bug in Qt 5.12. https://doc.qt.io/qt-5/qwidget.html#restoreGeometry This might be related https://bugreports.qt.io/browse/QTBUG-70721 |
Issue appears to be resolved in 2.4.3, I can no longer reproduce it when disconnecting the extra screen Scratch that commentIssue is still present in 2.4.3 same laptop same monitor setup, difference being which screen the GUI is located on when the laptop is disconnected, and if the screens are pulled out before or after hybernation |
As a workaround you can force the window to maximise using the task bar preview, and then it comes in off the other screen location |
Please be explicit about what state causes the failure. |
Sure thing: Dell Laptop using two external screens, one DisplayPort, the other HDMI, Windows set to Desktop:Extend so all three screens are one large pixel space (not mirrored, or alternative win10 "Desktops" ), DisplayPort screen is set as primary (# 1) screen, laptop built-in screen is # 2. Open KeePassXC, move to laptop screen # 2, close KeePassXC, close the lid of the laptop (Windows Sleep) Unplug the screens. Open laptop, wake up windows, open KeePassXC, app shows as Open on the taskbar (preview shows) but is not onscreen (new primary # 1 being the laptop screen). Can minimise app to taskbar but clicking "show" places it back off to the right where Screen # 2 might have been, can't mouse onto the KeePassXC GUI as it's outside screen area. Simple recovery is as above workaround - maximise forces the resize to Screen # 1 dims. can then resize as normal. but looks like the same QT bug |
Yes this is most definitely a Qt bug. Does exiting and re-starting KeePassXC in this broken state cause it to move back to the laptop screen? |
No, using the taskbar preview to close and then restarting the app seems to keep it in the same postion as far as I can tell, same with using the Task Manager to kill it and restart. |
Do you have the tray icon enabled? If so closing from the taskbar will minimize it to tray. Killing from task manager results in the window position not being saved on exit (which may or may not matter). Either way, Qt should be re-positioning the window to be "on-screen" when we try to restore the window geometry. For my testing purposes, can you paste the value of MainWindowGeometry and MainWindowState found in 'c:/users/[username]/AppData/Local/keepassxc/keepassxc.ini` after you exit KeePassXC in the failed state (not killed). example: |
current settings: "Show a system tray icon" : unchecked |
can reproduce exactly now, current geometry string is :
|
With either one of those bytearrays, KeePassXC starts on my primary monitor in the middle (indicating it rejected the geometry). Both of those bytearrays also contain invalid characters ( |
Hi, While this happens to me frequently I am unable to reliably reproduce at this time. I will try to find a pattern that causes this. My work laptop is the one I have noted this on and it frequently is on and off the dock as well as going to sleep. Thanks, J |
I'm fairly confident this is a Qt bug |
I believe you if you think it is likely a framework issue with your familiarity with the code. I would have thought it best to try and make that certain and then open an issue with their project but I am not really positive if that's the case. Do you know how upstream issues are normally handled? (I don't) |
I would even blame Windows here. Opening a window off-screen shouldn't be possible. |
I am Having a similar issue. When I click the X in the upper right corner of the main window to close and exit from KeepassXC the window closes and the icon on the task bar no longer shows the process as running. But i cannot start a new KeepassXC process either. I find in the task manager's detailed view that there is still a running KeepassXC process. When I end that process I can start a new KeepassXC and the sign in page appears. |
@roboticistmark @phoerious I haven't had this issue occur in a bit (I think once in either sept / oct but not since), have either of you? Perhaps it was fixed upstream? This was happening about weekly prior but I could never draw a pattern of cause so I'm just guessing here. I didn't see any notes about updating QT at all in the releases so it seems not to be tracked there and I don't know enough from the source to figure that out. |
We certainly didn't touch anything in our code regarding this. It could very well have been a bug between Qt and Windows 10 and it was fixed on the Windows side. I am closing because its not reproducible and seems to be resolved (no new complaints received). |
This is still an issue on 2.4.3, i can replicate it. If i connect my laptop to a dockingstation with 2 monitors then move the window to non primary screen and then restarts computer and remove dockinstation. Then the window starts offscreen. The only solution was geometry fixing in my case. |
This happened to me in Windows 11: I was using yesterday a secondary monitor with my latptop at work in the offie. Keepass was in the secondary monitor. Today at home I only have my laptop (no secondary monitor). Keepass stays out of the main monitor ... but any suggested method I found out there is not working (specially because the cascade windows functionality seems to have been removed in Windows 11 ...). |
KeePassXC suddenly won't open on windows 10. I upgraded from 2.3.4 to 2.4.0 about 5 days ago and the problem only started yesterday.
I click to open the app and the usual thing that opens asking me to enter my master password doesn't show up.
There is the KeePassXC logo in the bar at the bottom of the screen on the left and when I use Ctrl tab I see a window for it but nothing opens when I click on the icon or release the tab key. The KeePassXC icon on the right in the system tray changes from green to grey.
Any ideas of a solution.
The text was updated successfully, but these errors were encountered: