Merge lp:~ajalkane/ubuntu-filemanager-app/copy-progress-dialog-fix into lp:ubuntu-filemanager-app

Proposed by Arto Jalkanen
Status: Rejected
Rejected by: Michael Spencer
Proposed branch: lp:~ajalkane/ubuntu-filemanager-app/copy-progress-dialog-fix
Merge into: lp:ubuntu-filemanager-app
Diff against target: 12 lines (+1/-1)
1 file modified
FileOperationProgressDialog.qml (+1/-1)
To merge this branch: bzr merge lp:~ajalkane/ubuntu-filemanager-app/copy-progress-dialog-fix
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Needs Fixing
Ubuntu File Manager Developers Pending
Review via email: mp+184864@code.launchpad.net

Commit message

Fix for progress dialog for copying files. Previously it was possible
progress dialog was closed too early, especially when the last file
copied was a very large one.

Description of the change

Fix for progress dialog for copying files. Previously it was possible
progress dialog was closed too early, especially when the last file
copied was a very large one.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Spencer (ibelieve) wrote :

Thanks for the fix. Because it their were problems with Autopilot that prevented this from passing, I fixed this in the same branch that fixed the Autopilot problems.

Unmerged revisions

63. By Arto Jalkanen

Fix for progress dialog for copying files. Previously it was possible
progress dialog was closed too early, especially when the last file
copied was a very large one.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'FileOperationProgressDialog.qml'
--- FileOperationProgressDialog.qml 2013-06-26 23:00:41 +0000
+++ FileOperationProgressDialog.qml 2013-09-10 19:49:37 +0000
@@ -49,7 +49,7 @@
49 onProgress: {49 onProgress: {
50 console.log("On progress ", curItem, totalItems, percent)50 console.log("On progress ", curItem, totalItems, percent)
51 progress.value = percent51 progress.value = percent
52 if (curItem == totalItems) {52 if (percent == 100 && curItem == totalItems) {
53 console.log("All files processed, closing progress dialog")53 console.log("All files processed, closing progress dialog")
54 PopupUtils.close(root)54 PopupUtils.close(root)
55 } else {55 } else {

Subscribers

People subscribed via source and target branches