Bug 144968 - Attachments order is not preserved during Drag and Drop
Summary: Attachments order is not preserved during Drag and Drop
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 1.99.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 20:39 UTC by Anil
Modified: 2023-01-04 15:30 UTC (History)
4 users (show)

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 Anil 2007-05-02 20:39:49 UTC
Version:           1.9.6 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.19-7-386

When a set of files are dragges into compose window, the order of files is not maintained.
Comment 1 Thomas McGuire 2007-05-02 21:17:14 UTC
Where did you drag the files from?
Why does the order matter to you?
Comment 2 Anil 2007-05-02 21:22:33 UTC
> Where did you drag the files from? 
Say konqueror

> Why does the order matter to you?
Drag the same set of files, you might see different ordering in kmail.
I guess this happens because of kio. Suppose i drage 3 files A1, A2, A3 then ordering in kmail is dependent on which kio finished first, second and third.
Comment 3 Hans 2007-09-09 17:20:24 UTC
This bug (as I see it) isn't limited to drag-and-drop actions. It happens as well when you select the files to attach from the dialog. The only workaround I found is to select the files one by one.

It would be nice to be able to change the order by hand and to have the attachments sorted automatically by clicking the column title in the composer. The default should be to keep the files' order as the user saw it when selecting them. This way you could already sort the files by a column in the selection dialog.

Why the order does matter?

- It looks ugly if you see files that obviously build a sequence in the wrong order.
- It makes sense to send files in a meaningful order (Overview.pdf, Day_1.pdf, Day_2.pdf, Day_3.pdf).
- I want to be in control of what my computer does. This is why I prefer Linux over MS Windows and KDE over Gnome. A reasonable default behaviour is nice as long as I can change it. A senseless behaviour like the shuffled attachments is bad even with the ability to interfere, worse whithout.


Should I open a new entry? I guess this bug and the wishes are of the category "keep on dreaming, we won't fix it". Too exotic. Wrong?
Comment 4 Olek Gut 2011-11-23 05:50:41 UTC
This feature request is still valid for KMail 2
Comment 5 Anne-Marie Mahfouf 2011-11-23 08:24:16 UTC
Reassigning to kmail2
Comment 6 Frank Steinmetzger 2023-01-04 15:30:10 UTC
(In reply to Thomas McGuire from comment #1)
> Where did you drag the files from?

In my case I used the file picker dialog.

> Why does the order matter to you?

The other day I was sending some pictures and wrote a descriptive text about them. The image filenames were in chronological order (they started with the date in ISO format) and my text described the details of the images (“first I attached … Then you see …“). In the composer’s attachment list they were shown in the right order. But once sent (or even just saved as draft), they were mixed up. Interestingly, after I renamed them from starting with the date to “1.”, “2.” in front of the date, the mixup was still in the same order.