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

Could not resolve '-fx-text-background-color' while resolving lookups for '*.tree-cell' when it is in hidden Popup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u25, jfx17
    • javafx
    • None
    • Windows 7 64-bit

      I have a TreeView in a Popup. The content of the TreeView may change even for unchanged TreeItem's values depending on some context. I am trying to update the TreeView using sequence:
      treeView.setRoot(null);
      treeView.setRoot(rootItem);

      The second line gives me a bunch of "Could not resolve" messages:

      sty 08, 2015 9:41:13 PM javafx.scene.CssStyleHelper calculateValue
      WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.tree-cell' in stylesheet jar:file:/C:/Programy/Java/jdk1.8.0_25/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
      sty 08, 2015 9:41:13 PM javafx.scene.CssStyleHelper calculateValue
      WARNING: Could not resolve '-item-color' while resolving lookups for '-fx-background-color' from rule '*.popupContent *.tree-cell:filled' in stylesheet file:/C:/Projekt/TESIS/ARGON/workspace/others/popup-content-updates/bin/popup.css
      sty 08, 2015 9:41:13 PM javafx.scene.CssStyleHelper calculateValue
      WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-background-color' from rule '*.tree-cell>*.tree-disclosure-node>*.arrow' in stylesheet jar:file:/C:/Programy/Java/jdk1.8.0_25/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
      sty 08, 2015 9:41:13 PM javafx.scene.CssStyleHelper calculateValue
      WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.tree-cell' in stylesheet jar:file:/C:/Programy/Java/jdk1.8.0_25/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
      sty 08, 2015 9:41:13 PM javafx.scene.CssStyleHelper calculateValue
      WARNING: Could not resolve '-item-color' while resolving lookups for '-fx-background-color' from rule '*.popupContent *.tree-cell:filled' in stylesheet file:/C:/Projekt/TESIS/ARGON/workspace/others/popup-content-updates/bin/popup.css
      sty 08, 2015 9:41:13 PM javafx.scene.CssStyleHelper calculateValue
      WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.tree-cell' in stylesheet jar:file:/C:/Programy/Java/jdk1.8.0_25/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
      sty 08, 2015 9:41:13 PM javafx.scene.CssStyleHelper calculateValue
      WARNING: Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-background-color' from rule '*.tree-cell' in stylesheet jar:file:/C:/Programy/Java/jdk1.8.0_25/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss


      I found RT-37047 and my issue looks similar, but exists on both 8u20 and 8u25.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported: