Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4033594

Solaris: inconsistent treatment of right mouse button

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.1.1
    • client-libs
    • generic
    • generic

      Bring up HotJava on /home/sbb/cf-awt.html. Right mouse over the link in the first table row labelled "here". Then right mouse over the URL link at the top of the page. Then right mouse again over "here" -- notice how the mouse changes, but the menu does not come up. Right mousing again over "here" (if it doesn't hang X) will bring up the menu.

      WHat I believe is happening is that there is confusion about whether Solaris/Motif are handling the interpretation of the right mouse button, or whether AWT passes it to the application and lets the app decide when to bring up the menu with showPopupMenu. It appears that once the menu has been shown, no more right mouse events are sent to the application. We try to work around this by watching for a right mouse up event and removing the menu from the Container that it was attached to, but this does not seem to be sufficient.

            amfowler Anne Fowler (Inactive)
            sbyrnesunw Steven Byrne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: