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

Loading Scripts takes a long time and stalls Viewer

    XMLWordPrintableJSON

Details

    • Defect
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 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
    • Sprint 15
    • None
    • Code Review, Product Owner
    • 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

              Unassigned Unassigned
              lamorna.proctor Lamorna Proctor
              jira-users
              Grumpity ProductEngine 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