HandyOrg / HandyOrg/HandyControl
截图没有考虑屏幕缩放比例(DPI)
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
笔记本电脑一般屏幕缩放比例一般都是125%或者150%,截图的时候没有考虑这个问题,导致最后截取的图片范围比实际选择的区域要小很多
Steps to reproduce the bug
1、笔记本电脑缩放比例调节到150%
2、测试截图demo
Expected behavior
弹出的截图窗口中的图片比实际选择范围要小
Screenshots
No response
NuGet package version
HandyControl 3.4.0
IDE
Visual Studio 2022
Framework type
.Net Framework 4.7.2
Windows version
Windows 11 (22000)
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the screenshot demo on Windows 11 with display scaling set to 150%, using HandyControl 3.4.0 on .NET Framework 4.7.2. Trace the screenshot behavior from the demo and compare the captured image bounds with the selected region; done means they match at common scaling levels such as 125% and 150%.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100