2018-06-05, 12:27
(2018-06-05, 08:15)aderlopas Wrote: Thanks, but how does the executable work?The source code is available on github. But in summary it logs the position (placement, size, z order etc) of every window every second. As soon as there's a change in display (sleep / monitor off etc) it stores those values and waits until the corresponding "wake up". At that point it restores every window to its former position and size and also wakes the screen up. It does that by programmatically pressing the windows key twice. It's not exactly elegant, but it works for me.
I run it and it does nothing.
I put it in shelltartup and does not solve the issue.
Is it a service?
Does it have to be scheduled to run?
Can you provide some more details on "RestoreWindows.exe"?
Regardless of the workarounds which are not acceptable in my case, will Kodi team get that issue fixed?
It isn't technically a service, no, but you need to run it at start up (or at least before you turn the monitor off). It doesn't do anything visible at all - it just runs in the background... you should see it in Task Manager. Like you, I put it in shell: startup