Post Reply

Forums -> UltraMon™ -> Rather trivial bug: Enable-Secondary-Monitors: Not restoring window positions after login
Lope   2013-07-24 13:20
I use the "Enable/Disable secondary Monitors" feature quite a lot.
I have a key binding to trigger it.
I've got 4 monitors in active use and 1 monitor ignored by Ultramon.

I do this many times per day:
1. Disable secondary monitors (they all turn off)
2. Lock workstation. (Win+L Keys)
3. Turn off my laptop's screen with Fn key.
4. Go away and do stuff in the real world.
5. Come back, turn on laptop screen with Fn key.
6. Login.
7. Press Ultramon hotkey to enable secondary monitors.
(all monitors are switched on again and restored to their previous positions).

Problem:
I must wait 5-10 seconds between step 6 and Step 7 otherwise the monitors are enabled properly with taskbars etc, but all windows remain on the laptop screen (primary monitor).

It would be nice if Ultramon could detect if windows is ready after a recent login before enabling secondary monitors. Or if it could check if window positions were restored properly, and retry if it didn't happen.

Specs:
i7 Laptop with Win7 x64, 16GB RAM
Ultramon 3.2.1
Christian Studer   2013-07-24 13:58
If you're interested I could create a script which waits a bit before restoring window positions, you could also use a hotkey to launch the script.

Christian Studer - www.realtimesoft.com
Lope   2013-07-27 03:46
Thanks, thats ok.
I can just wait myself...
There's not much else to do while I'm waiting to use my computer.

I was hoping you might be able to fix the bug so that the windows go back to their original positions.
Christian Studer   2013-07-27 12:40
Most likely it's some sort of timing issue so there's probably no fix other than waiting a bit before restoring window positions.

So far I haven't seen this on my test system, but if you would like to troubleshoot this further I could create a test version of UltraMon which writes diagnostic information to a log file to try to determine what exactly happens.

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ -> Rather trivial bug: Enable-Secondary-Monitors: Not restoring window positions after login

Post Reply