This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug AWT/16742] New: MOUSE_PRESSED/RELEASED/CLICKED dispatched to different lightweight components


MOUSE_CLICKED and MOUSE_RELEASED events do not get dispatched to the
same lightweight component.  If you press a mouse button over a
lightweight component, then move the pointer out of that component,
then release the mouse button, the MOUSE_RELEASED event should get
dispatched to the same component to which MOUSE_CLICKED event was
dispatched to.

Simple instrumentation of Acunia's Component.ComponentRepaint2 test
shows this problem.

The problem is mostly like in LightweightDispatcher.
------- Additional Comments From djee at redhat dot com  2004-03-08 09:48 -------
Correction:

MOUSE_RELEASED and MOUSE_CLICKED should all be dispatched to the same
component to which the corresponding MOUSE_PRESSED event was dispatched.

This issue is now fixed in the java-gui-branch.  Please verify.
------- Additional Comments From fitzsim at redhat dot com  2004-05-18 18:29 -------
Verified; fixed on java-gui-branch.


-- 
           Summary: MOUSE_PRESSED/RELEASED/CLICKED dispatched to different
                    lightweight components
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P1
         Component: AWT
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: djee at redhat dot com
                CC: djee at redhat dot com,gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16742


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]