This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16730] New: ComponentEvent not dispatched to the listener
- 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:24:32 -0000
- Subject: [Bug AWT/16730] New: ComponentEvent not dispatched to the listener
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In the Acunia test layout.OffLayout, the components are drawn in the
wrong positions. Upon inspection, it appears that ComponentEvents
(particularly the COMPONENT_RESIZED event) is never dispatched to the
OffLayout instance, and therefore the components are not repositioned
as they should be.
------- Additional Comments From djee at redhat dot com 2004-02-16 12:16 -------
Created an attachment (id=97706)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=97706&action=view)
simple test for ComponentEvents
------- Additional Comments From djee at redhat dot com 2004-02-16 12:17 -------
Upon further investigation using the above test case, it seems that no
ComponentEvent is ever fired. This should be implemented.
------- Additional Comments From djee at redhat dot com 2004-02-16 17:32 -------
Fixed in java-gui-branch. Acunia's layout.OffLayout test and the
attached test case should both work now. Please verify.
------- Additional Comments From fitzsim at redhat dot com 2004-05-18 16:15 -------
OffLayout doesn't work perfectly yet. The north-west button's
top-left corner is flush with the top-left corner of the main panel.
Instead, it should be offset as well.
Likely this is a problem with GtkComponentPeer.setBounds (see the big
comment there). Can you look into this?
------- Additional Comments From fitzsim at redhat dot com 2004-05-26 23:17 -------
Hmm, OffLayout works now. Closing.
--
Summary: ComponentEvent not dispatched to the listener
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=16730