Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2410

[DMN Designer] Active entries not highlighted correctly when scrolling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.7.0.Final
    • Fix Version/s: 7.8.0.Final
    • Component/s: DMN Editor
    • Labels:
      None
    • Epic Link:
    • Sprint:
      2018 Week 11-12, 2018 Week 13-14
    • Steps to Reproduce:
      Hide
      1. Create new dmn diagram
      2. Add decision node
      3. Open the decision node
      4. Configure as context
      5. Add 14 context entries (this simulates real world context table bigger than canvas)
      6. Scroll down
      7. Configure entry with row number 15 as context
      8. Select My Name of this new context
        1. Notice just this new My Name is rendered as green, others are grey
      9. Scroll up, notice now incorrectly all context entries are rendered as active (green)
      Show
      Create new dmn diagram Add decision node Open the decision node Configure as context Add 14 context entries (this simulates real world context table bigger than canvas) Scroll down Configure entry with row number 15 as context Select My Name of this new context Notice just this new My Name is rendered as green, others are grey Scroll up, notice now incorrectly all context entries are rendered as active (green)
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The behavior described below was spotted during DROOLS-2398 review, however probably not related to that jira.

      If context table is so big user has to scroll down to see all entries. then the active entries are not highlighted correctly. Next if user select some cell, then scroll (so the originally selected cell is not visible more) and select another cell, both remains selected. I mean selection without holding any additional key.

      Acceptance criteria

      • As active entry is highlighted just that context entry that is parent of the selected cell.
      • Just one cell will be selected - clicking mouse without holding CTRL on keyboard
        • when no scrolling between clicks (selecting cells)
        • when scrolling between clicks (selecting cells)
      • Multiple cells selection - clicking mouse and holding CTRL on keyboard
        • when no scrolling between clicks (selecting cells)
        • when scrolling between clicks (selecting cells)
      • Steps to reproduce fixed
      • Undo / redo
        • Change selected cell, do not scroll between selection, check if undo / redo highlights correctly
        • Change selected cell, scroll between selection, check if undo / redo highlights correctly
        • Change selected multiple cells, do not scroll between selection, check if undo / redo highlights correctly
        • Change selected multiple cells, scroll between selection, check if undo / redo highlights correctly
        • Not checked as command history doesn't contain selections (clicks), probably it is fine, not reporting issue

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manstis Michael Anstis
                Reporter:
                jomarko Jozef Marko
                Tester:
                Jozef Marko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: