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

[ListView] strange behavior of ctrl+pageup and ctrl+pagedown.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • 8
    • fx2.1
    • javafx
    • 2.1.0b08.

    Description

      Common idea of issue:
      k < m < n.
      m - k < l.
      l - visible size of list (number of visible raws).
      k - current position of focus.
      m and n - are ranges of interval, where all elements are selected.
      If you are in k, and press ctrl+pagedown then, it is expected, that elements from k to k+l will be selected.
      But, now, if you press ctrl+pagedown then elements from k to n + (l - (m - k)).

      That means, that if some elements are selected (from m to n), than they are not counted, when number of shift in selection is evaluated.

      See attached movie.
      There are 18 elements and 4 is the size of visible part of list (4 raws).
      I use ctrl+pageup/pagedown and you can see, how focus jumps on 4 elements each time. That is right.
      After that I select some elements. Move focus to the end and start to press ctrl+pageup. You can see, that decrement is more than 4. It is more right on the number of the encountered selected items in the list.

      Attachments

        Issue Links

          Activity

            People

              jgiles Jonathan Giles
              akirov Alexander Kirov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: