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

DPI 文本缩放更改时崩溃 #27

Closed
shuilan0066 opened this issue May 30, 2019 · 1 comment
Closed

DPI 文本缩放更改时崩溃 #27

shuilan0066 opened this issue May 30, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@shuilan0066
Copy link

问题现象

启用DPI后 ,改变文本缩放比例时 出现崩溃

重现步骤

  1. 启用dpi, 改变显示器文本缩放比例

我查了下崩溃dump,在这里
image

改的话,只需要加下判断就可以么,还是还有什么相关项,我是加了下判断,能继续执行了,但不知有无隐患
image

@nmgwddj nmgwddj added the bug Something isn't working label May 30, 2019
nmgwddj added a commit that referenced this issue May 31, 2019
Signed-off-by: jiajia_deng <2894220@gmail.com>
@nmgwddj
Copy link
Collaborator

nmgwddj commented May 31, 2019

这个问题的确存在,场景为不带有 LAYERED 属性的窗口没有附加阴影效果时,当 DPI 变更触发该函数时由于没有正确附加阴影所以出现崩溃,该问题已经由 11dbe93 修复。

@nmgwddj nmgwddj closed this as completed May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants