Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4834

tree scroll pos + latency errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.0
    • 8.5.1, 9.5.1.1
    • Components
    • Security Level: Jimmy

      Steps to Reproduce

      run the attachment tree-scroll-latency-issues.zul

      refresh the page
      click either button
      -> a sequence of timed scroll position updates is replayed

      Current Result

      after clicking button "remains blank"
      -> no tree item visible at the current scroll position
      -> tree items are rendered somewhere else outside the current view

      after clicking button "jumps to bottom"
      -> after the sequence the scroll position jumps to the bottom of the tree

      Expected Result

      • after updating the scroll positions the tree should render the items visible for this position
      • no scroll jumps

      Debug Information

      the buttons simulate a sequence of scroll position updates to get consistent test results, and simulate server side latency (otherwise it's difficult to reproduce this reliably, still it is possible to get these results under certain latency and specific mouse wheel/drag movements)

      Workaround

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Time Spent - 1 day, 2 hours Remaining Estimate - 3 days, 6 hours
                3d 6h
                Logged:
                Time Spent - 1 day, 2 hours Remaining Estimate - 3 days, 6 hours
                1d 2h