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

ContextMenu displays old Menus that should have been deleted

    XMLWordPrintable

Details

    Description

      Run the sample provided.

      I have instanciated a TabPane which contains some TableView. Each time I switch from one tab to another, I create a new TableView that creates a new ContextMenu.

      The thing is I use the same Menu in those ContextMenu.

      Now go from one tab to another, and open the ContextMenu, and go to the "test" Menu in order to show the two MenuItems inside. You will see that each time, you have the Menu popping at different places.

      I can provide a video if you need.

      Sample code : http://pastebin.com/H965rSG3

      Attachments

        Issue Links

          Activity

            People

              jgiles Jonathan Giles
              shadzic Samir Hadzic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: