JDK-8097379 : Black Scene Within Windows 7 x64 after minimise.
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-04-04
  • Updated: 2015-06-12
  • Resolved: 2014-04-07
Related Reports
Duplicate :  
Description
I've just upgraded to JDK 1.8. I had previously upgraded to Netbeans 8. After experiencing the problem in my application I created a test project, with the default Netbeans Java FX application, with a default start class.

Run that hello world class, minimise the resulting screen, then restore it and everything within the frame of the window is black.

Sometimes just mousing over the content area will result in the content reappearing. Other times I need to click on the black space to get it to reappear.

Comments
This is a duplicate of RT-31272.
07-04-2014

Also, clicking doesn't always restore the view, but in that case maximising the window seems to do the trick.
04-04-2014

Log output below. 12:03:45 is when the window is restored from minimised state, after that is whatever is happening when I mouse over and the view is re-displayed. Executing D:\_AIM\BugTest\dist\run2021680051\BugTest.jar using platform C:\Program Files\Java\jdk1.8.0/bin/java 12:03:41 bugtest.BugTest start INFO: Logging commenced 12:03:41 com.sun.javafx.scene.traversal.TraversalEngine <init> FINER: TraversalEngine constructor 12:03:41 javafx.scene.layout.Region resize FINER: StackPane@643ca3d6[styleClass=root] resized to 0.0 x 0.0 12:03:41 javafx.scene.layout.Region resize FINER: StackPane@643ca3d6[styleClass=root] resized to 300.0 x 0.0 12:03:41 javafx.scene.layout.Region resize FINER: StackPane@643ca3d6[styleClass=root] resized to 300.0 x 250.0 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-region-background, call applyStyle: ObjectProperty [bean: StackPane@643ca3d6[styleClass=root], name: background, value: null], value =javafx.scene.layout.Background@20c95282, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-padding, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: padding, value: Insets [top=0.0, right=0.0, bottom=0.0, left=0.0]], value =Insets [top=4.0, right=8.0, bottom=4.0, left=8.0], originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-content-display, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: contentDisplay, value: LEFT], value =LEFT, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-text-fill, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: textFill, value: 0x000000ff], value =0x333333ff, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-alignment, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: alignment, value: CENTER_LEFT], value =CENTER, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-region-background, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: background, value: null], value =javafx.scene.layout.Background@da9a127d, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.control.Control$2 invalidated FINEST: Stored skin[com.sun.javafx.scene.control.skin.ButtonSkin@112d5471] on ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: skin, value: com.sun.javafx.scene.control.skin.ButtonSkin@112d5471] 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-font-smoothing-type, call applyStyle: ObjectProperty [bean: Text[text="", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=GRAY, fill=0x333333ff], name: fontSmoothingType, value: GRAY], value =LCD, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-bounds-type, call applyStyle: ObjectProperty [bean: Text[text="", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=LCD, fill=0x333333ff], name: boundsType, value: LOGICAL], value =LOGICAL_VERTICAL_CENTER, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.layout.Region resize FINER: StackPane@643ca3d6[styleClass=root] resized to 300.0 x 250.0 12:03:41 javafx.scene.layout.Region resize FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' resized to 107.0 x 25.0 12:03:41 javafx.scene.Node relocate FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' moved to (97.0,113.0) 12:03:41 javafx.scene.Node relocate FINER: Text[text="Say 'Hello World'", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL_VERTICAL_CENTER, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=LCD, fill=0x333333ff] moved to (8.0,4.0) 12:03:41 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: StackPane@643ca3d6[styleClass=root], name: hover, value: true] hover=true 12:03:41 com.sun.javafx.scene.traversal.TraversalEngine getTopLeftFocusableNode FINER: getTopLeftFocusableNode(), nearest : Button@53dba532[styleClass=button]'Say 'Hello World'', at : 148.92279879185725 12:03:41 javafx.scene.Node$FocusedProperty markInvalid FINE: ReadOnlyBooleanProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: focused, value: true] focused=true 12:03:41 javafx.scene.Scene$15 invalidated FINE: Changed focus from null to Button@53dba532[styleClass=button]'Say 'Hello World'' 12:03:41 javafx.scene.CssStyleHelper transitionToState FINER: -fx-region-background, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: background, value: javafx.scene.layout.Background@da9a127d], value =javafx.scene.layout.Background@54a2cb86, originOfCalculatedValue=USER_AGENT 12:03:41 javafx.scene.layout.Region resize FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' resized to 107.0 x 25.0 12:03:41 javafx.scene.Node relocate FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' moved to (97.0,113.0) 12:03:41 javafx.scene.Node relocate FINER: Text[text="Say 'Hello World'", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL_VERTICAL_CENTER, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=LCD, fill=0x333333ff] moved to (8.0,4.0) 12:03:43 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: StackPane@643ca3d6[styleClass=root], name: hover, value: false] hover=false 12:03:45 javafx.scene.Node$FocusedProperty markInvalid FINE: ReadOnlyBooleanProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: focused, value: false] focused=false 12:03:45 javafx.scene.CssStyleHelper transitionToState FINER: -fx-region-background, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: background, value: javafx.scene.layout.Background@54a2cb86], value =javafx.scene.layout.Background@da9a127d, originOfCalculatedValue=USER_AGENT 12:03:45 javafx.scene.layout.Region resize FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' resized to 107.0 x 25.0 12:03:45 javafx.scene.Node relocate FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' moved to (97.0,113.0) 12:03:45 javafx.scene.Node relocate FINER: Text[text="Say 'Hello World'", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL_VERTICAL_CENTER, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=LCD, fill=0x333333ff] moved to (8.0,4.0) 12:03:45 javafx.scene.Node$FocusedProperty markInvalid FINE: ReadOnlyBooleanProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: focused, value: true] focused=true 12:03:45 javafx.scene.CssStyleHelper transitionToState FINER: -fx-region-background, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: background, value: javafx.scene.layout.Background@da9a127d], value =javafx.scene.layout.Background@54a2cb86, originOfCalculatedValue=USER_AGENT 12:03:45 javafx.scene.layout.Region resize FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' resized to 107.0 x 25.0 12:03:45 javafx.scene.Node relocate FINER: Button@53dba532[styleClass=button]'Say 'Hello World'' moved to (97.0,113.0) 12:03:45 javafx.scene.Node relocate FINER: Text[text="Say 'Hello World'", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL_VERTICAL_CENTER, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=LCD, fill=0x333333ff] moved to (8.0,4.0) 12:04:05 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: StackPane@643ca3d6[styleClass=root], name: hover, value: true] hover=true 12:04:05 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: hover, value: true] hover=true 12:04:05 javafx.scene.CssStyleHelper transitionToState FINER: -fx-region-background, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: background, value: javafx.scene.layout.Background@54a2cb86], value =javafx.scene.layout.Background@9800d80d, originOfCalculatedValue=USER_AGENT 12:04:07 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: Text[text="Say 'Hello World'", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL_VERTICAL_CENTER, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=LCD, fill=0x333333ff], name: hover, value: true] hover=true 12:04:07 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: hover, value: false] hover=false 12:04:07 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: Text[text="Say 'Hello World'", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL_VERTICAL_CENTER, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=LCD, fill=0x333333ff], name: hover, value: false] hover=false 12:04:07 javafx.scene.CssStyleHelper transitionToState FINER: -fx-region-background, call applyStyle: ObjectProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: background, value: javafx.scene.layout.Background@9800d80d], value =javafx.scene.layout.Background@54a2cb86, originOfCalculatedValue=USER_AGENT 12:04:08 javafx.scene.Node$17 invalidated FINER: BooleanProperty [bean: StackPane@643ca3d6[styleClass=root], name: hover, value: false] hover=false 12:04:09 javafx.scene.Node$FocusedProperty markInvalid FINE: ReadOnlyBooleanProperty [bean: Button@53dba532[styleClass=button]'Say 'Hello World'', name: focused, value: false] focused=false Deleting directory D:\_AIM\BugTest\dist\run2021680051 jfxsa-run: BUILD SUCCESSFUL (total time: 30 seconds)
04-04-2014