Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Interface flashing #15

Closed
looksoo opened this issue Aug 7, 2017 · 4 comments
Closed

Interface flashing #15

looksoo opened this issue Aug 7, 2017 · 4 comments

Comments

@looksoo
Copy link

looksoo commented Aug 7, 2017

Hi:
Thank you for opening the code.
I have problems using QCefView, When I Change Windows operating system default font size, For example, zoom in 120% Or 150%, The QCefViewTest program interface appears to be flashing;
Run the Test examples in the CEF library, cefsimple.exe is Running normally;
The environment is as follows:
Qt 5.7.1 Win32
cef_binary_3.2623.1401.gb90a3be_windows32

@tishion
Copy link
Owner

tishion commented Aug 8, 2017

@looksoo Can you give a screenshot ? and you are using Windows 10, right?

@looksoo
Copy link
Author

looksoo commented Aug 11, 2017

1111
2222
333
@tishion Yes, win10 , has the same problem in win 8.1

@tishion
Copy link
Owner

tishion commented Aug 12, 2017

Hi @looksoo thanks for your help.
I hvave confirmed and fixed this problem. Add DPI awareness for demo projects
This problem is not caused by QCefView. It's caused by the application manifest of windows application. If you want to add support for the High DPI awareness you need create and emend the correct manifest.

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > <asmv3:application> <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> <dpiAware>true</dpiAware> </asmv3:windowsSettings> </asmv3:application> </assembly>

Or you could set this in visual studio:
E.G.

For more details:
Writing DPI-Aware Desktop and Win32 Applications

@tishion tishion closed this as completed Aug 12, 2017
@tishion tishion mentioned this issue Aug 12, 2017
@tishion
Copy link
Owner

tishion commented Aug 12, 2017

related issue #13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants