[Mono-bugs] [Bug 339010] New: GtkSilver: Hit area of element offset from elements rendered position

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 4 19:12:41 EST 2007


           Summary: GtkSilver: Hit area of element offset from elements
                    rendered position
           Product: Moonlight
           Version: unspecified
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: engine
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: greg at vis.net.nz
         QAContact: mono-bugs at ximian.com
          Found By: ---

Created an attachment (id=181959)
 --> (https://bugzilla.novell.com/attachment.cgi?id=181959)
GtkSilver Hit Area Testcase

I am using the GtkSilver widget in a desktop application. There are some other
widgets above it in the same window. The hit area of the element inside
GtkSilver is offset from its rendered position. The offset is equal to the
distance between the top left corner of the GtkSilver widget and the window it
is within.

I've attached a short example. The canvas receives Enter and Leave events when
you move the mouse around below the rectangle.

Moonlight and Mono built from SVN trunk 2/11/07.

I also had a look at Runtime.cpp and notice that the mouse coordinates are
being found relative to the underlying GDK window - Perhaps these need to be
offset by distance to the origin of the GtkSilver widget.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list