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

When turning on 150% blooming on a 4K screen, the rendering page will pop out of the Tabsheet border #44

Open
xmoog opened this issue Aug 6, 2023 · 1 comment
Labels
bug Something isn't working upstream

Comments

@xmoog
Copy link

xmoog commented Aug 6, 2023

When turning on 150% blooming on a 4K screen, the rendering page will pop out of the Tabsheet border
My Exe Project Manifest Set:
DPI Awareness: GDI Scaling
Execution Level: As Invoker

Delphi Ver: XE 10.4.3
Under other circumstances, it is normal

在4K屏幕下并开启150%绽放时,渲染页会跳出Tabsheet的边框,其它情况下正常.

@salvadordf
Copy link
Owner

Hi,
Selecting GDI scaling adds the following to the manifest :
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</dpiAware> <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">unaware</dpiAwareness> <gdiScaling xmlns="http://schemas.microsoft.com/SMI/2017/WindowsSettings">true</gdiScaling>

There's an unresolved issue in WebView2 when the application sets gdiScaling to true :
MicrosoftEdge/WebView2Feedback#1700

Select any other DPI Awareness value in the project options and it will work fine.

@salvadordf salvadordf added bug Something isn't working upstream labels Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

2 participants