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

NGRegion doesn't mark itself dirty when its shape geometry changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • fx2.0
    • javafx
    • None

      When setting Shape to NGRegion, the code checks whether the previous shape instance is the same and the region marks itselfs dirty only if it's different. This is wrong as the current implementation of Region in scenegraph reuses the SVGPath instances, modifies them, and calls setShape with the same instance. This can break the dirty area management as the NGRegion is not marked as dirty in this case.
      Either the check should be removed, or new method to notify NGRegion of shape modification should be introduced.

            rbair Richard Bair (Inactive)
            ekrejcir Eva Krejčířová (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: