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



_______________________________________________
Bug-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to