https://bugs.kde.org/show_bug.cgi?id=400567
Bug ID: 400567 Summary: Choosing mail signature from a file deletes the selected file causing data loss Product: kmail2 Version: 5.9.2 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: major Priority: NOR Component: general Assignee: kdepim-b...@kde.org Reporter: chris_aitch+...@fastmail.co.uk Target Milestone: --- SUMMARY Data loss / file deletion when attempting to set a signature from pre-existing file for (default?) identity. STEPS TO REPRODUCE 1. Settings > Configure KMail 2. Accounts > Identities > Modify... 3. Edit Identity > Signatures > Enable signature is ticked 4. Obtain from: File 5. Select a file. 6. Now here I can't remember whether I hit OK, Cancel or Edit file OBSERVED RESULT Data loss, the file is deleted. Some output from terminal: QFSFileEngine::open: No file name specified org.kde.pim.kidentitymanagement: Failed to open "" : "No file name specified" command= "kwrite %U" args= ("kwrite %U", "file:///home/chris/sigs/CallMeLess") EXEC "/usr/bin/kwrite /home/chris/sigs/CallMeLess" EXEC done sleeping... org.kde.pim.messagecore: Serious mailing list header parsing error! org.kde.pim.messagecore: Serious mailing list header parsing error! qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 15797, resource id: 117440574, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 15800, resource id: 117440574, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 15803, resource id: 117440574, major code: 130 (Unknown), minor code: 3 about to delete "/home/chris/sigs" containing "CallMeLess" EXPECTED RESULT File is not deleted. File gets added to the bottom of new messages using that identity. SOFTWARE VERSIONS (available in About System) KDE Plasma Version: 5.14.2 KDE Frameworks Version: 4.51.0 Qt Version: 5.11.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.