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

[Pagination] wrong current pages range can be shown.

    XMLWordPrintable

    Details

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

      2.2.0b10

      Description

      It is tricky to reproduce.

      The issue is shown on the attached movie. I set many pages. And I set 5 items in indicators.

      I navigate scrollbar of unidirectional binding to 49 (approximately, maybe, a few attempts are needed). and call set. That is - standart setCurrentPageIndex(int) method of pagination API will be called. and I am navigated to page content 49. And page indeces starting from 51.

      That looks like +\-1 problem.

      If I click left, you see, that not the most right item is selected as index. That shows, that incorrect range was shown.

        Attachments

          Activity

            People

            Assignee:
            kwwong Kinsley Wong
            Reporter:
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: