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

Home and End keys work wrong for TabPane

    XMLWordPrintable

Details

    Description

      Reproducible: always
      Platform-specific: no
      Regression: yes
      Introduced in version: 8u60b01 (works fine in 8u51b34)
      Steps to reproduce (sample attached):
      1. Create TabPane with N tabs.
      2. Focus on any of them and press Home or End key.
      Expected result: Home activates first tab, End activated N-ths tab.

      Actual result:
      1. N > 3. Home activates second tab, End activates (N-1)-ths tab.
      2. N = 3. Both End and Home are activating second tab.
      3. No tabs: Exception in thread "JavaFX Application Thread" java.lang.ArithmeticException: / by zero.

      Attachments

        Issue Links

          Activity

            People

              jgiles Jonathan Giles
              arusakov Andrey Rusakov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: