PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

After windows startup newly opened apps do not snap to fancy zone grid

Open kathodion opened this issue 2 years ago • 10 comments

Microsoft PowerToys version

0.67.1

Installation method

Microsoft Store

Running as admin

No

Area(s) with issue?

FancyZones

Steps to reproduce

Restart or boot the machine. Open some apps like edge, chrome, vs code. after fancy zone is fully started I then need to snap the apps to the correct zone and it will snap into place as expected.

✔️ Expected Behavior

app windows snap to their old position or snap their preivous fancyzone location.

❌ Actual Behavior

app has a weird sizing with a grap of approx. 10 px

Other Software

vs code, chrome, edge - any other apps I want to snap or snap by default when the machine is starting up

kathodion avatar Feb 15 '23 06:02 kathodion

Does it happen on a secondary monitor? /needinfo

SeraphimaZykova avatar Feb 16 '23 15:02 SeraphimaZykova

Hi. No, on my primary one (desktop machine).

Best regards

Pascal Odermatt

On Thu, Feb 16, 2023 at 4:59 PM Seraphima Zykova @.***> wrote:

Does it happen on a secondary monitor? /needinfo

— Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/24114#issuecomment-1433317850, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTOYLLE73OXGKJPSN3GCJTWXZFGDANCNFSM6AAAAAAU4OHWNA . You are receiving this because you authored the thread.Message ID: @.***>

kathodion avatar Feb 17 '23 07:02 kathodion

Thank you for the answer. Can you please provide also a /bugreport and a screenshot of that weird sizing to help me investigate it?

SeraphimaZykova avatar Feb 20 '23 11:02 SeraphimaZykova

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

Hi. Will do it tomorrow.

On Mon, Feb 20, 2023 at 12:54 PM microsoft-github-policy-service[bot] < @.***> wrote:

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks! [image: Report Bug] https://user-images.githubusercontent.com/11349917/133042052-4975be21-4699-4363-83c9-a8e1869d079d.png

— Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/24114#issuecomment-1436853605, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTOYLMBSGSYM3275FDQDOLWYNLPZANCNFSM6AAAAAAU4OHWNA . You are receiving this because you authored the thread.Message ID: @.***>

kathodion avatar Feb 22 '23 16:02 kathodion

I switched to permanent admin mode in the mean time, and I think that helped, but not remove the issue completely.

Message ID: @.***>

kathodion avatar Feb 23 '23 07:02 kathodion

I have this issue as well. It occurs on Edge browser and Chrome browser, and I don't think its specific to PowerToys FancyZones, as I see the same problem with Windows Snap. It has been there since Windows 10 (1903 perhaps?), still exists in Windows 11. I don't know why its only certain apps (specifically browsers) that it happens with. Here is a screenshot, note the window which was snapped to the right half of the screen is now offset up and to the left.

It would be wonderful if PowerToys could fix the issue. I have even seen it occur with third party tools like WinDock https://www.ivanyu.ca/windock/. I feel like its a specific issue with these type of windowed apps, perhaps the ones with rounded corners.

image

DarthZyll avatar Feb 24 '23 16:02 DarthZyll

attached please find my bug report zip as well. PowerToysReport_2023-02-24-12-30-20.zip

DarthZyll avatar Feb 24 '23 17:02 DarthZyll

Unfortunately, I don't see this corrected as of v0.68.0. The recreation steps are simply to use FancyZones to put an Edge browser window on the left and right halves of the screen (they are snapped properly). Then reboot the computer and relaunch Edge. It will reopen the two windows, but they are offset from the snap, such that there is a gap around the windows.

I have highlighted the gaps with red boxes in the screenshot attached. image

DarthZyll avatar Mar 02 '23 17:03 DarthZyll

I may be experiencing this behavior as well. It appears that every time Windows starts up, the application windows open near their FancyZones locations, but FancyZones is loading the "Priority Grid" template instead of my custom layout and not snapping any windows to the zones.

PowerToys v0.68.0 Windows 11, version 22H2 If more info is needed for this to be helpful, let me know what to provide.

edit: I'm probably experiencing the behavior described in #24024

pblivingston avatar Mar 06 '23 23:03 pblivingston

This was resolved with 0.68 build of PowerToys with PR #24290!

crutkas avatar Apr 26 '23 19:04 crutkas