Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple overlapping fancy zones when 'Show zones on all monitors while dragging a window' enabled #2377

Closed
fwdsimonp opened this issue Apr 24, 2020 · 9 comments
Labels
FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@fwdsimonp
Copy link

Environment

Using two monitors, one widescreen monitor and one vertically oriented monitor. The widescreen monitor is using a custom fancy zone layout while the vertical monitor is using the
"Rows" layout (see all monitor screenshot below).

Windows build number: Microsoft Windows [Version 10.0.18362.778]
PowerToys version: v0.16.1
PowerToy module for which you are reporting the bug (if applicable): Fancy Zones

Steps to reproduce

  1. Enable 'Show zones on all monitors while dragging a window' option
  2. Drag window with secondary mouse button or shift key pressed and ~3 overlapping fancy zones appear on primary monitor, causing a few second delay before any zones become droppable
  3. Disable 'Show zones on all monitors while dragging a window' option
  4. Only one zone appears per fancy zone (expected behavior)

Expected behavior

  • Fancy zone droppable areas will only appear once per zone

Actual behavior

  • Multiple overlapping fancy zones appear on screen and none are selectable for several seconds

Screenshots

Mulitple overlapping fanzy zones

FancyZonesBugAllScreen

@enricogior enricogior added FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy labels Apr 24, 2020
@stevenbeach
Copy link

stevenbeach commented May 6, 2020

I've encountered the same problem. When I originally configured the feature, it worked fine across both monitors. Single zone-layout per monitor was displayed. But as I changed physical screens (e.g. swapping monitors) and changing connections (e.g. swapping USB input to HDMI and HDMI to DisplayPort) I encountered the several overlapping zones problem as explained above.

Guessing, it looks like FanzyZones is overlaying the prior zone layouts that had been used with the monitor all at the same time vs only using the currently active layout. Turning off the "show zones on all monitors" feature fixes the multiple-zone-layouts-displayed-on-a-single-monitor problem.

Edit: killing the PowerToys process and relaunching PowerToys seems to have fixed the multi-layouts-overlay problem. I re-enabled the "show zones on all monitors" feature and is working as expected. I'll update this note if the feature starts to cause problems again.

@koppor
Copy link

koppor commented Jul 3, 2020

It was fixed here when doing following:

  1. Unlock the task bar
  2. Move the task bar to the right side of the screen
  3. Now: windows on the right are covered by the task bar
  4. Open FancyZones Zone configuration
  5. Click "Apply" (without changing anything) - In my setting, there are three columns without space inbetween
  6. Zones are readjusted
  7. Windows are rearranged to fit into the newly created zone

Note: First I wanted to write that the issue occurred when doing these steps; but when trying to reproduce it, fixed the issue.

@benjymous
Copy link

I had the same problem - there were at least three layers of zones appearing for me (I use two monitors, though I have had a tablet connected as a third a while ago)

Restarting PowerToys seemed to make it go back to normal this time

fancyzones

@enricogior enricogior removed this from To do in 0.19 release Jul 9, 2020
@benjymous
Copy link

benjymous commented Jul 10, 2020

I had this happen again today - the fancy zones were under the start menu. Restarting PowerToys fixed it again.

It's possibly related to the screen geometry changing when docking/undocking from external monitor - my Laptop always seems to get into a bit of a confused state each morning waking from hibernation, and bounces windows between montitors as it tries to decide which one is primary.

Edit:

Ok, now I have repro steps (for my machine, anyway)

  • Laptop with external monitor connected via USB-C dock.

  • External monitor is set to primary.

  • 125% zoom on laptop, 100% zoom on monitor.

  • Fancy zones configured on laptop screen.

  • Task bar on left of screen on both displays

  • Unplug USB dock cable. Wait for everything to settle down

  • Plug dock back in again. Wait again.

  • Fancy zones on laptop screen are now duplicated, and in positions offset as if the taskbar was not on the left

@benjymous
Copy link

I've found it's also fixed by just toggling FancyZones off and on again.

I'm guessing the simplest fix would be to detect that the desktop/screen layout has changed, and just reset the module

@benjymous
Copy link

I think that the #4694 fix has fixed this one, too

@enricogior
Copy link
Contributor

enricogior commented Jul 21, 2020

@benjymous
yes, it may have fixed it.

@fwdsimonp
can you check if it still repros using 0.19.2? https://github.com/microsoft/PowerToys/releases/tag/v0.19.2
Thanks.

@fwdsimonp
Copy link
Author

@enricogior So far, so good. I did a bit of testing and have not seen the issue. If it does come back, then I'll update here.

@enricogior
Copy link
Contributor

@fwdsimonp
thanks for the feedback, I'll close it for now, feel free to reopen if it comes back.
Thanks.

@enricogior enricogior added the Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. label Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests

5 participants