Summary: | Mail signature is treated invalid when provided as file | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | aosthof |
Component: | config dialog | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | montel |
Priority: | NOR | ||
Version: | 5.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
aosthof
2016-03-29 09:21:41 UTC
it's local file ? (it works fine here kmail 5.2) (In reply to Laurent Montel from comment #1) > it's local file ? > (it works fine here kmail 5.2) Yes, it's a local file, plain text, permissions 644. The strange thing is, I can use the output of a command (e.g. "cat /path/to/signature") as workaround. I know that I fixed some bugs in kdepim 5.1.x so for me it's fixed as it works here. But not idea in which kdepim version I've just upgraded to the latest version available in KDE:/Applications/openSUSE_Leap_42.1, which is kmail5 15.12.3-42.1, but this didn't fix the issue. However I think the relevant fix for this issue went into the 16.03.80 release (likely https://github.com/KDE/kdepim/commit/51fa1752b5c271c504f775945e84d97c7df81b8b). As I have a workaround, I'll wait for the next release to be available for openSUSE Leap. Thanks for looking into this issue anyway! + QFileInfo file(mSignatureConfigurator->filePath()); + if (!file.isReadable()) { KMessageBox::error(this, i18n("The signature file is not valid")); return; } indeed. I couldn't adapt api in 5.1.x so I changed to 5.2 Fine for me, I can wait. Thanks for the confirmation. |