manutalcual / winredock

Rearrange windows on traybar icon click after docking the laptop
GNU General Public License v3.0
533 stars 32 forks source link

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

Open nosTa1337 opened 4 years ago

nosTa1337 commented 4 years ago

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

manutalcual commented 4 years ago

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

nosTa1337 commented 4 years ago

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

manutalcual commented 4 years ago

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

nosTa1337 commented 4 years ago

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 4 years ago

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%).