Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8106421 UI become garbage when dragging effects applet out of the browser on the secondary monitor, MultiMon system
  3. JDK-8106609

Nodes with cache: true turn black when dragged across screens in a multi-monitor environment

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • fx1.1
    • fx1.0
    • javafx
    • Vista / ATI Radeon 4870 – This problem has been reproduced on a variety of hardware

      I added this as a subtask of RT-2299 since it is related to multi-monitor support, which is not supported in the 1.0 release.

      If you create a group with cache: true then any child nodes will not render once dragged across screens in a multi-monitor environment. This is easily reproducible with the following code:
      Stage {
          scene: Scene {
              width: 200
              height: 200
              content: Group {
                  cache: true
                  content: Rectangle {
                      width: 200
                      height: 200
                      fill: Color.BLUE
                  }
              }
          }
      }

      When dragged across screens, the blue rectangle will turn black.

      I have a rather elaborate hack for now that works as a drop-in replacement for Group and flips cache to false, and then back to true when a Node is dragged across screens. See org.jfxtras.scene.CacheSafeGroup in the JFXtras project for more details:
      http://code.google.com/p/jfxtras/

            tdv Dmitri Trembovetski (Inactive)
            schin Stephen Chin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: