http://bugs.winehq.org/show_bug.cgi?id=9333
Summary: WM_LBUTTONDOWN message is not generated reliably Product: Wine Version: 0.9.42. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: wine-winelib AssignedTo: wine-bugs@winehq.org ReportedBy: ecentanni@lsijax.com
using wine-devel rpm package for Red Hat Enterprise Client Ver 5. Version 0.9.42. Release 1.el5. Source rpm is wine-0.9.42-1.el5.src.rpm
When clicking on the main window of the application the WM_LBUTTONDOWN message is not generated reliably. If I change focus to another application and then back to the subject program I may get one or two WM_LBUTTONDOWN message and then no more.
http://bugs.winehq.org/show_bug.cgi?id=9333
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Component|wine-winelib |wine-misc
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-15 15:42:58 --- First of all, how are you testing this? With what program? Using virtual desktop or not? Second, please upgrade to the latest Wine version and retest. Thirdly not critical, all applications work just fine here, and you haven't indicated any actual problems yet.
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #2 from Ed Centanni ecentanni@lsijax.com 2007-08-15 16:17:25 --- This is an in-house program developed on windows and ported to Linux via winelib. It uses all win32 calls and no MFC. I am compiling the application from source code.
I am testing by outputing trace printf statements to stdout in the WndProc function that handles all messages for the main window. There is only one window created by the application. Output is seen in the terminal when a WM_LBUTTONDOWN message is (rarely) received.
The program is running directly on the target platform -- no virtual desktops, etc.
The problem is considered critical to the successful deployment of this application on Linux. If it is not solved I will have to re-write the application using a different cross-platform framework.
Any help would be appreciated.
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #3 from Alexandre Julliard julliard@winehq.com 2007-08-15 16:20:55 --- Since you have the code of the application you should try to reduce the problem to a small test case and post it here.
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #4 from Ed Centanni ecentanni@lsijax.com 2007-08-15 17:55:20 --- Created an attachment (id=7613) --> (http://bugs.winehq.org/attachment.cgi?id=7613) program that demos problem
Code that demos problem. DragDetect() is the culprit. Remove it and the problem goes away
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #5 from Ed Centanni ecentanni@lsijax.com 2007-08-15 17:55:43 --- Created an attachment (id=7614) --> (http://bugs.winehq.org/attachment.cgi?id=7614) Makefile for Station.cpp
used to make the application
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #6 from Ed Centanni ecentanni@lsijax.com 2007-08-15 17:59:48 --- I have provided a stripped down version that demos the problem. If you remove the DragDetect() in the mouse move handler the problem goes away.
Works fine in Windows with DragDetect()
http://bugs.winehq.org/show_bug.cgi?id=9333
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=9333
Ed Centanni ecentanni@lsijax.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #7614|application/octet-stream |text/plain mime type| |
--- Comment #7 from Ed Centanni ecentanni@lsijax.com 2007-08-16 08:25:40 --- (From update of attachment 7614) changed MIME type
http://bugs.winehq.org/show_bug.cgi?id=9333
Ben Klein shacklein@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shacklein@gmail.com
--- Comment #8 from Ben Klein shacklein@gmail.com 2008-01-06 18:54:54 --- What I think is going on here is that DragDetect is dropping the WM_LBUTTONDOWN message from the queue before it gets sent to the application. MSDN seems to indicate that DragDetect waits for WM_LBUTTONUP, mouse motion, ESC key press, or moving outside a specific rectangle, and doesn't return until one of these things happens. Wine's implementation uses PeekMessageW with the PM_REMOVE flag, so the message queue is consumed.
http://msdn2.microsoft.com/en-us/library/ms646256(VS.85).aspx
http://bugs.winehq.org/show_bug.cgi?id=9333
Mike pmike2001@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pmike2001@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #9 from Austin English austinenglish@gmail.com 2009-02-07 03:36:04 --- Only gives me: CreateGLWindow: width 810, height 710
in git.
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #10 from Austin English austinenglish@gmail.com 2010-07-11 19:21:14 --- (In reply to comment #9)
Only gives me: CreateGLWindow: width 810, height 710
in git.
Same in 1.2-rc7.
http://bugs.winehq.org/show_bug.cgi?id=9333
--- Comment #11 from Austin English austinenglish@gmail.com 2010-07-11 19:21:36 --- Created an attachment (id=29549) --> (http://bugs.winehq.org/attachment.cgi?id=29549) precompiled binary
http://bugs.winehq.org/show_bug.cgi?id=9333
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #12 from butraxz@gmail.com 2012-05-16 14:00:16 CDT --- No download, no update from OP for five years. Is this still an issue in 1.5.4 or should this be closed as abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=9333
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com 2012-05-16 14:28:08 CDT --- (In reply to comment #12)
No download, no update from OP for five years. Is this still an issue in 1.5.4 or should this be closed as abandoned ?
Download in comment 11. It was present in 1.4, possibly still present in 1.5.4.
https://bugs.winehq.org/show_bug.cgi?id=9333
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.winehq.org/att | |achment.cgi?id=29549
https://bugs.winehq.org/show_bug.cgi?id=9333
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #14 from super_man@post.com --- (In reply to Austin English from comment #11)
Created attachment 29549 [details] precompiled binary
Gives me
Unexpected error, GetLastError() return value: 1407
wine-1.9.1-143-g0806b06
https://bugs.winehq.org/show_bug.cgi?id=9333
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- Still as comment 9 with wine-5.3