microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.19k stars 6.49k forks source link

Fancy Zones 0.79 randomly changes zone size to drop behind task bar #32274

Closed EJToll closed 1 month ago

EJToll commented 6 months ago

Microsoft PowerToys version

0.79.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

FancyZones

Steps to reproduce

2024-04-05_07-59-53 I created a three-zone template for an LG 32-inch monitor running 3840x2160 resolution driven by a MSI Radeon XTX 7900 24GB card. Using AMD Ryzen 7 5700X CPU on a MSI WiFi pro board.

Template has worked fine since inception two weeks ago -- which it was when I created it because this same problem happened on a lower version of Fancy Zones.

This morning upon starting the computer for the day, everything was fine. I walked away from the PC for breakfast, returned and the Fancy Zones are dropping behind the Task Bar. Fancy Zone editor does not appear to have a way to specify the size in pixels.

I have seen this issue dating all the way back to Fancy Zones 0.60.0 in 2022, but no solutions are proposed.

✔️ Expected Behavior

I was expecting that the zones I saved in Fancy Zone would remain the same as they were when they were saved.

❌ Actual Behavior

Fancy zone resized zones to full monitor height, ignoring the Task Bar

Other Software

No response

github-actions[bot] commented 6 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

JosephBrooksbank commented 6 months ago

I can confirm this happens to me now as well, on my primary monitor. My other monitors, using the same layout, are fine.

Also, if I turn taskbars off on my other monitors (Uncheck "Show my taskbar on all displays" in Personalization -> Taskbars") The zones do not update to fill the new space-- which they used to do. On my primary monitor, the windows are too large, and on my other monitors, the windows are too small.

JeroenEe commented 5 months ago

19066 provides a fix if you have two monitors in use. Moving the monitors around fixes the taskbar detection issue. Also mentioned this in #31972

I have not been able to reproduce this yet as I have no idea what causes the detection to turn off or just not trigger. Whatever function(s) trigger when moving around displays should be called in other scenario's as well perhaps to fix this? I can imagine that for detecting the taskbar, the functionality is there but it just is no longer triggering or being called and updating FancyZones, perhaps due to deprecation of some event or due to some api change.

jsuvanto commented 5 months ago

This happened on my main display. Both displays were off when I turned on my computer. I switched the displays on only after Windows had started. This might be a way to reproduce the problem. Switching the main display off and back on again fixed the problem. This could be a feasible workaround.

JerrettDavis commented 3 months ago

I've had this happen a few times now whenever a monitor has been turned off and on, when the computer wakes back up from sleep, or even when the graphics driver reboots (like during an install). The most consistent way I've found to "fix" it is to hit Win+Ctrl+Shift+B to reset the graphics driver.

Also of note, often when this happens, not just powertoys displays over the taskbar. Often ALL windows overlay ontop of the task bar.

BurningRubb3r commented 3 months ago

I've had this happen a few times now whenever a monitor has been turned off and on, when the computer wakes back up from sleep, or even when the graphics driver reboots (like during an install). The most consistent way I've found to "fix" it is to hit Win+Ctrl+Shift+B to reset the graphics driver.

Also of note, often when this happens, not just powertoys displays over the taskbar. Often ALL windows overlay ontop of the task bar.

That fix seems to work indeed. Thanks for sharing. Hopefully they simply fix it permanently somehow.

EJToll commented 3 months ago

Thank you!!

@. Eric Jay Toll Journalist • Photographer • Writer Phoenix, Arizona, U.S.A. @*.**@*.> 602-617-3797 mobile Website: EricJayToll.comhttps://ericjaytoll.com/ Portfolio: EricJayToll.Contently.comhttps://ericjaytoll.contently.com/ Follow “On The Toll Road” on social media @*.**@*.https://www.instagram.com/ericjaytoll/[Icon Description automatically @.https://www.youtube.com/channel/UCKWa4JuWcaj6jpP8tCEZktA

crutkas commented 1 month ago

/dup https://github.com/microsoft/PowerToys/issues/17697

microsoft-github-policy-service[bot] commented 1 month ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!