[Bug 52637] New: comctl32:listbox test_LBS_NODATA() fails in the Japanese and Chinese locales
WineHQ Bugzilla
wine-bugs at winehq.org
Tue Mar 8 17:39:44 CST 2022
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 at winehq.org
Reporter: fgouget at 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 at 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 at codeweavers.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
--
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