Bug 16744 - PopupMenus don't show up
Summary: PopupMenus don't show up
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: pre-0.18
Assignee: djee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 00:27 UTC by djee
Modified: 2005-10-16 01:53 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2004-07-27 01:40:29


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description djee 2004-03-09 09:31:14 UTC
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.
Comment 1 djee 2004-04-02 11:05:25 UTC
Fixed in java-gui-branch.  Please verify.
Comment 2 Thomas Fitzsimmons 2004-05-18 18:47:51 UTC
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.
Comment 3 Thomas Fitzsimmons 2004-07-27 01:38:49 UTC
Fixed.
Comment 4 Thomas Fitzsimmons 2004-07-27 01:39:48 UTC
Reopening.
Comment 5 djee 2004-07-27 14:27:01 UTC
This seems fixed to me.
Comment 6 Andrew Pinski 2004-07-27 15:40:10 UTC
Fixed so closing.