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/16773] New: Nothing happens when you click on a Menu


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


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