microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.99k stars 6.53k forks source link

[FrancyZones] "Move newly created windows to their last known zone" support for PWAs installed from Chromium Edge #652

Open AkazaRenn opened 4 years ago

AkazaRenn commented 4 years ago

Summary of the new feature/enhancement

Please support those PWAs installed by Chromium Edge which are opened in individual windows on the "Move newly created windows to their last known zone" function, for now they are opened up in a very strange position (mostly out of the screen)

enricogior commented 4 years ago

Hi @AkazaDorian which version of PowerToys are you running? With v0.12.0 and later, PWA windows should be snapping to zones, if they don't work for you can you please report the Edge Chromium version and the spcific PWA that doesn't snap? Thank you.

AkazaRenn commented 4 years ago

Hi @AkazaDorian which version of PowerToys are you running? With v0.12.0 and later, PWA windows should be snap to zones, if they don't work for you can you please report the Edge Chromium version and the spcific PWA that doesn't snap? Thank you.

Sorry that was confusing, I have updated the title and hope it could clear it out

enricogior commented 4 years ago

Thanks for the clarification.

WinObs commented 4 years ago

Was just sent to this issue because of my own experience with PWA's.

If I place a PWA in a certain zone - any time after that when I open the browser it is "installed" from - that new window also follows the PWA to the same zone.

I use a 2/3 / 1/3 configuration for FanzyZones with the largest zone on the left side of my screen. So my example is the Twitter app installed from Edge Canary. Open the app and place it in my 1/3 zone. Next time I open Edge Canary, that new window also opens in the 1/3 zone. If I move it back over to the 2/3 zone where I would prefer the browser to open - then the next time I open that Twitter PWA then it also opens in the 2/3 zone.

Jay-o-Way commented 2 years ago

Maybe a bit of info - as far as I know - The PWA's are basically "special versions" of the browser. That means they are opened as the default .exe files followed with a parameter that is handled by the browser. So, differentiating between the same exe file is pretty difficult...

AkazaRenn commented 2 years ago

Not sure if it's because FZ uses process names to decide which zone the app is supposed to go to. If there's a way to get the information like the Processes tab of Task Manager has, then it should be able to be solved screenshot_2022-08-11_09-01-10

Jay-o-Way commented 2 years ago

It is. The things you can see in Task Manager are windows (or window titles)

AkazaRenn commented 2 years ago

It is. The things you can see in Task Manager are windows (or window titties)

I feel like window titles are more applicable to FancyZones rather then process names?