[Bug 53653] New: winmine.exe is not scaled properly to match the output DPI
https://bugs.winehq.org/show_bug.cgi?id=53653 Bug ID: 53653 Summary: winmine.exe is not scaled properly to match the output DPI Product: Wine Version: 7.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: aros(a)gmx.com Distribution: --- Created attachment 73055 --> https://bugs.winehq.org/attachment.cgi?id=73055 winmine.exe from Windows XP with DPI set to 192 winmine.exe from Windows XP is not scaled [properly] in Wine 7.17. The menu is scaled, the client area is exactly the same as with the default DPI. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53653 Artem S. Tashkinov <aros(a)gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Other Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53653 Rose Hellsing <rose@pinkro.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rose@pinkro.se --- Comment #1 from Rose Hellsing <rose@pinkro.se> --- I'm unable to reproduce this issue with Wine 11, everything scales accordingly sha256sum winmine.exe bcff89311d792f6428468e813ac6929a346a979f907071c302f418d128eaaf41 winmine.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53653 --- Comment #2 from Artem S. Tashkinov <aros@gmx.com> --- (In reply to Rose Hellsing from comment #1)
I'm unable to reproduce this issue with Wine 11, everything scales accordingly
sha256sum winmine.exe bcff89311d792f6428468e813ac6929a346a979f907071c302f418d128eaaf41 winmine.exe
Could you post a screenshot please? I'm still using this patch because without it everything looks blurry: diff -urN wine-9.17/dlls/win32u/sysparams.c wine-9.17-disable-highdpi-support/dlls/win32u/sysparams.c --- wine-9.17/dlls/win32u/sysparams.c 2024-09-06 20:33:45.000000000 +0000 +++ wine-9.17-disable-highdpi-support/dlls/win32u/sysparams.c 2024-09-16 09:49:33.801352467 +0000 @@ -4925,6 +4925,7 @@ /* FIXME: what do the DpiScalingVer flags mean? */ get_dword_entry( (union sysparam_all_entry *)&entry_DPISCALINGVER, 0, &dpi_scaling, 0 ); + if (!dpi_scaling) NtUserSetProcessDpiAwarenessContext( NTUSER_DPI_PER_MONITOR_AWARE, 0 ); if (volatile_base_key && dispos == REG_CREATED_NEW_KEY) /* first process, initialize entries */ { I wonder if that's the reason why you see it fixed and I don't. sha256sum win* 06eb48b94f309915b5a226a0d342196e0c60ed3a97238f8d4434260d134666f3 winmine64.exe bcff89311d792f6428468e813ac6929a346a979f907071c302f418d128eaaf41 winmine.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53653 --- Comment #3 from Rose Hellsing <rose@pinkro.se> --- Created attachment 81068 --> http://bugs.winehq.org/attachment.cgi?id=81068 winmine properly scaled to 192 dpi The menu is a bit blurry on my end, but anything else renders pretty well -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53653 Artem S. Tashkinov <aros@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Artem S. Tashkinov <aros@gmx.com> --- Thanks a lot. I guess Wine 9.17 sort of fixed it. The application never supported being scaled properly anyway. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53653 --- Comment #5 from Rose Hellsing <rose@pinkro.se> --- Just applied your patch and rebuilt, it seems that the patch is what breaks the scaling since it doesn't scale for me either after applying it -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=53653 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.11. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla