https://bugs.winehq.org/show_bug.cgi?id=51406
Bug ID: 51406 Summary: riched32:editor fails in Wine on right-to-left locales Product: Wine Version: 6.10 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
riched32:editor fails in Wine when run in the Arabic (EG and MA) and Hebrew (IL) locales:
https://test.winehq.org/data/patterns.html#riched32:editor
editor.c:122: Test failed: [2] EM_GETLINECOUNT returned 2, expected 2 editor.c:122: Test failed: [5] EM_GETLINECOUNT returned 3, expected 3 editor.c:122: Test failed: [6] EM_GETLINECOUNT returned 4, expected 4 editor.c:122: Test failed: [14] EM_GETLINECOUNT returned 3, expected 3 editor.c:122: Test failed: [15] EM_GETLINECOUNT returned 4, expected 4 editor.c:455: Test failed: 1: expected_bytes_written=2 editor.c:455: Test failed: 2: expected_bytes_written=4 editor.c:455: Test failed: 3: expected_bytes_written=5 editor.c:455: Test failed: 4: expected_bytes_written=3 editor.c:876: Test failed: EM_POSFROMCHAR reports x=1, expected 8 editor.c:902: Test failed: EM_POSFROMCHAR reports x=1, expected 8
In both cases the failure are the same. Also the test succeeds in the corresponding locales on Windows 2004.
The test on line 122 fails because Wine returns the same values in RTL locales as in LTR ones.
https://bugs.winehq.org/show_bug.cgi?id=51406
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=51406
--- Comment #1 from François Gouget fgouget@codeweavers.com --- See bug 54590 for the EM_POSFROMCHAR failures.