Bug 310736 - Offer mailing list specific options only for list mails
Summary: Offer mailing list specific options only for list mails
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 4.9.3
Platform: Chakra Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 21:48 UTC by Bernd Oliver Sünderhauf
Modified: 2013-05-14 09:24 UTC (History)
3 users (show)

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 Bernd Oliver Sünderhauf 2012-11-26 21:48:08 UTC
In order to simplify the UI, "Reply to Mailing-List" should only be offered if the current mail in fact is from a mailing list (= message list headers are set).
In other cases the option should be hidden as non-applicable.

This concerns the following UI elements:
- Main menu: Message -> Reply Special
- Message viewer toolbar
- Message list context menu
- Message preview pane context menu

Reproducible: Always
Comment 1 Bernd Oliver Sünderhauf 2012-11-26 22:19:19 UTC
Just found out that the menu item Create filter -> Filter on Mailing-List and the Mailing-List submenu already reflect this, so the code is already there and available.

Additionally the menu item Create filter -> Filter on Mailing-List mentions the name of the list (obviously the first part of the List-ID), which would be nice here, too.
Comment 2 Bernd Oliver Sünderhauf 2012-11-26 22:24:45 UTC
Same for "New Message to Mailing-List" in the main menu -> Message. This should also be disabled when a non-list mail is active, and would be nice to mention the list name.
(Sorry for the many pings.)
Comment 3 Laurent Montel 2012-11-27 12:41:12 UTC
(In reply to comment #1)
> Additionally the menu item Create filter -> Filter on Mailing-List mentions
> the name of the list (obviously the first part of the List-ID), which would
> be nice here, too.

We can't add it. Otherwise size of menu will too big.
Comment 4 Bernd Oliver Sünderhauf 2012-12-05 15:43:17 UTC
(In reply to comment #3)
> (In reply to comment #1)
> We can't add it. Otherwise size of menu will too big.

That might unfortunately be true.
However, the main aspect of this issue (disable mailing-list options, if inapplicable) remains relevant (see description + comment #2).
Comment 5 Laurent Montel 2012-12-07 08:24:08 UTC
Git commit d3c27f034bce1addd48f00e5a6d3bc8c28730c94 by Montel Laurent.
Committed on 07/12/2012 at 09:23.
Pushed by mlaurent into branch 'master'.

Start to fix Bug 310736 - Offer mailing list specific options only for

list mails

"new message to ML" is disabled when not a ML

M  +3    -0    kmail/kmmainwidget.cpp

http://commits.kde.org/kdepim/d3c27f034bce1addd48f00e5a6d3bc8c28730c94
Comment 6 Laurent Montel 2012-12-07 08:25:11 UTC
For 'Reply Special' it's not very easy to fix it.
We must parse mail before it.
Not sure if it's possible for the moment.
Comment 7 Graeme Hewson 2013-05-13 16:46:12 UTC
New Message to M-L doesn't fill in the To field (4.10.2).
Comment 8 Laurent Montel 2013-05-14 06:29:38 UTC
(In reply to comment #7)
> New Message to M-L doesn't fill in the To field (4.10.2).

works fine here.
which is your url in Mailing dialog for your Mailing list ? full url.
Comment 9 Graeme Hewson 2013-05-14 09:24:54 UTC
(In reply to comment #8)

Sorry, I should have RTFM before posting. Please ignore my comment.