HandyOrg / HandyControl

Contains some simple and commonly used WPF controls
https://handyorg.github.io/
MIT License
6.18k stars 1.04k forks source link

hc:Window在全屏显示时,占据面积超出了整个显示器,在双屏时可复现 #1649

Open LickBag opened 2 months ago

LickBag commented 2 months ago

Describe the bug

hc:Window在全屏显示时,占据面积超出了整个显示器,在双屏时可复现。 如下图,左边是HandyControlDemo全屏显示且激活在前方;右侧窗口是Everything最大化窗口未激活。 比较明显的看到HandyControlDemo的关闭按钮右侧还有东西,挡住了Everything窗口 MaxModeError

Steps to reproduce the bug

打开基于hc:Windows的窗口,最大化在左侧显示器,观察右侧显示

Expected behavior

No response

Screenshots

No response

NuGet package version

HandyControl 3.4.0

IDE

No response

Framework type

No response

Windows version

No response

Additional context

No response

imoonstal commented 2 weeks ago

调试模式下是这样的,发布出来的exe就没问题了。你可以试试,我是vs2022,.net 8

Richardplus commented 2 days ago

调试模式下是这样的,发布出来的exe就没问题了。你可以试试,我是vs2022,.net 8

bro release模式下也是这样的,hc:Window加了个8,8,8,8的padding,搞不懂