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

Canvas clip not working properly on Windows

    Details

      Description

      In my application I have a ScrollPane containing an AnchorPane as Content.
      This AnchorPane has several HBoxes as children. Each contains a Canvas.
      When the application runs and my mouse hovers over the ScrollPane or when I scroll, the Canvases suddenly start popping up even though they should be out of view.

      Screenshot: https://dl.dropboxusercontent.com/u/51537629/images%20drawn%20outside%20of%20viewport.png

      After some more testing it seems this bug only appears on Windows systems and not on Linux systems. No idea about Mac systems though.

      I have created a small testcase since I can't publish more code of the application itself:
      https://dl.dropboxusercontent.com/u/51537629/Drawing.java

      The Java-file makes use of the following image:
      https://dl.dropboxusercontent.com/u/51537629/dna.png

      I have also tried using the latest jfx8 build, but the problem remains present.

        Attachments

        1. Animate1App.java
          2 kB
        2. dna.png
          dna.png
          6 kB
        3. Drawing.java
          3 kB

          Issue Links

            Activity

              People

              • Assignee:
                flar Jim Graham
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: