General discussion

Why do windows move positions after waking up from sleep?

I typically have my browser and my email client both up on my screen. I may be working on another app but they are sitting in the background. When my machine goes to sleep and I wake it up, the browser and email client have resized and moved randomly over the screen. I have to resize them and move back into position. This also happens when I shut the machine down, start it up and open the two apps. This is happening on a older Dell desktop running Win 10 Pro (upgraded from Win 7 Pro) and a new HP laptop running Win 10 home. This never happened with Win 7 or even XP. What gives?

--Submitted by Richard H.

Discussion is locked

Reply
Follow
Reply to: Why do windows move positions after waking up from sleep?
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Why do windows move positions after waking up from sleep?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
that's a good question.

I focused on this phrase "I start it up and open the two apps." Wondering if on earlier systems you had those apps opened when it went into sleep mode, since it seems now you don't. Programs on opening often have a static opening size set for them no matter what operating system is used. Does this ONLY happen with these two apps? If so, then maybe something changed in them on an update?

- Collapse -
This happens to me too...But

When I am moving around in Explorer or left clicking on a website news item and I move too quickly from one to another, the circle starts spinning, I wait, it freezes and the Windows reboots itself very quickly. When I look on the desktop, ALL the App icons on the right side are ALL on the left side, mushed in-between the icons that were already there. It gets a little frustrating when this happens since I have to move them all back again. It seems when I click from one thing to the next too quickly, this happens. So I have to learn to slow down?

- Collapse -
Check out DesktopOK

A wonderful little program/app which restores your icons to where you had them is DesktopOK. There's nothing to "install". You just download it, put it in a folder, and pin it to the Taskbar. So whenever you choose to change your icon layout, you run it and click Save. Whenever the icons get jumbled, run it and click Restore.

The freezing and quick reboot is odd - I wonder if your PC has enough RAM. My 1GB and 2GB laptops have become too slow (Win 8.1 and Win10 respectively). I suspect this is because of the extreme "density" of graphics and popups on a typical webpage nowadays. I still get very fast response time on non-cluttered webpages. e.g. Bookfinder, Ebay, Oliphantfiction, Amazon, etc. (Target and CNET pages are among the worst!) Anyway I'm giving in and getting an inexpensive 8GB laptop soon, such as the 11.6" Lenovo Yoga 710 (the one just released in July 2017).

- Collapse -
DesktopOK

Well I went to "download.com" and it offered two, one a 64bit the other not. I downloaded both and both were in German. I could not find a switch over to English or a translate, so I deleted both. Where did you get yours? In fact when I opened Explorer to my download folder and right clicked on the DesktopOK download, the circle started and Windows did a quick reboot. Amazing. My HDD is 1TB and I have 8 gigs of RAM. Actually, it just started doing this about a month ago and I suspect a Windows 10 upgrade from Microsoft might be the problem. Several upgrades came over the last month or so.
With all the 'cluttered websites' now, a great utility I have that was a Freebie on CNET is, 'Glary Utilities'. It cleans out all the cookies, pups, you name it these god-awful sites put into your computer. These 'sponsored' websites are thee worse. Stay away from those.

- Collapse -
Consider turning off Win10 updates temporarily

Majorgeeks is a safe source, and they don't add any "extras" onto the software. To check whether your PC is 64-bit or 32-bit select System on the Control Panel and then look for xx-bit Operating System. (But fyi it is always safe to run 32-bit software if unsure.)

These frequent restarts sound pretty severe. Here is a forum article with some interesting suggestions; https://www.cnet.com/forums/discussions/help-my-windows-10-machine-restarts-for-no-reason-at-all/
Besides power and heat issues, many suggest Win10 is having trouble downloading its updates. A simple way you could test this is to turn off Windows updates and see if the restart problem goes away. In my case I was so tired of having all my personalized settings disappear after Win10 updates that I decided to turn updates off on both my Win10 PCs. First turn on "Metered Connection" (google this), then download and install Ultimate Windows Tweaker; and select Security and Privacy > Disable Windows Update Service. About three months after a major build, I turn on updates again for a day or two to catch up, figuring they've had time to fix the last major build issues. Never had a virus, probably due to ZoneAlarm Virus Protection and Firewall on all PCs. (Plus never clicking on email links or downloading from unidentified sources!)

Just fyi it's a good idea to run a restore point weekly and before downloading any software. Restore points don't protect files but do protect system settings. It is very easy to restore to a prior restore point, which I do whenever my PC acts flaky. I often get a message that System Restore was not successful, but I think that just means a particular setting did not get restored, because it usually cures whatever issue I was having. (Also if you want a Restore icon on your desktop, you can google articles on this.)

