Bug 334095

Summary: Composer widget should choose the sender identity after all recipients were entered
Product: [Applications] trojita Reporter: Jan Kundrát <jkt>
Component: Desktop GUIAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan Kundrát 2014-04-29 17:48:03 UTC
Instead of showing a list of identities from settings and picking one of them at the time a reply action is started, the default identity should be determined only after all recipients are entered. Given that the user has three identities, these options should be offered to the user:

- Automatically determine (current: a@example.org)
- Foo Bar <a@example.org>
- Meh Meh <b@acme.com>
- Test User <xyz@company.com>
- Custom address...

The actual text of the first option should be dynamically updated to reflect what recipients were entered. As an example, starting with no recipients, a@example.org is picked as it's a default identity. When the user enters a first recipient, somebody.else@company.com, the text should become "Automatically determine (current: xyz@company.com)". When foo@acme.com gets added after that, the text should change to "Automatically determine (b@acme.com)" because that domain has a higher preference (it's listed "more to the top" at the list of identities).

Upon picking "Custom address", a new widget should pop up where the user is able to enter any valid e-mail address.

The QComboBox which is used should be changed back to not accepting user-defined options.

Bonus points for handling resets of the underlying sender identity model (as happens when reloading settings).
Comment 1 Andrew Crouthamel 2018-11-11 04:23:28 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Jan Kundrát 2018-11-12 12:40:21 UTC
.
Comment 3 Christoph Cullmann 2024-09-23 18:51:11 UTC
Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/

Sorry for the inconveniences.