[kmail2] [Bug 400567] Choosing mail signature from a file deletes the selected file causing data loss

Jonathan Marten bugzilla_noreply at kde.org
Fri Feb 3 15:21:09 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=400567

Jonathan Marten <jjm at keelhaul.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED
                 CC|                            |jjm at keelhaul.me.uk

--- Comment #13 from Jonathan Marten <jjm at keelhaul.me.uk> ---
Coinfirmed with current Git master.

This happens because SignatureConfigurator::slotEdit() calls
job->setDeleteTemporaryFile(true).  This should not be done, it is telling the
job that the file specified is a temporary file and therefore should be deleted
(after a delay of 3 minutes) when the editor is closed.  If the file URL is
remote, KIO will handle downloading it to a temporary file and deleting the
local copy afterwards itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list