- Collapse -
Desktop Restore IMHO is better.

I tried a few of those desktop programs and found Desktop Restore works better than DesktopOK. It has been a while since I changed, so I can't remember what I did not like about DesktopOK. YMMV

- Collapse -
I wonder if....

...using incorrect resolution settings for the monitor causes this to happen.

- Collapse -
your EXPLORER.EXE

your EXPLORER.EXE program is crashing. Finding the cause is another issue. You might look into your event viewer to see if you can get any clues.

- Collapse -
Display Port

This is BY DESIGN in Windows 10. Everything is automatic, you know.
It is caused by display drivers and something called Display Port.
If you put your computer to sleep it sends a signal to the monitor to turn it off (or put the monitor into sleep mode) and then Windows does not detect it immediately on resume.
Also, when in sleep mode, Windows 10 "assumes" a default display size (rather than whatever monitor's size you have.) When this changes, windows will move.
You might try disabling sleep mode, and have your computers and monitors set to "never off" which seems the only way to fix this. (Also do not manually power off the monitors.)

- Collapse -
By Design

The term "be design" means that this is the intended behavior, and that It serves a function intended by the designers of the UI.
None of what you write implies that it is by design. In fact, returning to defaults is VERY bad UI design, and is clearly an oversight by the Windows programmers.

- Collapse -
Display Port, W7 pro

I have experienced this since sometime after buying a new PC. I am near certain that it was not happening when I 1st bought my PC.

DELL OPTIPLEX
8GB RAM
I5 PROCESSOR
DISPLAYPORT input to monitor

Icons are set to organize by date created. Depending on how many there are, they might have a vertical gap in them, about one column of icons wide after switching monitor back on.

I had been using MY PICTURES SCREEN SAVER when the problem 1st began, & at that time, it also had other symptoms, most of which I have since forgotten, because after reinstalling W7, that screensaver was no longer available. But one annoying thing still remains, though it is infrequent: the audio will be gone. I need to open the monitor's menu, & change from DISPLAYPORT to LINE-IN (which I had connected, since otherwise, audio came from PC speaker*). Restarting the PC usually resolves the audio problem.

So, I contacted DELL, had the guy come over, swapped both the video card & the MB, all to no avail.

So, currently, I use PICTURES screen saver. With this, if I turn off the monitor, upon switching it on again, the screen saver will be running in the upper left hand corner, I estimate it is 800 by 600. If I use the BUBBLES screensaver, the task bar will have a 'copy' of it at about the same position (the lower edge of that 800 by 600 area). One touch of mouse, & 2nd task bar is gone. I might try other screen savers.

So, anyway, I now know that this is not entirely a malfunction of hardware, if at all.

*The PC normally switches to PC speaker when the monitor is turned off.

- Collapse -
<Control-close>

Use <Control> key when you x-out of the application. Windows will remember the position and size. One caveat... it cant be maximized.

- Collapse -
Does that work for Windows 10?

I know it works for older Windows OSes. Not sure if it works for 10, I'll have to give this a try when I'm at home on the Win 10 laptop. Thanks!

- Collapse -
That wasn't the question

<nt>

- Collapse -
please explain: I'm not a geek!!

thanks! but could you telle me precisely what you mean by "x-out of the application"
Does it mean we have to close all applications before going to sleep?
To be sure I understand, would you be kind enough describing the list of "tasks" we have to do one after one before doing PC to sleep
Thanks

- Collapse -
x out

In Windows at the top right there's an x. If you're in the program and you click that you have Xed out. (I think)

- Collapse -
to vex1

THank you for explaining!
but it implies you close the applications before getting your PC to sleep?

- Collapse -
Try the program Fences
- Collapse -
"Proggies"?

That's a bad as "hubby."

- Collapse -
Display Port...video card

Might have something to do with your video card and display port. I had an AMD FirePro V7900 card and 4 monitors. Whenever i turned off one or more of my monitors, then turned it back on, all my program windows would move all over to different monitors and i'd have to spend a fair amount of time rearranging all my program windows again. It was frustrating enough so that i just left all 4 monitors on even when only using 2 or 3 of them, and when i left the computer, instead of turning off my monitors to save power, i'd just leave them on...very annoying! I finally got a different video card, a nvidia quadro k1200 and the problem stopped, so i added another k1200 card and now i have 6 monitors on my computer and can turn one or more monitors off whenever i like and when i turn the monitors back on, my program windows are all right where i left them...Much better! ...here is a clue...when your monitor turns back on, do you hear a beep?...sounds like a beep when connecting a usb device?...that's what happened to me when i turned my monitors back on when using the AMD FirePro V7900 card....no beeping with the k1200 card.

- Collapse -
One workaround that may not require a new video card...

I had this problem, until I tried NOT clicking my mouse to wake up the computer unless absolutely necessary, and then waiting to click until the start logos for each of my monitors had displayed and disappeared. Presto! Most windows stay put, and most stay the same size. If they don't, try Xing out the window and restarting it to reset default position like AnneThackeray suggests.

This works due to a combination of ancient windows "features". There seems to be an attempt to speed startup by bringing app windows up from the last user while waiting for that user to enter his password. Clicking enter after wake brings up the last user logon, so if you move the mouse enough to start wake and then click it starts the windows. The problem is that the display port and other interface controls on your video card(s) take their time coming up on wake, and seem to go round robin from one monitor to another waiting for the logo to finish (at least with my LG monitors). So the windows come up with only one monitor recognized by the OS, while the others are waiting for the logos to display. Windows has a "feature" to fit all windows into the available monitor, left over from business people hooking up a projector to their laptops and finding their windows off-screen and unreachable, and throwing a fit complaining to Microsoft.

Post was last edited on October 5, 2018 8:20 PM PDT

- Collapse -
moving icons

I had the same problem with my desktop icons.
I now use something called desktop restore. It is very small but it works.
You might try it for your problem.
I got it free from cnet .Hope it helps

- Collapse -
HAPPENS ON EVERY COMPUTER I HAVE SINCE UPDATES

This has been a very upsetting consequence of the many updates that happen constantly. I have at least five or six computers I access constantly and it has happened on all of them. I finally found a program that just handles it. I use Winaero Tweaker - go to icons and adjust the settings until the icons quit moving around. I no longer have any problems at all.

- Collapse -
1) How to quickly resize 2) Force PC to remember size & pos

