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

Menu.setOnShowing called also when menu hidden

    Details

      Description

      Running the following code the attached source code and executing the following actions:
      a) Click on T1 (Menu is shown)
      b) Click on T1 (Menu is hidden)

      You notice that the onShowing-Callback is execute even in b). It looks like the logic is a Menu#setShowing(boolean) should check if the item is already shown instead of simply sending the callback. The attached patch fixes this.

        Attachments

          Activity

            People

            • Assignee:
              psomashe Parvathi Somashekar (Inactive)
              Reporter:
              tschindl Tom Schindl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:
                Imported: