Reset "hidden" windows after monitor configuration change
Sometimes Maya windows can no longer be seen because they were saved in a position that no longer exists (because a monitor is off, or not attached). It would be helpful if Maya could automatically detect this and reset position/sizes of windows that were off-screen. Or if there were a menu option to bring all windows to the main screen.
Thanks for your feedback on this idea. It’s under review. (This does not mean that we are committing to this idea. Please read the FAQ for more detail.)
Maya 2018 and the problem still prevails.........
I stumbled on this post trying to find a solution, I just encountered this issue after unplugging a second monitor Maya is stuck in its head on the second monitor, all attribute windows open on the second monitor now and I cannot get it to reset, opened and closed Maya several times, restarted the PC, nothing helps. I do not want to delete my preferences then all else will be lost, that is not a viable solution. Maya please fix this!!!!
File>Any Window You Are Trying To Open
Click Close Under The Restore Tab That Pops Up
File>Any Window You Need
This is what works for my friends and I. It resets all the windows to appear on the main monitor. It's the fastest and easiest way I know.
close Maya, go to C:\Users\Documents\maya\2016\prefs find windowPrefs.mel delete or rename it as windowPrefs.mel.bak. Should work, Maya will generate new file for you with new display/displays information.
I brought my work computer home for the weekend, and at work I use a 2nd monitor mounted above a cintiq. But at home I just have two monitors side by side. When I used it at home, many menus (such as the hypershade) were hidden off screen. I tried several of the tricks listed here, but none of them worked. Since I knew that these hidden menus were usually kept on the upper screen, I simply reoriented my monitors in the Display Settings as if they were my work set up: one on top of the other. Bam. The menus appeared. I moved the 'hidden' menus to my main monitor and reoriented the screens to side by side again. Problem solved!
Yes please fix this! I used to use the windows trick but as of 2016 it doesn't seem to work anymore. Thanks to Sorb for the script...it worked like a charm!
...yea, and Gothica's solution works for me too! Thanks, y'all!
I'm surprised that this has been a problem since 2011, and hasn't been fixed yet. I guess because it has a viable work around?
utwoxxl's solution is what worked for me. alt+spacebar, and then close. Then when I open the window again it is within reach.
Make sure you have the windows focused (by re-opening and not clicking anywhere, if you can't focus the windows. Close it by using Sorb [Stefan] script a few comments below)
Press the following combination in order
Any arrow key
It will snap to your mouse while you can drag it around with ease. Just click for release.
I use a dual monitor setup and have the "secondary" monitor in front of me and the primary to the left -- though I use maya's main window in the secondary monitor mostly. I noticed the other day after not having used maya for several months that when I went to save, saveas, export selected, or export all that the window wouldn't show up...only the window had, but was off to the right edge of the secondary monitor and could not be clicked, moved, or resized etc. I tried ALT + SPACE to open the dialog windows move / resize / close menu items but still couldn't use move to properly move the window into place.
Instead, I simply grabbed Maya's main window by the Top Title Bar after I closed the off screen dialog window (using the CLOSE menu item command from the ALT + SPACE shortcut combo) and dragged it off to the left so the maya main application window was no longer docked and maximized. I tried the save, saveas, export etc again and it once more appeared in the center area of the screen! Magic. Now I put the main window back into place, docked and maximized and we're all set. Simple fix.
Sorb [Stefan] commented
Ok here is a script that closes the open windows and resets their position and sizes. Except for the Maya Window and Script Editor this time.
string $openWindows = `lsUI -windows`;
for ($i=0; $i < size ($openWindows);$i++)
if ($openWindows[$i] != "MayaWindow" && $openWindows[$i] != "scriptEditorPanel1Window")
windowPref -remove $openWindows[$i];
This issue is still not addressed. And as a freelancer, I must say this issue is too me more important than anything else, as it actually stops me working every time. I use at times 2 monitors, at times 2 monitors (but the left being the right one) and sometimes just 1 monitor. Maya is driving me absolutely crazy with these windows appearing off screen!!!
Please fix this in Maya 2016 (or sooner).
Ditto on this idea!
Just a hint for a workaround for now. If you want to move a window that is on a monitor that can no longer be seen.
1) Open the window (i.e. window - > UV Texture editor)
2) Notice you can not see the window (DO NOT CLICK anywhere else, otherwise you will lose the focus of the window)
3) Hold the windows key on your keyboard and use the left right up and down arrows on your keyboard a few times and the window will pop back into a screen where you can move it.
Windows has builtin functionality for this. Use the GetWindowPlacement and SetWindowPlacement Win32 APIs, and windows will never be restored somewhere invisible. Also handles maximized windows correctly.