http://bugs.winehq.org/show_bug.cgi?id=28349
Summary: "Emulate a virtual desktop" intermittently causes spurious mouse-down events when switching into the desktop window Product: Wine Version: 1.2.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: silas-wine@flatline.org.uk
I am using a virtual desktop (winecfg / Graphics / Emulate a virtual desktop), running under the Openbox window manager (LXDE desktop environment) on Ubuntu 11.04. When clicking on Openbox's taskbar to bring the WINE desktop window to the front, there is some possibility (it does not always happen) that a mouse-down event is generated with a Y co-ordinate exactly 5 pixels up from the bottom edge of the WINE desktop (that is, 5 pixels as long as the WINE desktop is not too high for the X display; if it is then the Y co-ordinate will be more than 5 pixels up from the bottom). The corresponding mouse-up event is not generated, so any application that is maximized (and therefore receives the mouse-down event near the bottom) can behave as though the mouse is being dragged when it isn't, and if you then click (sending a second mouse-down event before the first has had a mouse-up) then some applications can get very confused indeed.
(The application I am trying to run is Wenlin 4, http://www.wenlin.com/. The use of a virtual desktop is needed to work around a separate bug involving Wenlin's rapidly opening-and-closing "conversion bar" window confusing Openbox into dropping keystrokes, but that one's definitely an Openbox bug not a WINE bug. I'm not so sure about this one though. I have NDA access to Wenlin's source code so I can report the above by adding printf's to Wenlin's event loop.)