Bug 251617 - Use identity for an Imap account not implemented
Summary: Use identity for an Imap account not implemented
Status: CLOSED FIXED
Alias: None
Product: KMail Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-17 22:19 UTC by Sabine Faure
Modified: 2010-12-10 17:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2010-09-17 22:19:06 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The identity that the user selects for the Imap account is never used in the Composer so I am guessing that it is not implemented.



Reproducible: Always

Steps to Reproduce:
Prerequisite: having selected a default identity in the Configure dialogue (ex: Identity A).

- Launch Kmail-mobile
- Click on your Imap resource
- Open the 'Actions' tab
- Click on 'Account'
- click on 'Edit account'
- Scroll down and click on the 'Identity' button
- Select a different identity (ex: Identity B) than the one you have entered as the default one in Identities (Main window (Home) -> Open 'Actions' tab -> Identities)
- Check the 'Use default identity' check box
- Click on 'Ok'
- Click on 'Write new Email' button

Actual Results:  
Whatever you do the identity displayed in the composer is the default identity for Kmail (Identity A) and not for the Imap resource (Identity B).

I've tried quiting and relaunching Kmail-mobile to make sure that this is not just an update pb but it still does not work.

Expected Results:  
The composer should display the Imap resource identity selected by the user (Identiy B).

The Imap identity is not used when replying to an email from the Imap account folder either whereas it should.

N900, 4:4.5~20100917.1176264-1maemo1.1174921
Comment 1 Tobias Koenig 2010-11-27 14:25:55 UTC
SVN commit 1201361 by tokoe:

Preset the identity combobox in the composer with
the account/folder identity of the currently selected
collection.

BUG: 251617


 M  +16 -1     composerview.cpp  
 M  +4 -1      composerview.h  
 M  +16 -0     mainview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1201361
Comment 2 Sabine Faure 2010-11-29 01:37:14 UTC
It is partly corrected now.

The second part of the bug seems to be corrected since the Imap identity (Identity B) is used when replying to an email from the Imap account folder.

However, the identity displayed in the composer is still the default identity for Kmail (Identity A) and not for the Imap resource (Identity B) even when using the 'Actions' tab from the Imap inbox folder to open a Composer.

So I am reopening this bug.


N900, 4:4.6~20101128.1201814-1maemo1.1200957
Comment 3 Tobias Koenig 2010-12-02 10:10:29 UTC
SVN commit 1202766 by tokoe:

Preset the identity in the composer for reply/forward action as well.

BUG: 251617


 M  +10 -0     mainview.cpp  
 M  +2 -0      mainview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1202766
Comment 4 Sabine Faure 2010-12-02 18:10:11 UTC
I retested this today and it seems worse than before: the original bug is back just like in the description.

Whatever the user does it is always Identity A that is selected by default.

It seems that the steps of the description have changed a little so here are new steps to retest:

Prerequisite: having selected a default identity in the Configure dialogue (ex:
Identity A) in Main window (Home) -> Open 'Actions' tab -> Identities.

- Launch Kmail-mobile
- Click on your Imap resource (NOT on your imap resource inbox!)
- Open the 'Actions' tab
- Click on 'Account'
- click on 'Account Properties'
- Scroll down and click on the 'Identity' button
- If checked by default uncheck the 'Use default identity'
- Select a different identity (ex: Identity B) than the one you have entered as
the default one in Identities (Main window (Home) -> Open 'Actions' tab ->
Identities)
- Click on 'Ok'
- Click on 'Write new Email' button

The composer should display the Imap resource identity selected by the user
(Identiy B) and not the default one (Identity A).

N900, 4:4.6~20101202.1202765-1maemo1.1202581
Comment 5 Sabine Faure 2010-12-10 17:02:11 UTC
Thx to Tobias' explanations I was able to retest this correctly and checked that it in fact worked. Thx Tobias! ;o)

For identity B to displayed in the Composer the user should not use the 'Write new email' button (last step of the description above) but reopen the Actions tab and Click on Mail -> New Mail to open the Composer.

Since the user is still within its imap account the composer opens with Identity B automatically as it should.

This bug is fixed so I am now closing it.

I will retest the using the imap identity (Identity B) automatically when replying to an email from the Imap account folder as soon as I can get my imap account working again and akonadi console as well.


N900, 4:4.6~20101210.1205130-1maemo1.1204898
Comment 6 Sabine Faure 2010-12-10 17:32:23 UTC
I retested using the imap identity (Identity B) automatically when
replying to an email from the Imap account folder and it still works fine so this bugs is closed now.

N900, 4:4.6~20101210.1205130-1maemo1.1204898