DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: Windows moving around after monitors wake up  (Read 76,518 times)

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Windows moving around after monitors wake up
« Reply #25 on: February 08, 2017, 02:52 PM »
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Windows moving around after monitors wake up
« Reply #26 on: February 08, 2017, 02:55 PM »
DesktopOk looks like it's icons only.. WilMa looks interesting and powerful, though probably overly complex for what I'm interested in..
But hopefully there is something..

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Windows moving around after monitors wake up
« Reply #27 on: February 08, 2017, 03:16 PM »
Hopefully we can find an existing program that already does this, but if not, the task can be broken up into 2 parts:

1. Code that detects when monitors are about to be put to sleep and saves last state (position, size maximization, etc.) of current windows (or alternatively simply saves them regularly).
2. Code that detects when monitors come out of sleep, and restores these positions/sizes/etc. after they FULLY wake up.
3. Code that can save and restore window states easily and without user interaction/configuration.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Windows moving around after monitors wake up
« Reply #28 on: February 10, 2017, 02:08 AM »
Another list of programs that do this kind of thing:
http://softwarerecs.stackexchange.com/questions/1816/program-to-save-visible-windows-locations-and-later-restore-the-layout

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Windows moving around after monitors wake up
« Reply #29 on: February 10, 2017, 02:13 AM »
Another thread with people crying for solution:
https://social.technet.microsoft.com/Forums/windows/en-US/8a9b5aa7-fe33-4e6d-b39b-8ac80a21fdc2/disable-monitor-off-detection-how?forum=w7itprogeneral

dr_andus

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 851
    • Writer
Re: Windows moving around after monitors wake up
« Reply #30 on: February 11, 2017, 01:00 AM »
Another thread with people crying for solution:
https://social.technet.microsoft.com/Forums/windows/en-US/8a9b5aa7-fe33-4e6d-b39b-8ac80a21fdc2/disable-monitor-off-detection-how?forum=w7itprogeneral

Hmm, having looked at that thread, maybe I should install the drivers for the newer HP monitors at my work where I experience this problem. As I said, I don't have this problem with the older LG monitors at home (for which I do have drivers installed).

So in my case it's definitely not about whether it's DisplayPort or VGA because I use the same connectors in both places. The only difference is the brand and age of the monitors and the fact that I haven't installed the drivers for the monitors at work. Otherwise it's the same laptop with the same Win 7, 64-bit, same hardware, same everything.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Windows moving around after monitors wake up
« Reply #31 on: March 08, 2017, 02:45 AM »
A new superuser post on the issue, but with no solution:
http://superuser.com/questions/1159968/multiple-monitors-windows-moving-around-sometimes-after-waking-monitors

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Windows moving around after monitors wake up
« Reply #32 on: March 11, 2017, 07:08 PM »
I am having a problem on my Win7 machine that I never had on my XP machine.

I have 4 monitors.  Overnight the monitors (not the computer) go to sleep.

When they wake up, some of the windows that were open on the desktop jump/move around to different monitors and resize.

It's really quite annoying.

Windows 7, Nvidia modern graphics cards with up to date drivers.

Any ideas how I might stop this from happening? Short of turning off the monitor sleep power options?
i have now six monitors as commented in one of our posts.
I was talking with an Asus technician until boring.
The thing seems to be a limit in the operating system or something like that.

I have the problem when the pc goes into suspend state.
I am using the utility don't sleep.

The "thing" is no finished yet. I download the utility Sleeper because the Asus Technician told me about the diffente ways or modes to suspend.

This was a month ago. Now I usually don't suspend the pc for not "lose" any monitor. I can lose 2, 4 or the 6 and need to reinitiate after any hybernation/suspension.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Windows moving around after monitors wake up
« Reply #33 on: March 11, 2017, 07:12 PM »
I don't know.
Perhaps an answer may be change the options for sleeping.

Sleeper utility may help. Running to link...
http://www.passmark.com/products/sleeper.htm

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Windows moving around after monitors wake up
« Reply #34 on: March 11, 2017, 07:19 PM »
I will answer in a few days to Asus because they put me two links (one with the microsoft list of suspended and hybernations states s0 to s5) (supposing i am a clever man) with the passmark link to test the possibilities.
I have done nothing until the moment.
:-[

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Windows moving around after monitors wake up
« Reply #35 on: April 06, 2017, 08:03 PM »
I'm being driven crazy by this behavior -- I've posted a request for someone to code an app to handle this here:
http://www.donationcoder.com/forum/index.php?topic=43694

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,888
    • Participated in NANY Challenge Six Times
    • Coding Snacks
    • Gathering Badge
    • Cody Award
    • Volunteers/Staff
Re: Windows moving around after monitors wake up
« Reply #36 on: April 06, 2017, 08:52 PM »
1. Code that detects when monitors are about to be put to sleep and saves last state (position, size maximization, etc.) of current windows (or alternatively simply saves them regularly).
2. Code that detects when monitors come out of sleep, and restores these positions/sizes/etc. after they FULLY wake up.

Or code that can detect user idle time and automatically save/restore state based on that, so that if you stop using PC for any specified length of time it will autosave, not dependent on the state of your monitors, kicking in before they sleep. Then restoring last state on any user activity (with a delay, if necessary).

Original address: https://www.donationcoder.com/forum/index.php?topic=37307.0