Bug 238740 - machine blocked when accidentally attaching large number of files
Summary: machine blocked when accidentally attaching large number of files
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 22:55 UTC by Daniel Franke
Modified: 2012-01-08 01:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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