[Bug 9333] New: WM_LBUTTONDOWN message is not generated reliably
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(a)winehq.org ReportedBy: ecentanni(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Component|wine-winelib |wine-misc --- Comment #1 from Vitaliy Margolen <vitaliy(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #2 from Ed Centanni <ecentanni(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #3 from Alexandre Julliard <julliard(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #4 from Ed Centanni <ecentanni(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #5 from Ed Centanni <ecentanni(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #6 from Ed Centanni <ecentanni(a)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() -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com Keywords| |download, source -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 Ed Centanni <ecentanni(a)lsijax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7614|application/octet-stream |text/plain mime type| | --- Comment #7 from Ed Centanni <ecentanni(a)lsijax.com> 2007-08-16 08:25:40 --- (From update of attachment 7614) changed MIME type -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 Ben Klein <shacklein(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shacklein(a)gmail.com --- Comment #8 from Ben Klein <shacklein(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9333 Mike <pmike2001(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmike2001(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2009-02-07 03:36:04 --- Only gives me: CreateGLWindow: width 810, height 710 in git. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #10 from Austin English <austinenglish(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=9333 --- Comment #11 from Austin English <austinenglish(a)gmail.com> 2010-07-11 19:21:36 --- Created an attachment (id=29549) --> (http://bugs.winehq.org/attachment.cgi?id=29549) precompiled binary -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=9333 butraxz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz(a)gmail.com --- Comment #12 from butraxz(a)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 ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=9333 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #13 from Bruno Jesus <00cpxxx(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=9333 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.winehq.org/att | |achment.cgi?id=29549 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=9333 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #14 from super_man(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=9333 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #15 from joaopa <jeremielapuree(a)yahoo.fr> --- Still as comment 9 with wine-5.3 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9333 rebe(a)gmx.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rebe(a)gmx.net --- Comment #16 from rebe(a)gmx.net --- It is correct that #9 CreateGLWindow: width 810, height 710 gets shown, vut when you mouse click in the window GOT LBUTTONDOWN MSG LBTN down start dragging got button up GOT LBUTTONDOWN MSG and so forth. When you switch to other windows you might get: LBTN down start dragging got button up got button up GOT LBUTTONDOWN MSG In any case, it appears that the reported problem does not occur anymore -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla