Lately, I've been having more and more occurrences of this happening, and I've been unable to resolve it on my own, so hoping perhaps somebody here has any options :)
Notepad++ (v6.6.9)
Running on Windows 10 (v10.0.14393 Build 14393)
Laptop is HP EliteBook 840 G3
I work from office location (dual monitor, laptop lid closed), and at home (laptop screen + 1 monitor)
And the back and forth appears to be confusing the heck out of Notepad++
Each morning I'll boot up, and open Notepad++, and it'll be "off screen" .. it's open, but not visible.
I've tried the "Windows key"+"arrow key" trick (which works with every other window, however, for some reason, doesn't work with Notepad++)
I've tried to position Notepad++ to the "main" screen just before logging off ... no such luck (probably doesn't help that the "main screen" is different between the 2 locations :)
And checking in the Notepad++ settings, I don't see anything in the Settings => Preferences that would help.
I've checked the config.xml .. it's showing:
<GUIConfig name="RememberLastSession">no</GUIConfig>
so I'm not sure why it keeps doing this.
The only way I've been able to get the window is the "old school":
Make sure Notepad++ has focus. tap Alt, then Left Arrow, Then Down arrow twice, and Enter to select "move". Then tap any arrow key, and then move the mouse, and it'll jump onto the screen at mouse location.
Anyone have any other ideas what's going on? and how to "fix" this ?
Right-click the program on the taskbar, and then click Move. Move the mouse pointer to the middle of the screen. Use the ARROW keys on the keyboard to move the program window to a viewable area on the screen. Press ENTER.
You can do this by pressing Alt+Tab until that window is active or clicking the associated taskbar button. After you've got the window active, Shift+right-click the taskbar button (because just right-clicking will open the app's jumplist instead) and choose the “Move” command from the context menu.
This usually happens after you change screen resolution, or if you closed the application with the window in that position. In some cases, the window will open up completely off the screen; the only evidence that the application has launched will be its entry on the Taskbar.
The other answers provide workable general solutions. This following hack worked for me; it was for Notepad++ but ought to work for other apps.
Open ~\AppData\Roaming\Notepad++\config.xml
Find the line with <GUIConfig name="AppPosition"
...
Change the x=
and y=
to something more reasonable.
In my case the off-screen window had negative coordinates so the fix was obvious. If you're the tidy sort, resize the window to something you like then exit; that's the way it will come back.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With