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

When closing a Tab inside a TabPane, the selection model does not return the correct Tab

XMLWordPrintable

      Sometimes,when close a Tab in a TabPane,the tab.getSelectionModel().getSelectedItem() does not return the new tab,but some other tab(must be the closed tab),and the new Tab content is not dispayed(it is white),but the new Tab title is displayed.
      We cannot find the cause of the problem,you can only check the source code to find the cause.
      It seems that all problems are about the selection model?

            kwwong Kinsley Wong (Inactive)
            wgtjfx wgt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: