microsoft/PowerToys

[FancyZones] Detect Minimum Window Width

Open

#3,433 创建于 2020年5月21日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C# (7,978 fork)batch import
Help WantedIdea-EnhancementProduct-FancyZones

仓库指标

Star
 (133,154 star)
PR 合并指标
 (平均合并 14天 20小时) (30 天内合并 117 个 PR)

描述

Environment

Windows build number: 10.0.19041.264
PowerToys version: 0.18.0
PowerToy module for which you are reporting the bug (if applicable): Fancy Zones

Steps to reproduce

When working with a window that has a fixed minimum width, the window snaps to a zone such that part of the window is hidden. For example, I am using the application MobaXTerm for work. This application has a minimum window width, which is narrower than the zone width. I have set up Fancy Zones such that it uses the default three-zone vertical layout. If I snap the window to the leftmost or center zones, there is no problem. However, if I snap the window to the rightmost zone, the right side of the window is cut off by the edge of the screen. (Note: this is more of a minor annoyance than anything that will keep me from using the program.)

Expected behavior

Snap the window to the right side of the zone, not the left. Overlap between the right zone and the center can be allowed. FancyZones_RightExpected

Actual behavior

See description and screenshots. The right edge of the window is being clipped when snapped to the rightmost zone.

Screenshots

Fancy Zones Layout FancyZones_Layout

No problems with window clipping on left side FancyZones_LeftNoIssue

Right edge of window clipped FancyZones_RightCutOff

贡献者指南