Version: reproduced on 1.8 and on 1.9 (using KDE KDE 3.5.0)
Installed from: SuSE RPMs
Sorry to open a new bug on this, but I couldn't reopen #20328. I'm experiencing this bug again on KDE 3.4 and 3.5, and I know it was fixed on 3.3.
Description: Regardless of folder settings, in Kontact any "New Message" has the "default" identity. "Reply" messages have the correct identity.
Other details on the reproduction systems:
SuSE 9.3 Thinkpad laptop, Kmail 1.8, IMAP mailboxes, 4 identities each with their own IMAP and SMTP.
SuSE 10.0 HP slimline, Kmail 1.9, diMAP mailboxes, 4 identities each with their own diMAP and SMTP.
Please re-open this issue and look at fixing it. Thanks.
Works fine here. KMail 1.9.1 r505606.
Are you using Kmail alone or through Kontact? Per #20238, the issue specifically occurs due to a Kontact issue (which I've tested).
Ok, let me get an exact version number from my home machine (which is running SuSE 10). I guarentee that I can reproduce this issue 100% of the time on my machine. Possibly it's 1.9.0. Also, are you testing on IMAP/diMAP accounts or POP accounts?
I've couple IMAP accounts and I keep loosing the default identity from inbox properties every now and then and thus I send mails with wrong from headers. I'm running kmail as standalone, not in kontact and using FC4 rpms.
Have you checked all folder settings? When I switched to KDE 3.4.2?3 all custom sender settings for all my folders were set to default.
Yes, I have ... the Kmail 1.9 instance was re-created from scratch.
I'm about to go on a trip out of the country, so I'll need to follow up on this when I get back. Please don't cancel this bug until I have a chance for follow-up. Thanks!
If KMail or Kontact crashes, you may lose your per-folder settings, which would explain this behaviour. Check your folder properties when you see this problem happen.
Just for curiosity - what causes this to happen? (loosing folder settings)
I would assume that kmail reads it settings when starting and writes those back when shutting down. If it crashes without proper shutdown - what breaks the settings? Are configs written by some other process?
Nope, the folder properties are set correctly. They are just 100% ignored for new messages.
josh@spooky:~> kmail --version
KDE: 3.4.2 Level "b"
josh@spooky:~> kontact --version
KDE: 3.4.2 Level "b"
Sender Identity: PostgreSQL
New message comes out with "Default" identity
Reply has (correct) "PostgreSQL" identity.
Can repeat 100% of the time.
New Message: Identity Default
Sorry about the version mistake. I thought SuSE 10 had going to KDE 3.5. However, I don't see this bug on the fix list for 3.5 so I don't think it's affected ...
Please try 3.5 nevertheless. This bug has never happened to me and I've been using KMail with folder identities since they first became available.
Since I'm on SuSE, I can't really upgrade KDE until SuSE does. I'm not willing to risk hosing a desktop system.
It's possible that this is something specifically wrong with SuSE's build of Kontact or KDE. I've consistently reproduced this problem, on 3 different machines, running from SuSE 9.1 to 10.0. One of the machines was even installed from scratch on 10.0, so it's not upgrade issues. Can you think of any way to confirm that this is specifically a SuSE issue? Is it possible to raise this with SuSE staff in a way that it will actually get addressed?
Like I said, the odd thing is that this feature was working under Kmail 1.5 (SuSE 9.0).
Ok, just tested something I should have tested before. This is specifically a Kontact problem -- in Kmail without Kontact, the identity selection works properly. It's only from Kontact that it doesn't.
So this bug is *identical* to bug 20328. So it's probably the same bug. Take a quick gander?
(BTW, thank you for continuing to follow up on this)
I never really used kontact, but my identity has vaporised many times.
I'm using Kontact and it works fine.
I'm not reopening a 5-year-old bug. The conditions have changed considerably since then.
*** This bug has been marked as a duplicate of 120089 ***
Hmmm ... I just read bug #120089, and it's not the same bug. That bug can be summarized as:
KMail forgets identity information on unclean shutdown.
This bug is best summarized as:
Kontact ignores KMail's folder identity settings.
(I'd fix the original bug description if Bugzilla would let me)
(regardless of what changes have been made since 20328, the behavior is *exactly* the same as bug 20328)
If you're asking me to check 1.9 because you think it's fixed there, OR if you think that this is a SuSE issue, then that's one thing; but it's definitely not a duplicate of 120089 unless you have technical information about it you haven't posted. So please mark it as "can't reproduce" if you're going to mark it as anything; otherwise I'm happy to leave it as "unconfirmed" until I can test 1.9/3.5.0.
Please test 1.9.1.
I've been using Kontact with this KMail feature working fine for two years now, and never have I seen this problem you describe, except after a crash.
Thanks for sticking with me. I'll test 1.9 as soon as SuSE supports it.
Please reopen if the problem remains on 1.9.1.
Thiago, Kontact Developers:
I did some interactive Q&A with the devs on #kontact. We were able to narrow down the bug somewhat.
Specifically, it is *only* the "New ..." button from Kontact which is ignoring the Kmail folder selection. If one adds the "New Message To" button (a Kmail rather than Kontact button) or uses CTRL-N, the correct identity is selected. Also note that even with this specificity, only one other user on #kontact could reproduce the bug, implying that there's some other dependency in Kontact configuration, identities or platform which is unknown.
Given the intermittent nature of the bug, I don't expect this to get fixed by the KDE team, but I want it on Bugzilla so that others who experience it can find this issue and the workaround.
WORKAROUND: go to "Toolbars --> Configure". Remove the "New Message" button from the main toolbar and the kmmain toolbar. Replace it with the "New Message To ..." button.