Bug 322075

Summary: Identity chosen ignores Folder Properties in Composer
Product: [Applications] kmail2 Reporter: yuzyk
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: montel
Priority: NOR    
Version: 4.10.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: folder_Alpines.png
folder_SuperNet.png

Description yuzyk 2013-07-07 18:02:01 UTC
I have several Identities, each with their own Signature, defined for an Account.

I have Folders set to use a particular Identity for composing mail.

When I start a new message for one of those Folders, it seems the first Identity defined for that Account is chosen, not the one specified in Folder Properties. More often than not, I have to change to the correct Identity.

This was happening in KMail 1 too.



Reproducible: Always
Comment 1 Laurent Montel 2013-07-07 19:07:08 UTC
Works fine here.
Comment 2 yuzyk 2013-07-08 03:46:20 UTC
On Sunday, July 07, 2013 07:07:08 PM Laurent Montel wrote:
> https://bugs.kde.org/show_bug.cgi?id=322075
> 
> Laurent Montel <montel@kde.org> changed:
> 
>            What    |Removed                     |Added
> -------------------------------------------------------------------------
> --- CC|                            |montel@kde.org
> 
> --- Comment #1 from Laurent Montel <montel@kde.org> ---
> Works fine here.

Not for me. I have two Identities, 'Supernet' and 'Alpines' that both use 
the same address. I have an 'Alpines' folder as sub to a 'Supernet' folder, 
and matching Identities configured for each. I just opened a reply to a 
message in the 'Supernet' folder, and was given the 'Alpines' Identity. 

KMail 1 did this too, but I never filed a bug on it.
Comment 3 Laurent Montel 2013-07-08 05:25:08 UTC
I need more infos that it:
For example screenshot of your folder properties + screenshot of your identity etc.
Comment 4 yuzyk 2013-07-09 06:00:35 UTC
Created attachment 81015 [details]
folder_Alpines.png

On Monday, July 08, 2013 05:25:08 AM you wrote:
> https://bugs.kde.org/show_bug.cgi?id=322075
> 
> --- Comment #3 from Laurent Montel <montel@kde.org> ---
> I need more infos that it:
> For example screenshot of your folder properties + screenshot of your
> identity etc.

Here are the two identities from ~/.kde/share/config/emailidentities:

[Identity #1]
Attach Vcard=false
Dictionary=English (Canada)
Drafts=775
Email Address=jerome@supernet.ab.ca
Email Aliases=
Fcc=837
Identity=Alpines
Image Location=
Inline Signature=\n=              J e r o m e   Y u z y k | 
jerome@supernet.ab.ca\n=    Sunbeam Alpine Series II #9118636 | 
www.bss.ab.ca/sunbeam\n
Inlined Html=false
Name=Jerome
Preferred Crypto Message Format=auto
Reply-To Address=Alpines@autoex.team.net
Signature Enabled=true
Signature Type=inline
Templates=785
VCardFile=/home/jerome/.kde/share/apps/kmail2/Alpines.vcf
X-FaceEnabled=false
uoid=91949028

[Identity #13]
Attach Vcard=false
Dictionary=English (Canada)
Drafts=775
Email Address=jerome@supernet.ab.ca
Email Aliases=
Fcc=837
Identity=SuperNet
Image Location=
Inline Signature=
Inlined Html=false
Name=Jerome Yuzyk
Organization=BRIDGE Scientific Services
Preferred Crypto Message Format=auto
Reply-To Address=jerome@supernet.ab.ca
Signature Enabled=false
Signature Type=inline
Templates=785
VCardFile=/home/jerome/.kde/share/apps/kmail2/Alpines.vcf
X-FaceEnabled=false
uoid=1641411393



Oddly, they have the same VCardFile, as do other Identities using that 
account.

Attached are captures of the Folder properties for the folder each 
identity is related to.
Comment 5 yuzyk 2013-07-09 06:00:44 UTC
Created attachment 81016 [details]
folder_SuperNet.png
Comment 6 Denis Kurz 2016-09-24 18:23:23 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 7 Denis Kurz 2017-01-07 21:48:11 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.