Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-229

Loading Scripts takes a long time and stalls Viewer

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Viewer 2.1.0, Viewer 2.1.1, Viewer 2.1.2, Viewer 2.2.0 Beta, Viewer 2.2.0, Viewer 2.3.0
    • Fix Version/s: Sprint 15
    • Labels:
      None
    • Environment:
    • Approvals:
      Code Review, Product Owner
    • Test Plan:
      Hide

      1. Edit the object with a 1200-line script and click the Contents tab
      2. Open the script.
      Verify: It takes no more than 5 seconds for loading

      3. Try to edit the script
      Verify: Viewer is not stalled

      4. select a large number of lines
      5. Press Tab(or SHIFt+tab) button
      verify: indents appear for selected lines
      verify: it does not take a long time to process this

      6. CTRL-A to select the whole script and CTRL-X to cut it.
      7. CTRL-V to paste the script back in
      Verify: pasting script takes no more than 5 seconds

      Show
      1. Edit the object with a 1200-line script and click the Contents tab 2. Open the script. Verify: It takes no more than 5 seconds for loading 3. Try to edit the script Verify: Viewer is not stalled 4. select a large number of lines 5. Press Tab(or SHIFt+tab) button verify: indents appear for selected lines verify: it does not take a long time to process this 6. CTRL-A to select the whole script and CTRL-X to cut it. 7. CTRL-V to paste the script back in Verify: pasting script takes no more than 5 seconds

      Description

      In Viewer 2.1.0, loading a script takes noticeably longer than before, and stalls the Viewer whilst it is waiting to load. When I load a large script, it sometimes takes 20 seconds or more, during which time I can do nothing else. This behaviour seems different from previous versions of the Viewer.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lamorna.proctor Lamorna Proctor
                Extended Group Visibility:
                jira-users
                Prod Owner Approved:
                Grumpity ProductEngine
              • Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 35 minutes
                  7h 35m