PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

FancyZones - Window resizes/expands itself after switching desktop

Open dom6770 opened this issue 3 years ago • 8 comments

Microsoft PowerToys version

0.64.0

Installation method

Chocolatey

Running as admin

Yes

Area(s) with issue?

FancyZones

Steps to reproduce

  • A window gets assigned to 8 zones inside a 100 zones display
  • Switch to another desktop and back
  • Window resizes itself to 24 zones

Video: https://i.imgur.com/j3B4tjM.mp4

✔️ Expected Behavior

Window stays inside the assigned fancy zones.

❌ Actual Behavior

Window resizes itself and expands to other fancy zones.

Other Software

No response

dom6770 avatar Nov 05 '22 14:11 dom6770

Same here. Maybe, you have similar settings than me?

grafik

It used to work at 0.63.0

koppor avatar Nov 05 '22 22:11 koppor

Yes, it seems after deactivating the first option

Keep windows in their zones when the screen resolution changes

the behavior changes and everything works fine.

dom6770 avatar Nov 05 '22 23:11 dom6770

Hi @dom6770, can you please attach a /bugreport?

SeraphimaZykova avatar Nov 07 '22 13:11 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

ghost avatar Nov 07 '22 13:11 ghost

Hi @dom6770, can you please attach a /bugreport?

Sure! I forgot to upload it, made one when I created the issue. PowerToysReport_2022-11-05-14-47-05.zip

dom6770 avatar Nov 08 '22 14:11 dom6770

I get the last focused window changing size and position when I swap between virtual desktops, though it doesn't happen if I untick "Move newly created windows to their last zone".

Sometimes the window snaps to one of the zones on the window it was on, sometimes it moves to a different monitor and reduces the app to about 100 pixels high. I haven't been able to ascertain why the difference though.

manzanotti avatar Nov 09 '22 14:11 manzanotti

Hello.

For me the issue has the following behaviour:

  • The screen is splitted in four quarter zones and I have Keep windows in their zones when the screen resolution changes clicked.
  • When I open an application and make it full screen with the top right icon, when I switch virtual desktops and go back, the window is resized into one of the zones.
  • If now I make the application full screen by clicking on the title bar while maintaining the shift key pressed and moving the pointer so that the four zones are highlighted, when I switch desktops and go back, the window stays in place (no bug).
  • If I make the application span 2 zones with the Windows, Shift and arrow keys, the bug comes back.
  • If I make the application span 2 zones by click the title bar and the shift key, there is no bug.

I would say that the application window zone layout is not well memorized in some circumstances. For now, I work around the issue by positionning the windows by clicking on the title bar.

antoinemartin avatar Nov 13 '22 11:11 antoinemartin

Could be fixed with https://github.com/microsoft/PowerToys/issues/21668, so let's revisit in 0.65.

SeraphimaZykova avatar Nov 14 '22 13:11 SeraphimaZykova

Hi @dom6770, can you please check if it's fixed on the latest PowerToys version? /needinfo

SeraphimaZykova avatar Dec 12 '22 15:12 SeraphimaZykova

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

ghost avatar Dec 17 '22 20:12 ghost

Hi, for information the issue is fixed when switching desktops. The issue is still there however if you are going to sleep or if you power down/power-up the monitor. It's less annoying though.

antoinemartin avatar Dec 21 '22 12:12 antoinemartin

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

ghost avatar Dec 26 '22 14:12 ghost