Some of the pain can be taken out of resizing by using the Winkey/arrow function. After opening a window, hold Winkey and press one of the four arrows on the keyboard. This will position and resize a window quickly. Use the up-arrow for full screen and then the left or right arrow to place windows side by side.

As another contributor mentioned, whenever the windows are not sized/positioned correctly: size and position each window the way you like and then immediately close each again by holding Ctrl and clicking the upper right X. Now open them again - the PC will remember size and position even after sleep or shutdown. (In theory it will remember forever, but in practice at least for hours or days.)

- Collapse -
Sorry, but.......

It’s called “Artificial Intelligence”. The computer knows where the windows should be and how big they should be better than you do.

- Collapse -
Re: sleep

I don't think the "why" question is relevant.

It's better to ask how to prevent it. And that's elementary: use hibernate in stead of sleep, if you don't like the way sleep works. It's as easy as that.

- Collapse -
WHY is very relevant

WHY is very relevant. I can't duplicate the problem on any of my W10 systems - I have 5.
Using hibernate instead of sleep may be a workaround, but the issue is not ubiquitous so therefore it must be a setting, software, or hardware issue.
I would rule out hardware because it is on a Dell desktop and HP laptop.
Since it is a single user, a program or a setting would be common to that user.
My first guess would be a setting. I would start with the display and resolution. Return everything there to default. If default does not suite you change only one setting at a time till you find the one causing the issue.

A software program may be troubleshot by booting in safe or clean mode - eliminate all but necessary stuff. If the issue resolves then kill one process at a time till you find it.

- Collapse -
Changing Window Sizes and Positions after Sleep

I had this same problem with Windows 10.

In my case, it definitely looked like the windows were being resized/repositioned after waking from sleep based on a lower screen resolution. I am running 1920x1080, but the windows came back smaller and shifted to the upper left as if the resolution was 1280x1024.

I am also a subscriber to Windows 10 Insider Program and get preview versions on their "fast track". I reported this problem on the Windows Inside Program Forum, but got no solution other than insisting my graphics device driver must be at fault (it wasn't), or suggesting I use a third-party app (e.g. Fences) to fix this.

Recently, newer, preview versions of Windows 10 seemed to resolve the problem for me, and this has continued including my current general release version (Build 16299).

- Collapse -
laptop or desktop

That sounds like Windows incorrectly IDd the monitor. If you have an external monitor connected with a lower resolution, that will happen.
Maybe the monitor is set for a lower resolution?????
If it is a laptop, I'm not sure how that would happen unless it had an external monitor connected.

- Collapse -
Clarification of Changing Window Sizes and Positions

No, my monitor is set to 1920x1080 and remained at that resolution throughout the sleep-wake process. When I describe the windows as being moved and smaller after wake from sleep, they were all contained within a "frame" of 1280x1024 on the upper left of the 1920x1080 display.

I say "were" because, as I described, this problem is fixed in newer builds of Win 10 such as 16299.

CNET Forums

Forum Info