This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16744] New: PopupMenus don't show up
- 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:59 -0000
- Subject: [Bug AWT/16744] New: PopupMenus don't show up
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PopupMenus do not show up when show() is called. Initial
investigation shows that the peer is never instantiated. Acunia's
menu.PopupMenuTest shows demonstrates this problem.
------- Additional Comments From djee at redhat dot com 2004-04-02 11:05 -------
Fixed in java-gui-branch. Please verify.
------- Additional Comments From fitzsim at redhat dot com 2004-05-18 18:47 -------
Currently I'm getting this failure:
logMessage is called
stripping 'com.acunia.wonka.test.awt.menu.PopupMenuTest' to
'menu.PopupMenuTest'
Trying to load test com.acunia.wonka.test.awt.menu.PopupMenuTest
./vte: relocation error:
/notnfs/gcj-bld/i686-pc-linux-gnu/libjava/.libs/lib-gnu-java-awt-peer-gtk.so.6:
undefined symbol: _gtk_accel_group_attach
I'm checking in a temporary fix to java-gui-branch that #ifdef's out
calls to that GTK-private function.
With that hack, the test works. I think if possible, we should match
GTK's popup behaviour. With your patch (and in Sun's AWT), the popup
pops up on a mouse release, whereas in GTK it pops up on a mouse press.
--
Summary: PopupMenus don't show up
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=16744