This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16773] New: Nothing happens when you click on a Menu
- 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 01:05:12 -0000
- Subject: [Bug AWT/16773] New: Nothing happens when you click on a Menu
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When you click on a Menu, nothing happens. Either they are not
receiving any MouseEvents, or they are receiving them but just aren't
firing any ActionEvents.
Acunia's menu.MenuBarTest demonstrates this problem.
------- Additional Comments From fitzsim at redhat dot com 2004-03-09 16:47 -------
I was working on this two weeks ago (at home, to support
gcjappletviewer). I didn't get very far with it.
It's difficult to debug this, because GTK uses grabs for menus. So
when you hit a breakpoint in gdb, your X session may lock up (if the
menu hasn't released the grab yet). I got around this by using Xnest.
I'll attach the instrumentation patch that I created. I've also got
some test cases at home that I'll attach later.
------- Additional Comments From fitzsim at redhat dot com 2004-03-09 16:49 -------
Created an attachment (id=98410)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=98410&action=view)
hacks to instrument menus
------- Additional Comments From djee at redhat dot com 2004-03-26 16:50 -------
Fixed in java-gui-branch. Please verify.
------- Additional Comments From fitzsim at redhat dot com 2004-05-18 18:50 -------
Verified; fixed on java-gui-branch.
--
Summary: Nothing happens when you click on a Menu
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=16773