Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5638

Resizing with CTRL and '+'/'-' shortcut malforms BPMN editor canvas

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Kogito Tooling 0.12.0
    • BPMN Editor
    • None
    • False
    • False
    • Undefined
    • Hide

      Do not use VSCode's zoom in / zoom out features

      Show
      Do not use VSCode's zoom in / zoom out features
    • Hide

      1. Open a process with nodes, lanes. it should extend beyond the canvas basic view.
      2. Press CTRL+'' couple of times then resize back with CTRL'-'
      3. Try to resize using Editors widget
      4. The outcome varries based on the % of zoom, but the canvas is malformed now

      Show
      1. Open a process with nodes, lanes. it should extend beyond the canvas basic view. 2. Press CTRL+' ' couple of times then resize back with CTRL '-' 3. Try to resize using Editors widget 4. The outcome varries based on the % of zoom, but the canvas is malformed now

    Description

      Summary
      when you use ctrl+'' or ctrl'-' in VSCode to resize editor, the canvas ZOOM widget does nothing and the dimensions are adjusted by VSCode UI.
      The problem comes when users starts to use the Zoom widget of the editor. The Canvas gets into weird state where there is missing grid or parts of the diagram that should be drawn.
      The malformed canvas can vary based on % of zoom used.
      Please see pictures.

      Acceptance criteria
      Editor correctly handles external ZOOM IN/ZOOM OUT
      Editors canvas is not malformed and it can be worked with properly at all times when using ZOOM IN / ZOOM OUT features
      Scrollbar is visible and working at all times.

      Attachments

        Activity

          People

            romartin@redhat.com Roger Martinez
            dhanak@redhat.com Dominik Hanak
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: