Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8111

Stunner - Enforce use of canvas locations on just the X,Y coordinates values constrained for range >= 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.16.0.Final
    • Designer
    • NEW
    • NEW
    • 2019 Week 02-04

      Since the support for growable canvas (BAPL-1059), shapes are not anymore constrained for any range of locations, which actually leads to some errors:

      • Not able to reconnect bendpoint from one node to another if nodes placed out of the canvas. I am able to disconnect the point from the node, but not able to connect it again/reconnect to another point
      • Not able to add new bendpoint if sequence flow is out of the canvas. New nice animation shows successfully, but new bendpoint is not created
      • Also nodes outside positive axis range locations are not being displayed on the preview panel
      • When exporting the canvas into image or PDF, the nodes outside positive axis range locations are not exported into the resulting picture

      Instead of fixing the above bugs, and any other related, the solution actually relies on setting again location constraints for shapes (aka DragConstraints), in order to allow only the range x/y >= 0. This will not allow the user to end up of the above issues as the user will be not able to use "negative" values on both axis ranges.

            romartin@redhat.com Roger Martinez
            romartin@redhat.com Roger Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: