https://bugs.winehq.org/show_bug.cgi?id=55337
Bug ID: 55337 Summary: user32:sysparams - Some fonts are not enumerated in test_GetSystemMetrics() for the mixed locale Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
user32:sysparams - Some fonts are not enumerated in test_GetSystemMetrics() for the mixed locale:
sysparams.c:2733: Test failed: font ?? ?? should be enumerated sysparams.c:2734: Test failed: font ?? ?? should be enumerated sysparams.c:2735: Test failed: font ?? ?? should be enumerated sysparams.c:2736: Test failed: font ?? ?? should be enumerated sysparams.c:2737: Test failed: font ?? ?? should be enumerated sysparams.c:2877: Test failed: GetSystemMetrics(SM_CXMENUCHECK): expected 11 actual 15 sysparams.c:2879: Test failed: GetSystemMetrics(SM_CYMENUCHECK): expected 11 actual 15 [...]
See https://test.winehq.org/data/patterns.html#gdi32:font
This test succeeds in the other locales which means it fails because the values it compares depend on two different Windows locales. For reference, w10pro64-mx-MX is configured with the following locales:
SystemDefaultLCID 0411 UserDefaultLCID 040c ThreadLocale 0411 SystemPreferredUILanguages 0412,0409 UserDefaultUILanguage 0412 ThreadUILanguage 0412
https://bugs.winehq.org/show_bug.cgi?id=55337
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55337
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The SM_C*MENUCHECK issue has been moved to bug 55358 since it looks like it is unrelated.