https://bugs.winehq.org/show_bug.cgi?id=40244
Bug ID: 40244 Summary: PostThreadMessage with WM_NOTIFY message should succeed Product: Wine Version: 1.9.4 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: sebastian@fds-team.de Distribution: ---
The issue was encountered by a user in the #winehq channel while testing a company-internal application in Wine. Based on the provided log file I've tracked it down to the following few lines:
--- snip --- 0009:Call user32.PostThreadMessageA(00000028,0000004e,00000001,00000466) ret=0051258b 0009:Call winex11.drv.GetKeyboardLayout(00000000) ret=7e9a8476 0009:Ret winex11.drv.GetKeyboardLayout() retval=04090409 ret=7e9a8476 0009:Ret user32.PostThreadMessageA() retval=00000000 ret=0051258b 0009:Call user32.LoadStringA(00400000,0000ffc9,0033e820,00001000) ret=004071c7 0009:Ret user32.LoadStringA() retval=00000010 ret=004071c7 0009:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0033f880) ret=005125c6 0009:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b83b77c ip=7b83b77c tid=0009 [...] --- snip ---
The application is not really happy about the result of PostThreadMessageA. A quick test confirms that sending WM_NOTIFY should succeed, which means Wines is_pointer_message() function is a bit too strict here.
I'll prepare some more tests and a patch to fix it, this bug is just to keep track of the issue.
https://bugs.winehq.org/show_bug.cgi?id=40244
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=40244
Henning Lohne hlo042@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hlo042@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40244
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/user32-WM_NOTI | |FY
https://bugs.winehq.org/show_bug.cgi?id=40244
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |b4ac51effaa19b3ddf64f89b238 | |94254608b6294 Resolution|--- |FIXED
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- Fixed with b4ac51effaa19b3ddf64f89b23894254608b6294.
https://bugs.winehq.org/show_bug.cgi?id=40244
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.9.
https://bugs.winehq.org/show_bug.cgi?id=40244
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=40244
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #3 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.3.