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

In Mac doing a right click with magic mouse selects an option from context menu

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      MAC , and can be reproduced in JAVA 9 also

      A DESCRIPTION OF THE PROBLEM :
      In Mac, if you right click using a magic mouse, the context menu shows up and selects an item and closes.

      It can be reproduced using this Popup example provided by Oracle.
      https://docs.oracle.com/javase/tutorial/uiswing/components/menu.html#popup

      Looks like the mouse events are highly sensitive and apart from just opening the menu, it also clicks the menu option. This can be reproduced occasionally

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      https://docs.oracle.com/javase/tutorial/uiswing/components/menu.html#popup

      Try to open this popup by right clicking using a magic mouse and notice a menu item close to the click selected.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Menu items closest to the click is selected and run on simply right clicking to open the context menu
      ACTUAL -
      Right clicking using a magic mouse should simply open the context menu

      CUSTOMER SUBMITTED WORKAROUND :
      Possible workaround that we use as of now is by doing a mouse down, pause and then a mouse up instead of a click.

      FREQUENCY : occasionally


            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: