This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16742] New: MOUSE_PRESSED/RELEASED/CLICKED dispatched to different lightweight components
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 00:27:58 -0000
- Subject: [Bug AWT/16742] New: MOUSE_PRESSED/RELEASED/CLICKED dispatched to different lightweight components
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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