Chrome's modal dialog box stuck off screen. How to move it back permanently?
Google Chrome throws up a modal dialog box once in a while. This is the box put up by js's alert()
function.
Installing an extension also puts it up. So does this very Stack Exchange website if I hit "back" while writing a post like this one.
It's modal, so the browser's UI (the whole browser window, not just the current tab) is frozen while the dialog box is up.
My problem: the dialog box is off screen for me. I can hit <esc>
to dismiss it. I can hit <tab> <enter>
to accept it. But I can't see it. The dialog box isn't represented in the Windows taskbar as a separate window, so I can't do the old Move trick to move it back onscreen.
I've tried obvious stuff like reinstalling the browser.
How do I get this dialog box to be visible again?
If the window is active, you can press ALT+SPACE followed by m. This will allow you to move the window with the arrow keys.
Right-click the task bar and select 'cascade windows' or 'show windows stacked'. That re-arranges all the windows, including the modal dialog that this SO site created while I was writing this post :)
Try to temporarily change the monitor's resolution to another value and do Apply.
If any problem, try also using alt+Tab to position to Chrome.
The answer to this question appeared here on Stack Overflow.
https://stackoverflow.com/questions/43022839/chrome-modal-dialogs-dont-appear-locks-up-window
As it happens, disabling hardware acceleration for the browser did the trick. Clear the check from the checkbox at Settings / Advanced Settings / System / Use Hardware Acceleration.