-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
FancyZones: Bottom of windows being snapped underneath taskbar. #5935
Comments
@jeremy-cain |
This happens for me when I change monitor sizes. I use a laptop with a thunderbolt dock. If I am on the laptop, using fancy zones, then plug in the external monitor, shut my laptop and use only the external, this happens to me. Rebooting PT while plugged into the external monitor solves this issue. |
@jeremy-cain |
@revan415 |
Just noticed this myself when I downloaded a file and didn't see it on the bottom of my browser. Pulled down the top of the window, moved the whole thing up a bit and lo and behold, there it was. Edit: Tried to re-apply the template, but that didn't do anything. |
Re-applying the template (and then dragging the affected windows into the updated zones) fixes it for me. I get the same issue with the application in the bottom row going behind the taskbar in rows templates too. I had this happen after a user-switch. My monitors are connected through a USB3 dock that makes my monitors appear to be disconnected/reconnected when I switch users, so it's probably the set of available monitors changing rather than specifically a user-switch thing. I suspect that this is essentially the same issue as #5918, #4920, and #4694 |
@joshkreud |
@enricogior |
@jeremy-cain |
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. |
I'm also having the same problem with v0.23.2. I've had to create a custom layout which doesn't go as far as the taskbar, as a workaround. |
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. |
This is happening for me in 0.27. I don't know what causes it, I am not changing the zone configuration or anything about the taskbar, nor am I changing resolutions intentionally, although it's possible it happens after sleep and resume, I will do some further testing in that area. I have a single monitor (5k x 1440). I'll eventually notice that the bottom of a window extends behind the taskbar. If I re-snap it the same thing happens. If I open the layout editor and press "Apply" with no changes then re-snap, it works properly. Is there any logging, etc I can enable to debug? |
@mr-salty |
Hi, |
I have the same problem. v0.27 - 2 monitor setup. Taskbar only shown on primary monitor. |
I have this bug for one week, last week I changed DPI scaling to custom (106%) maybe it is related. |
In 0.35 there will be a fix for several taskbar issues, we didn't manage to reproduce this particular one, so we are not 100% sure it will be fixed, but after releasing 0.35 we will close the issue as fixed and then reopen it if it will reproduce. |
This has been resolved in the 0.35 release. https://github.com/microsoft/PowerToys/releases/latest |
I am having this issue. It occurs with regular Windows Snap as well, it's not specific to FancyZones. Like if I drag the window to the Windows Snap side and snap it, it will put the bottom of the window below the taskbar. I have multiple monitors, at different resolutions and different % scaling. It doesn't seem to happen on the main screen but on others. It's also a laptop, and it's possible this is related to waking up from sleep. I'm on Windows 11 also using StartAllBack to get my taskbar ungrouping and labels back. I'm pretty sure I saw this behaviour before from time to time, in earlier versions of Windows. Restarting explorer.exe sometimes (not always) seems to fix it. Sometimes, restarting explorer.exe the window will resize itself correctly when the taskbar comes back. It's working OK right now, after restarting explorer / re-applying the layout / switching back to Windows 11 taskbar and then back to old taskbar in StartAllBack. Not sure exactly which step fixed it this time. My suspicion, as I see it with Windows Snap as well, is it's some more general issue with Windows rather than FancyZones specifically. There are other reports out there going back a long way of Windows apparently forgetting about the taskbar for maximize/snap and sizing windows so they go under the taskbar (example, from 2009 on Windows 7: https://www.sevenforums.com/general-discussion/21697-bug-windows-maximize-behind-taskbar.html) EDIT/UPDATE: OK, it just happened again now. It happened after some of my monitors disconnected, and reconnected. In this instance, it only happened on one (of four) monitors, #4, a secondary display, but I have had it happen on #2/#3 secondary displays in the past. Not sure I've actually had it happen on my primary (laptop display). When it happened the two windows I had on that monitor (Tidal and Excel) both extended below the taskbar and FancyZone snapping them them mouse drag and the modifier fitted them in the zone, but below the taskbar. Snapping with Windows Snap did exactly the same thing. Restarting explorer.exe fixed the Windows Snap behaviour so now they snapped above the taskbar. But it didn't fix the FancyZone behaviour. Restarting PowerToys fixed the FancyZone behaviour. So it seems to me, this is definitely some general glitch in Windows, and explorer can suffer from it as well. But there's some point at which, apparently triggered by a monitor reconfiguration, Windows redefines the area to lose the taskbar, and both explorer and FancyZones seem to acquire that new area. But they don't resize it again when the taskbar comes back. They get the correct area then after a restart. EDIT2: it happened again. This time I tried restarting PowerToys first. That didn't fix the problem, both explorer and FZ were snapping below the taskbar. Restarting explorer fixed it for Windows (it resizes the windows when explorer comes back with the taskbar) but PowerToys was still putting the window under the taskbar on selecting a zone. Restarting PowerToys after explorer, fixes it. |
SummaryI have a similar issue as explained above, however the root cause of mine is dual monitor with different taskbar heights. DetailedI have 2 monitors and on my main monitor the taskbar height is set to two rows of icons; while the second monitor is only 1 row of icons. FancyZones favours whichever is "lower". My current solution is to run both monitors double height, which is not ideal as I lose screen real state on the second monitor where I don't need double height (I have taskbar set to show on main taskbar and the taskbar where the window is open; so I need more space on main screen and less on second screen). Refer to pictures below for better understanding.Both monitors double heightMain monitor double height, second monitor single heightMain monitor single height, second monitor double heightBoth monitors single heightConclusionWindows snap honours the taskbar height correctly. Suggested solutionIf possibleGet taskbar height per monitor and honour it per monitor. OtherwiseUse the "longest" taskbar height to avoid windows falling behind taskbar. |
This still seems to be an issue. This still happens when I change resolutions, or active monitors. It requires restarting both Explorer, and PowerToys to reset the taskbar offsets. |
@Fair-Tech please create a new issue, this is a pretty tricky item so knowing details is critical. DPIs, versions of PT, versions of windows, .... |
Ran into this today, but also noticed Window 11's normal Snapping is doing the same thing, including when FancyZones is turned off. Could it be the issue is with Windows itself, and for that reason FancyZones, is not working right? PowerToys 0.71.0 (up to date as of 7/31/2023) Displays: 5120x1440 primary, 2560x1440 in portrait to the right. NVIDIA RTX-3080/12GB, Intel i5-11600k |
Still a problem with v0.76.2 exactly as described by pouyaman above. I'm using Win 10, multi monitor where the taskbar is double height on one monitor out of 4. Fancy Zones works properly on all monitors except the one with dual height task bar as it treats it just like the other 3. It tucks the windows behind the task bar obscuring them and any attempt to use anything down there. Turning this back off. Monitors are all 4K, don't have a non-4K around to test on to see if this ever works with different task bar heights. Seems like this should have been resolved years ago. Sigh. |
Ran into this exact same problem today (v0.79.0). This has only began to materialise after swapping to an Ultrawide monitor and when waking up from sleep. The issue can be fixed if using the shortcut: |
βΉ Computer information
π Provide detailed reproduction steps (if any)
βοΈ Expected result
Bottom of windows is above taskbar.
β Actual result
Bottom of window is underneath taskbar.
The text was updated successfully, but these errors were encountered: