https://bugs.winehq.org/show_bug.cgi?id=52637
Bug ID: 52637 Summary: comctl32:listbox test_LBS_NODATA() fails in the Japanese and Chinese locales Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
When running comctl32:listbox test_LBS_NODATA() fails in the Japanese and Chinese locales:
listbox.c:2630: Test failed: Unexpected return value 5. listbox.c:2630: Test failed: Unexpected return value 5.
https://test.winehq.org/data/patterns.html#comctl32:listbox
5 is the number of TCHARs returned by LB_GETTEXTLEN but the test expects either 4 or 8 for 32- and 64-bit processes respectively.
The failures are systematic and, as far as I can tell, happen on any machine given the right locale (for instance LANG=ja_JP.UTF8).
Also a bisect pointed to this commit as the trigger for the failures:
commit 5e75e5f66dc638ef9684f949e32a17a9df43fcdb Author: Jacek Caban jacek@codeweavers.com Date: Mon Mar 7 14:41:03 2022 +0100
user32: Introduce get_class_info.
And use it in WIN_CreateWindowEx to trigger class registration.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=52637
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |5e75e5f66dc638ef9684f949e32 | |a17a9df43fcdb Keywords| |regression, source, | |testcase
https://bugs.winehq.org/show_bug.cgi?id=52637
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |4ef69e2b5920f3bab3f82334563 | |9c83811e7a02d Status|NEW |RESOLVED
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This got fixed by the commit below:
commit 4ef69e2b5920f3bab3f823345639c83811e7a02d Author: Jacek Caban jacek@codeweavers.com Date: Tue Mar 8 14:24:03 2022 +0100
win32u: Move NtUserGetAncestor implementation from user32.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=52637
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.4.