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

Graphics with Effects disappears after a screen lock and return to screen this is happening only when D3D is enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx1.0
    • Fix Version/s: fx1.1
    • Component/s: javafx
    • Environment:

      Windows Vista / Windows XP - jdk 6u10 b33

      Description

      Jar file attached

      set classpath to 3d-rotations.jar

      run
      javafx demos.rotations.3DRotationText

      wait for app to come up

      lock screen
      log back in

      the app shows no text content

      for running without d3d use this command
      javafx -Dsun.java2d.d3d=false demos.rotations.3DRotationText
      the issues does not show up in this modes

      on stopping the app in the previous case exception thrown

      Stack Trace
      java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to
      sun.java2d.pipe.hw.AccelSurface
              at com.sun.scenario.effect.impl.hw.HWOneSamplerPeer.filterImpl(HWOneSamp
      lerPeer.java:66)
              at com.sun.scenario.effect.impl.hw.HWEffectPeer$2.run(HWEffectPeer.java:
      128)
              at com.sun.scenario.effect.impl.hw.HWEffectPeer$2.run(HWEffectPeer.java:
      126)
              at java.security.AccessController.doPrivileged(Native Method)
              at com.sun.scenario.effect.impl.hw.HWEffectPeer.filter(HWEffectPeer.java
      :126)
              at com.sun.scenario.effect.CoreEffect.filterImageDatas(CoreEffect.java:8
      2)
              at com.sun.scenario.effect.PerspectiveTransform.filter(PerspectiveTransf
      orm.java:200)
              at com.sun.scenario.effect.Effect.render(Effect.java:212)
              at com.sun.scenario.scenegraph.SGEffect.render(SGEffect.java:126)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:218)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:218)
              at com.sun.scenario.scenegraph.JSGPanel.paintComponent(JSGPanel.java:566
      )
              at com.sun.javafx.scene.JSGPanelImpl.paintComponent(JSGPanelImpl.java:53
      )
              at javax.swing.JComponent.paint(JComponent.java:1027)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManag
      er.java:277)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4892)
              at com.sun.scenario.scenegraph.JSGPanel.repaintDirtyRegions(JSGPanel.jav
      a:618)
              at com.sun.scenario.scenegraph.JSGPanelRepainter.repaintAll(JSGPanelRepa
      inter.java:106)
              at com.sun.scenario.scenegraph.JSGPanelRepainter$FrameDisplay.run(JSGPan
      elRepainter.java:112)
              at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(Abstract
      MasterTimer.java:365)
              at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractM
      asterTimer.java:247)
              at com.sun.embeddedswing.EmbeddedEventQueue.doPulse(EmbeddedEventQueue.j
      ava:440)
              at com.sun.embeddedswing.EmbeddedEventQueue.access$000(EmbeddedEventQueu
      e.java:70)
              at com.sun.embeddedswing.EmbeddedEventQueue$2.run(EmbeddedEventQueue.jav
      a:347)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
      ad.java:269)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
      java:184)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
      ad.java:174)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

              at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tdv Dmitri Trembovetski (Inactive)
              Reporter:
              bmathewssunw Blessan Mathews (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: