Bug 136527

Summary: Aborting file copy/move operations does not work
Product: [Applications] amarok Reporter: Wenli Liu <wenlil>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: proposed patch

Description Wenli Liu 2006-10-30 19:59:12 UTC
Version:           svn (using KDE KDE 3.5.5KDE 1.2)
Installed from:    UnspecifiedCompiled From Sources
Compiler:          G++ 3.3.5 
OS:                Linux

To repeat:
1). Type audiocd:/ on File Browser tab (or any folder that has audio files)
2). Select a few files
3). Right click and choose Copy to Collction
4). While in progress, click on the abort button

The message "Abort all jobs" shows up but the copy/move operations are still active.
Comment 1 Wenli Liu 2006-10-30 20:08:03 UTC
Created attachment 18329 [details]
proposed patch

This patch does the following:
1). Stops the underlying file copy/move operation when the abort button is
clicked
2). Prevents further file copy/move operations until the abort action is done
3). Removes the .part files if exists
4). Tries to hide the progress bar even if the owner has already gone
5). Removes the query part from the extention when deciding a temporary file
name for non-local source files.
Comment 2 Martin Aumueller 2006-12-29 10:36:10 UTC
Thank you for the patch. Already applied for 1.4.5.