Shape.subtract gives unexpected result with padding of parent node

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 9
    • Component/s: javafx

      If any of the shapes participating in the subtraction belong to a hierarchy of a parent with padding, the padding manifests in the result, which can result in unexpected behavior from the user point of view. It is not completely clear to me if this is a bug.

      Taken from StackOverflow: https://stackoverflow.com/questions/51599995/why-does-the-resulting-shape-from-shape-subtract-appear-at-an-incorrect-positi

      The answer there includes a reproducer code snippet and analysis. Comment out and uncomment the critical lines according to the description to reproduce all cases.

      Other Shape methods are probably also affected, though I didn't test.

            Assignee:
            Kevin Rushforth
            Reporter:
            Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: