Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2379

Review how the GUI is repainted to fix a crash

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.5.0
    • Component/s: GUI
    • Tags:
    • Sprint:
      nxDrive 11.2.8
    • Story Points:
      5

      Description

      Problem

      This scenario is reproductible for the "Active sessions" and "Monitoring" tabs.

      • Start a session with one big file.
      • Start a second session with a lot a small files.
      • Pause the big upload.
      • Cancel the big upload.
      • While the confirmation is displayed, the crash happens.
      • If not, wait a bit for a small transfer to finish.

      The spot here is the confirmation popup being deleted while the items list ( either the sessions, either the transfers) is refreshed. The refreshing is removing all rows and inserting new ones. Thus the confirmation popup reference being freed and the crash.

      Solution

      Instead of refreshing all rows, we should just refresh pertinent and desired rows.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 3 days
                  3d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.