[Bug 37592] Filenames in themed file dialog change size

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jul 5 22:12:09 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=37592

Zhiyi Zhang <zzhang at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Assignee|wine-bugs at winehq.org        |zzhang at codeweavers.com
                 CC|                            |zzhang at codeweavers.com
             Status|UNCONFIRMED                 |NEW

--- Comment #4 from Zhiyi Zhang <zzhang at codeweavers.com> ---
Created attachment 70268
  --> https://bugs.winehq.org/attachment.cgi?id=70268
0001-uxtheme-Save-and-restore-system-metrics-in-96-DPI.txt

Confirmed with wine 6.12.

For example, the following steps will change the system metrics to incorrect
values.
1. Open winecfg, and set DPI to 192. Do not restart winecfg.
2. Change the theme to Light. UXTHEME_BackupSystemMetrics() backs up system
metrics in 96 DPI because the current DPI is still 96.
3. Restart winecfg and turn off theming. UXTHEME_RestoreSystemMetrics()
restores system metrics in
192 DPI because the current DPI is 192. So system metrics will be scaled to 1/2
of the original size.

-- 
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.



More information about the wine-bugs mailing list