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

CSS styles are getting lost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 7u6
    • javafx
    • Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
      System: Linux version 2.6.38-15-generic-pae running on i386; UTF-8; de_CH (nb)
      Kubuntu 11.04
      JavaFX: javafx_sdk-2_2_0-beta-b15-linux-i586-27_jun_2012

      On some runs of my product I get strange visual effects.

      I've added 2 snapshots:
      - real-product-issue-3.png: showing a run with the issue
      - real-product-ok-3.png: showing a correct run

      The issue might be related to the other issue I've reported:
      http://javafx-jira.kenai.com/browse/RT-23063

      When I'm getting the visual issue then I'm also getting warnings like:

      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-background-color' from rule '*.tab-content-area' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-outer-border' while resolving lookups for '-fx-background-color' from rule '*.tab-pane *.tab-header-background' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-tab-border-color' while resolving lookups for '-fx-background-color' from rule '*.tab:selected' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.tab *.tab-label' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-mark-color' while resolving lookups for '-fx-background-color' from rule '*.tab-close-button' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-tab-border-color' while resolving lookups for '-fx-background-color' from rule '*.control-buttons-tab' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-mark-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.tab-down-button *.arrow' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-inner-border-horizontal' while resolving lookups for '-fx-background-color' from rule '*.split-pane:horizontal>*>*.split-pane-divider' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-box-border' while resolving lookups for '-fx-border-color' from rule '*.split-pane:horizontal>*>*.split-pane-divider' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-box-border' while resolving lookups for '-fx-background-color' from rule '*.split-pane *.horizontal-grabber' in stylesheet jar:file:<some-path>/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.css

        1. real-product-issue-3.png
          31 kB
          Florian Brunner
        2. real-product-issue-4.jpg
          70 kB
          Florian Brunner
        3. real-product-ok-3.png
          31 kB
          Florian Brunner

            dgrieve David Grieve
            puce Florian Brunner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: