Skip to content
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

在 Windows 屏幕分辨率 4K 200% 缩放上的应用默认尺寸过小 #1066

Open
he0119 opened this issue Oct 13, 2024 · 4 comments · May be fixed by #1145
Open

在 Windows 屏幕分辨率 4K 200% 缩放上的应用默认尺寸过小 #1066

he0119 opened this issue Oct 13, 2024 · 4 comments · May be fixed by #1145
Labels
M 重要优先级 p: desktop 平台: 桌面 (macOS + Windows)

Comments

@he0119
Copy link
Contributor

he0119 commented Oct 13, 2024

问题描述

QQ20241013-143535

打开应用后的默认尺寸过小。

779a01e7073d4571c86046043da93e1a

调试应用后发现 dimension 获取到的尺寸为缩放后的 1080P,经过计算后仅为 540P。

656214785a782074048a9a5b0403f2f2
f7879dd11ed733ee27f6fe6167274fcc

复现步骤

打开应用。

Ani 版本号

3.11.0

操作系统

Windows

应用日志

No response

@he0119 he0119 added N 一般优先级 t: bug 类型: bug labels Oct 13, 2024
@Him188
Copy link
Member

Him188 commented Oct 13, 2024

看我注释,我电脑win11上它是没有经过缩放的,你电脑是有缩放的,那可能真没有什么办法

@Him188 Him188 added the p: desktop 平台: 桌面 (macOS + Windows) label Oct 13, 2024
@he0119
Copy link
Contributor Author

he0119 commented Oct 13, 2024

不知道我这里环境和你的有什么区别😂

@Him188 Him188 added M 重要优先级 and removed N 一般优先级 labels Oct 20, 2024
@NieR4ever
Copy link
Member

我这 win11 2560x1600 150% 是经过缩放的
image

@Him188
Copy link
Member

Him188 commented Nov 1, 2024

我这 win11 2560x1600 150% 是经过缩放的 ![image](https://private-user-

那可以参考你的实现, 然后我再测试一下

@NieR4ever NieR4ever linked a pull request Nov 4, 2024 that will close this issue
@Him188 Him188 removed the t: bug 类型: bug label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 重要优先级 p: desktop 平台: 桌面 (macOS + Windows)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants