Bug 473742

Summary: Timestamp set to current time when printing a selection of a message
Product: [Applications] kmail2 Reporter: Martin Pola <martin>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: martin
Priority: NOR    
Version: 5.23.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Pola 2023-08-25 06:34:26 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open a message that you have received.
2. Select some of the text in the message. (I have only tried this in plain text mode.)
3. Press CTRL + P to open the print dialogue, and select to print to PDF.
4. Open the PDF file and look at the Date field. 

OBSERVED RESULT
The timestamp value in the Date field in the resulting PDF is the time of when the message was printed, and not the time of when the message was written.

EXPECTED RESULT
The timestamp value in the Date field in the resulting PDF should be the timestamp of when the message was written.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION