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

Multiselection behave strangely when deselecting selected item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Ubuntu

      Description

      Scenario:
      1. Create TableView and set SelectionMode to SelectionMode.MULTIPLE
      2. Press Ctrl and select two rows by clicking on them by mouse
      3. Deselect selected row.

      Actual behavior:
      Deselected row is not in selection (method getSelectedItem()) - that is OK.
      But graphic is wrong - deselected row looks like selected.
      If you click on other row, high-lightning of deselected row is now right.

      Expected behavior:
      Deselected row is graphically deselected immediately.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Imported: