[Bug 30421] New: obscure GDI Message Queue + Focus bug

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 12 09:10:17 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30421

             Bug #: 30421
           Summary: obscure GDI Message Queue + Focus bug
           Product: Wine
           Version: 1.3.37
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: lkcl at lkcl.net
    Classification: Unclassified


ok, this is a rather obscure bug that i've been experiencing for quite some
time, but hadn't got a handle on any of the functions being used, so couldn't
really provide a useful report.  as i am now running pyjamas-desktop which uses
python ctypes bindings to gdi32 (!!) i can now provide useful feedback.

please see the following file, the GetMessage loop towards the end:
http://pyjs.org/pygit/#file=pyjd/mshtml.py&id=0d4b6787d01c3d90f2c8801c5c4c45e34145bbdd&mimetype=text/x-python

basically, the repro is as follows:

* run wine python.exe Hello.py (an example)
* move the mouse out of the GDI32 (IWebBrowser2 OLE control) window
* move the mouse into the xterm where wine was fired up
* press ctrl-c

now, _normally_, under xp, nothing happens... and nothing _should_ happen...
ever.  ctrl-c should be *completely* ignored.  but, continue:

* move the mouse _back_ into the GDI32 window
* the program exits

the exit should *not* be happening when the mouse is moved back.

which brings me on to the various experiences that i've had with focus issues,
especially dialog boxes.  maybe this is because i'm using fvwm2, but the
behaviour of focus on dialog boxes and especially inputboxes within dialog
boxes is _very_ erratic.  the mouse is needed to be moved into the parent
window in order sometimes for keyboard focus to arrive on the inputbox within
the dialog box!  sometimes that doesn't work, and the mouse is required to be
moved onto the bar at the top of the parent window (the one with the title -
the x-windows / fvwm window bar!)

all very odd, and probably a different bug, but hey :)

-- 
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.



More information about the wine-bugs mailing list