Open misterch0c opened 9 years ago
This may or may not be a bug in Windows itself, but since we don't know for certain this issue needs to remain open.
@misterch0c Presumably step (5) is "run sublime"?. Ie. you run sublime having restarted your computer with the second screen disconnected before the restart?
Presumably screen 2 is positioned to the right of screen 1. With the second screen disconnected and after your reboot, does the mouse move beyond the right edge of the screen? You can tell by moving the mouse pointer all the way to the right until it disappears. Now move it more to the right. Then move it left very slowly.
If the mouse pointer doesn't reappear instantly Windows thinks screen 2 is connected, in which case the problem you highlight is not a Sublime issue, but more likely a Windows or gfx driver issue.
You can also confirm this by looking at Windows "Screen resolution" preference (right click desktop in Win7, not sure about 8.1) which will show connected screens.
Yes that's step 5. Screen 2 is not considered plugged since my mouse can't go further than screen one.
In that case it sounds like a Sublime bug. Sublime should, at its startup, check that its window position screen coordinates are valid with respect to the screen geometry configured in the underlying OS.
Could you also check the "screen resolution" preference as well, just to confirm that the second screen is definitely unavailable to Windows.
Generally, Windows does not prevent you from moving windows outside of the viewport coordinates (programmatically). I thought it did some sanity checking when opening windows though - or maybe ST opens the window in such a way that this check is bypassed.
Currently using Windows 10 and Sublime 3 Build 3143 and I am still encountering this problem.
I think you should be able to reproduce this issue, at least I am. 1) launch sublime 2) disconnect second screen 3) turn off computer 4) turn on computer
Now I'm unable to see sublime text (3). I can open it but I don't see it I have to press win + arrow key or wipe the files in appdata