caoyue / WindowResizer

Save and restore your windows size and position with hotkeys
MIT License
189 stars 11 forks source link

Chrome windows not auto-positioning #51

Closed GaelionL closed 1 year ago

GaelionL commented 1 year ago

Hello! Thanks for this very useful tool! Everything works perfectly for me, except for Chrome windows, which do not automatically get positioned. They do when I press the Restore hotkey though, it's only the auto-position that is ignored, and only with Chrome windows.

Maybe this happens because Chrome windows take a while to be titled (until the website loads on that window)? If so, maybe having the option to specify in some cases a small delay before trying to auto-position would help?

Thanks!

caoyue commented 1 year ago

Have you tried checking auto resize on chrome.exe with title "*"? It will ignore the title for matching. Just like the picture below, it works fine for me. image

GaelionL commented 1 year ago

Thanks for the reply. I need to differentiate them by name, because I use some websites as Chrome Apps on their own window, so the only way to differentiate them would be by the name? It is not possible as of now to automatically position/resize different Chrome Apps? Would be very cool to be able to. Thanks!

caoyue commented 1 year ago

Thanks for the reply. I need to differentiate them by name, because I use some websites as Chrome Apps on their own window, so the only way to differentiate them would be by the name? It is not possible as of now to automatically position/resize different Chrome Apps? Would be very cool to be able to. Thanks!

Oh, I get it. The program uses the title when the window is created, and if the title is not loaded at that time, it will not be matched. I will think about this and see if it can be handled by adding a little delay.

GaelionL commented 1 year ago

That would be great! Thank you very much!

caoyue commented 1 year ago

Closing as dupe of #56

GaelionL commented 11 months ago

That would be great! Thank you very much!

The new delay auto resize delay feature totally solved the problem. Thanks very much for implementing it. Just bought the app on MS store to thank you 🙂