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 10 HighDPI blurry #5240

Open
gabriele-v opened this issue Oct 28, 2022 · 7 comments
Open

Windows 10 HighDPI blurry #5240

gabriele-v opened this issue Oct 28, 2022 · 7 comments

Comments

@gabriele-v
Copy link
Contributor

Looks like some code should be added for DPI aware, otherwise MMEX is blurred out on Windows 10 with HighDPI (27" 4K screen at 150%):
https://docs.wxwidgets.org/trunk/overview_high_dpi.html
https://forums.wxwidgets.org/viewtopic.php?f=23&t=46699#p198279

HiDPI now working after adding: '-DwxUSE_DPI_AWARE_MANIFEST=2' when compiling my project's Windows .rc file with Mingw's windres and copying in 'include/wx/msw/amd64_dpi_aware_pmv2.manifest' from wxWidgets distribution to 'include/wx/msw' at wx install prefix location.

See also comment here:
#3779 (comment)

Hi @gabriele-v I have been reporting at wxWidgets and we were able to solve these issues. If you try to build it against a wxWidgets development version (3.3+), the blurryness should not be a problem anymore. Do want to test it? At least on Manjaro with hiDPI I don't have these issues anymore...

Actual:
image

Change this settings (which should be done automatically by the above suggested changes):
image

Correct result:
image

@whalley
Copy link
Member

whalley commented Oct 28, 2022

#5196

@github-actions
Copy link

This issue is stale because it has been open 365 days with no activity. Please update if you want to keep the issue open

@github-actions github-actions bot added the stale label Oct 29, 2023
@whalley
Copy link
Member

whalley commented Oct 30, 2023

@gabriele-v Is this still an issue now that we are using wxWidgets 3.2.3 ?

@whalley whalley removed the stale label Oct 30, 2023
@gabriele-v
Copy link
Contributor Author

Yes, still there:
image

@whalley
Copy link
Member

whalley commented Nov 1, 2023

Thanks for confirming. Will leave open.

@n-stein
Copy link
Contributor

n-stein commented Jan 26, 2024

@gabriele-v you asked in #3779

If it's someway possible to get a Windows x64 version of MMEX built on 3.3+ I'm more than happy to test it, unfortunately I don't have my dev environment up anymore to build it by myself.

You can use the AppVeyor builds on my depends-wx3.3 branch such as this one:
https://ci.appveyor.com/project/n-stein/moneymanagerex/builds/49046054

These compile 3.3.0 from the wxWidgets master branch. Note MMEX may look a bit different in these builds because the webview elements are using the MS Edge backend and I have enabled Windows dark mode support.

@gabriele-v
Copy link
Contributor Author

Unfortunately it still has the same blurring issue, but that's pretty cool with dark theme.
Could you try adding these as suggested by wxWidgets?

HiDPI now working after adding: '-DwxUSE_DPI_AWARE_MANIFEST=2' when compiling my project's Windows .rc file with Mingw's windres and copying in 'include/wx/msw/amd64_dpi_aware_pmv2.manifest' from wxWidgets distribution to 'include/wx/msw' at wx install prefix location.

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

No branches or pull requests

3 participants