https://bugs.winehq.org/show_bug.cgi?id=53744
Bug ID: 53744 Summary: WM_SETTEXT between ANSI programs treating LPARAM as Unicode causing name corruption Product: Wine Version: 7.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: dark@darkok.xyz Distribution: ---
When sending a WM_SETTEXT to and from a program expecting ANSI strings, it seems to be interpreting the string as Unicode, causing the window title to become corrupted. Sending a wide string over then makes it work on Wine, but not Windows.
The issue was introduced in Wine 7.6, and still exists in the latest versions.
https://bugs.winehq.org/show_bug.cgi?id=53744
dark@darkok.xyz changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |d42888f07c6e3e491c99bb5c8b6 | |2b568264e990c Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=53744
--- Comment #1 from dark@darkok.xyz --- Created attachment 73188 --> https://bugs.winehq.org/attachment.cgi?id=73188 Sends WM_SETTEXT
https://bugs.winehq.org/show_bug.cgi?id=53744
--- Comment #2 from dark@darkok.xyz --- Created attachment 73189 --> https://bugs.winehq.org/attachment.cgi?id=73189 Receives WM_SETTEXT
https://bugs.winehq.org/show_bug.cgi?id=53744
dark@darkok.xyz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=53744
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |jacek@codeweavers.com Ever confirmed|0 |1
--- Comment #3 from Jacek Caban jacek@codeweavers.com --- Confirming. It looks like we will need to perform A->W conversion in process_message() in this case.
https://bugs.winehq.org/show_bug.cgi?id=53744
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |d222dcc2a47b0d4cb05c967eade | |773efcb208543 Status|NEW |RESOLVED
--- Comment #4 from Jacek Caban jacek@codeweavers.com --- Fixed in git with: https://gitlab.winehq.org/wine/wine/-/commit/d222dcc2
Thanks for the report.
https://bugs.winehq.org/show_bug.cgi?id=53744
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc2.