bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/26583] New: Popup Menus do not stay open


From: langel at redhat dot com
Subject: [Bug awt/26583] New: Popup Menus do not stay open
Date: 6 Mar 2006 18:45:50 -0000

If you right click on the window in PopMenu.java, the popup menu does not stay
open after you release the mouse button. This test case uses mousePressed to
show the popup.

In PopMenu2.java, the popup stays open. This test case uses mouseClicked to
show the popup.

menu.c is a gtk test case shows the behaviour of the popup when the button is
pressed. The popup stays open.

On Sun, the popup stays open until the mouse is clicked again.

This seems to be a problem with the time parameter in
Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show. The time should be the time
when the event occured. Passing in the current system time does not work.
menu.c uses the event's (GdkEventButton) timestamp.


-- 
           Summary: Popup Menus do not stay open
           Product: classpath
           Version: 0.21
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: langel at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26583





reply via email to

[Prev in Thread] Current Thread [Next in Thread]