https://bugs.winehq.org/show_bug.cgi?id=47865
Bug ID: 47865 Summary: comctl32:propsheet: Different button order for some RTL locales in Windows 1809? Product: Wine Version: 4.17 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
comctl32:propsheet fails on the new Windows 1809 Arabic VM (ww1064v1809_ar):
propsheet.c:1202: RTL locale detected propsheet.c:511: Test failed: Cancel button should be to the left of OK button propsheet.c:520: Test failed: Apply button should be to the left of Cancel button propsheet.c:529: Test failed: Help button should be to the left of Apply button propsheet.c:821: Test failed: property sheet with custom window proc: the msg 0x0046 was expected, but got msg 0x0210 instead
https://test.winehq.org/data/tests/comctl32:propsheet.html
However that test still succeeds for the Hebrew locale of the same Windows 1809 VM (w1064v1809_he), and of course on the Hebrew Vista VM (wvistau64_he).
So either the button order is different in Arabic and Hebrew despite both being RTL locales (maybe it depends on something else?), or something prevents the test from correctly recognizing the button order, or something is wrong in the new Arabic setup.
For reference, support for RTL locales was introduced in this patch (without it the test would likely fail even harder):
commit b8d01f9e1e8c44df5172c4cbfae627158930db72 Author: Alex Henrie alexhenrie24@gmail.com AuthorDate: Mon Nov 20 22:54:35 2017 -0700 Commit: Alexandre Julliard julliard@winehq.org CommitDate: Tue Nov 21 21:47:42 2017 +0100
comctl32/tests: Detect and handle an RTL locale.
Signed-off-by: Alex Henrie alexhenrie24@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org