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

Process queued Qt events on CTRL+C

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.4.2
    • Component/s: Framework

      Description

      Issue

      When syncing a lot of file and hitting CTRL+C to force-quit the application, this will not work. At least, not quickly.

      Analysis

      Qt does not process queue events until the synchronizer gave up. And it may take some time.

      Fix

      After calling QApplication.quit(), we should also call QApplication.processEvents() to process remaining Qt events and finally close the application.

        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 - 5 minutes
                  5m

                    PagerDuty

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