manutalcual/winredock

After reconnecting second monitor some windows are resized with black screen and not usable anymore

Opened this issue · 5 comments

Hi,

I have disconnected my second screen and after I reconnect it sometimes the windows are getting resized to the wrong size.

See the attached screenshot. The black bar is the whole screen and the window isn't usable anymore (the window was fullscreen before. I can click anywhere on the black bar and the window reacts as if it had the correct size. e.g. If I click to the top right the window will be closed). I have to close the window and reopen it again.

2020-08-11 13_16_37-Window

Best regards,
Philipp

Hi Philipp,

Sorry for the late response.
Unfortunately I don't even have a Windows machine to work and test on.
I'm going to try to test on a Qemu virtual machine but I can't promise anything as I don't have much time for this. Sorry.

Thanks for taking the time to report this failure, though.

Kind regards,

Manuel

Hi Manuel,

I know how it is to develop in your free time so I am already happy that this tool exists 👍 .

Best regards,
Philipp

Hi Philipp,

I've had some time to work on Winredock. I don't know if it solves completely your problems, but I think you may try the binary (or compile) under the 0009-vs-community-2019 branch.
I think it works better.
About the wrong windows sizing: ¿is one of your monitors scaled (i.e. one is a laptop)? Because if that's the case I'm working on that in #21 .

Manuel

Hi Manuel,

correct. I have the laptop connected to two monitors (so I have laptop display and two more displays connected).
I will try it out and let you know.

Thanks for your effort.

HSAR commented

Hi Philipp,

I've had some time to work on Winredock. I don't know if it solves completely your problems, but I think you may try the binary (or compile) under the 0009-vs-community-2019 branch.
I think it works better.
About the wrong windows sizing: ¿is one of your monitors scaled (i.e. one is a laptop)? Because if that's the case I'm working on that in #21 .

Manuel

The 0009-vs-community-2019 is working quite well for me - it's fixed the black windows problem of this issue. A few windows don't restore to the correct size when I re-dock, but they're on the right monitor so I'm very happy already.

I'm running Windows 10 with two additional monitors without scaling (text size is 100%).