Bug 363130 - Dragging attached messages to folders looks as if it works, but doesn't
Summary: Dragging attached messages to folders looks as if it works, but doesn't
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 5.1.3
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-16 11:48 UTC by Gunter Ohrner
Modified: 2022-11-05 18:04 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 Gunter Ohrner 2016-05-16 11:48:59 UTC
This might lead to "lost" messages:

If you have a message with another message attached, you can drag this attached message (dragging the "Embedded Message" link) to another mail folder.

A popup dialog will open "Copy here / Cancel" and if you choose "Copy", you will have the impression that you just copied the embedded message as a new message to the destination folder.

In fact, kMail instead silently refuses to perform the action and nothing will be copied.

(While experimenting with this behaviour I noticed that the DnD target dialog will be shown for any attempted DnD operation, regardless of the object's MIME type. So you can also eg. drop attached ICS files to a mail folder, which of course also fails, but does not give any feedback that it did. My expectation would be that kMail does not indicate drop functionality for incompatible MIME types, but allows to drop embedded messages as new messages as it's a compatible data format. And in any case, kMail should complain if the operation cannot be completed successfully, and should never fail silently without notifying the user!)

Reproducible: Always

Steps to Reproduce:
1. Send yourself an eMail with another message attached and open the received email.
2. Drag the embedded message to any email folder by dragging the "Embedded Message" link onto a folder it in the folder list - the mouse pointer will change to a "DnD copy" symbol - and dropping it there.
3. Select "Copy here" from the popup menu which will appear.

Actual Results:  
Nothing happens, the message will NOT be copied and there will be NO error message.

Expected Results:  
The dropped message should appear in the destination folder if the mouse pointer indicates that it is possible to drop it there. If it's not possible to drop it, the mouse pointer should indicate this by showing the "DnD forbidden" symbol.

In any case, an error message should indicate that the DnD operation was not successful if it fails for whatever reason.

This behaviour might lead to information loss, if someone collects important information / messages in a mail folder and fails to move in important message there due to this bug. In this case, the message which failed to copy will be "out of focus" and the task or information contained might be forgotten. This nearly happened to me. => severity "Major".
Comment 1 Justin Zobel 2022-10-21 00:17:46 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Gunter Ohrner 2022-10-21 07:26:54 UTC
(In reply to Justin Zobel from comment #1)
> If you can reproduce the issue, please change the status to "CONFIRMED" when
> replying. Thank you!


Due to too many bugs in kMail some years ago I stopped using it and switched to Thunderbird. I was not happy to have to make that choice, but since then at least I didn't lose access to my mails any more because some maintenance update does not work at all - as it happened more than once with kMail unfortunately. :-(

So I cannot re-test.
Comment 3 Bug Janitor Service 2022-11-05 05:08:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Gunter Ohrner 2022-11-05 18:04:40 UTC
Retested with

KMail
Version 5.21.2 (22.08.2)
KDE Frameworks 
Version 5.99.0
Qt 
Version 5.15.7 (kompiliert gegen 5.15.6)
Das Fenstersystem xcb

I can still confirm the bug.

The popup menu on "drop" only shows "move message" now, it does not offer to copy it (which makes even less sense), but still the operation silently fails.

Dragging attachments (images or PDFs) to mail folder from the mails structure view yields a popup saying "Copy here", but of course this also does not work. Dragging whole attached messages from the "structure view" is not possible ("forbidden" mouse cursor).