Bug 505101 - Saving an partial message of an multipart message results in zero size file
Summary: Saving an partial message of an multipart message results in zero size file
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (other bugs)
Version First Reported In: 6.4.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-01 19:15 UTC by mail+kde
Modified: 2025-06-01 19:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail+kde 2025-06-01 19:15:33 UTC
SUMMARY
Given a multipart message that contains multiple messages (use case e.g. Forward multiple E-Mail as is within a single email), those messages are shown as embedded message.
In the message structure view, you can select a single part / substructure and choose to save it via the context menu. Instead of a file containing the selected part (including all its sub-parts), i only get an empty file.

STEPS TO REPRODUCE
1. Open a multipart message with one or more (other) mails as attachment
2. Open the structure view (Ctrl+Alt+D)
3. Select one of the attached messages / subparts of the outer message that is a message by itself
4. Right-Click on it
5. Choose Save and save the file

OBSERVED RESULT
A file with the chosen name will be created.
It has zero bytes size (no content)

EXPECTED RESULT
The file should have the actual content of the selected mime part

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSuSE Tumbleweed 20250531
Kernel  6.14.6-1-vanilla (64-bit)
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0