https://bugs.kde.org/show_bug.cgi?id=406034
Tobias Leupold <tobias.leup...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tobias.leup...@gmx.de --- Comment #1 from Tobias Leupold <tobias.leup...@gmx.de> --- This is caused by the way QTemporaryFile is used in Gui/AttachmentView.cpp. In openDownloadedAttachment(), just after the QDesktopServices::openUrl() call, m_tmpFile is deleted. >From the Qt docs: The name of the temporary file is guaranteed to be unique (i.e., you are guaranteed to not overwrite an existing file), and the file will subsequently be removed upon destruction of the QTemporaryFile object. Here we are ... I don't think this is desired behavior: Either, one should keep the file object until trojita is closed, or not use QTemporaryFile at all in this case, and e. g. do a cleanup of old temporary files on the next startup. Well, if you want to change this, one has to do a decision on how to implement it, as this is no bug in the code but caused by the implementation itself ... -- You are receiving this mail because: You are watching all bug changes.