Bug 238740

Summary: machine blocked when accidentally attaching large number of files
Product: [Applications] kmail Reporter: Daniel Franke <franke.daniel>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Franke 2010-05-24 22:55:38 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

In a directory that contains probably thousands of files, I intended to select three to attach them to a message. For unknown reasons I seem to have selected all files.

It appears that for each file, a transmission dialog pops up and possibly, a thread or process is spawned. My box is not fully dead yet, but blocked for at least 45 minutes now. Display updates are done once per minute, if at all. Keyboard input is not processed (think 'kill' in konsole).

Please, pretty please: either change the transfer system to only open one dialog and queue all files there which would make it easy to stop the whole thing. Or at the very least, add a confirmation dialog that asks if an unusually large number of files shall be attached (10?), whether this shall really be done.

Popping up thousands of file transfer dialogs that would need to be closed individually (assuming the system accepts keystrokes or mouse clicks) is ... unreasonable.


Reproducible: Didn't try
Comment 1 Daniel Franke 2010-05-25 00:10:07 UTC
After about two hours and (eventually) restarting X, everything is back to normal again. Two hours! *rolleyes*
Comment 2 Christophe Marin 2012-01-08 01:26:35 UTC
> It appears that for each file, a transmission dialog pops up and possibly, a
thread or process is spawned.

That's no longer the case with recent KDE & KMail versions. (I don't see any dialog when dropping files from dolphin to the composer window