TabPane disabled pseudo-class cascades until invisibility

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8u60, 9
    • Component/s: javafx

      If you have TabPanes in TabPanes and disable an overlying TabPane it cascades down through all TabPanes and the reduced opacity cumulates unti nothing can be seen anymore. This even affects the own Tabs of the disabled TabPane (see attached image).

      As a workaround we overwrite the modena style ".tab-pane:disabled { -fx-opacity: 0.4; }" with ".tab-pane:disabled { -fx-opacity: 1.0; }" and everything looks as expected.

      Maybe ".tab-pane:disabled" should be removed from disabled-section in the modena stylesheet. The ".tab-pane > .tab-header-area > .headers-region > .tab:disabled" is still there and should result in the desired look (see attached image).

        1. 2015-12-09_TabPaneCascadingDisabledOpacity.png
          2015-12-09_TabPaneCascadingDisabledOpacity.png
          26 kB
        2. JDK8144983.java
          0.8 kB
        3. RunTest.css
          0.0 kB
        4. RunTest.java
          1 kB

            Assignee:
            Leif Samuelsson (Inactive)
            Reporter:
            Andreas Liebelt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: