Bug 48219 - long 'To' list must be shortened in kmail fancy headers
Summary: long 'To' list must be shortened in kmail fancy headers
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: messageviewer (show other bugs)
Version: 1.4.2
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 69622 109536 118795 125346 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-24 08:30 UTC by jiggyshome
Modified: 2011-11-23 08:07 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Script for cleaning the To: header (1.82 KB, application/x-perl)
2004-09-29 00:12 UTC, Matej Cepl
Details
The original message. (3.88 KB, message/rfc822)
2004-09-29 00:13 UTC, Matej Cepl
Details
The filtered message. (3.68 KB, message/rfc822)
2004-09-29 00:14 UTC, Matej Cepl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jiggyshome 2002-09-24 08:30:46 UTC
Version:           1.4.2 (using KDE KDE 3.0.2)
Installed from:    SuSE RPMs
Compiler:          gcc version 2.95.3 20010315 (SuSE) 
OS:          LinuxLinux

this is a wish. When there are a lot of addresses listed in the To fiels in the header, it occupies the whole  screen and I have to scroll down to read the message. The to list however is not significant enough to be displayed completely. I will we can have a standard size for the fancy header box and if the number of recepients are more than one line there can be a listbox of a 'click to expand' button to show the remaining list. this will make is look more elegant. I know that there is a brief headers option. But the fancy headers look good. if somebody wants detailed header info they can select the long or all headers option. but having a one page long header does nto make the fancy header fancy.


I would also like to get support for HTML support in the composer. support for HTML signatures and also when opening a mail in a seperate window it would be convenient if a tool bar with reply,forward,print,delete and other commonly used options would be present.

thanks

sanjeev
Comment 1 Hamish Rodda 2003-05-28 09:23:12 UTC
I agree with the To fields problem.  Over a certain number of recipients, they 
could be put into a separate span tag with css display: none, which can be 
altered by clicking on a href with the appropriate javascript to toggle the display 
setting.  I can produce a proof of concept if needed. 
Comment 2 Ingo Klöcker 2003-05-29 00:30:36 UTC
Subject: Re:  long 'To' list must be shortened in kmail fancy headers

On Wednesday 28 May 2003 09:23, Hamish Rodda wrote:
> I agree with the To fields problem.  Over a
> certain number of recipients, they could be put into a separate span
> tag with css display: none, which can be altered by clicking on a
> href with the appropriate javascript to toggle the display setting. 
> I can produce a proof of concept if needed.

Unfortunately we can't allow the execution of JavaScript since it's not 
possible for khtml to decide whether the JavaScript code was generated 
by KMail or whether it's part of a possibly malicious HTML message. 
Therefore your idea, although nice, can't be used.

Instead we will have to use a special kmail: link as we already do for 
HTML only mails. This shouldn't be too difficult either. Just someone 
has to do it.
Comment 3 Carl Hudkins 2003-09-11 02:48:13 UTC
I'm adding my voice to those wishing for a collapsing recipients list!  My boss has 
recently started sending out mass e-mails, and instead of using BCC he puts 100 
addresses in the To field.  My wish would be for a user-configurable option to 
auto-collapse the recipient list if the number exceeds a certain threshold.  Further, I 
think this feature should be available in all header styles which show the recipients (not 
just Fancy as originally suggested). 
Comment 4 Ingo Klöcker 2003-12-04 11:11:37 UTC
*** Bug 69622 has been marked as a duplicate of this bug. ***
Comment 5 jiggyshome 2004-05-11 07:13:21 UTC
close
Comment 6 Hamish Rodda 2004-06-07 07:42:34 UTC
Sorry, as far as I can see this feature has not been implemented.  Could you be a bit more specific when closing bug reports? Thanks.
Comment 7 Matej Cepl 2004-09-09 21:24:45 UTC
What is the current state of this bug, please?
Comment 8 Matej Cepl 2004-09-09 22:05:40 UTC
Sorry for spamming (there was a fire alarm in this building and I pressed a button before evacuating :-), but what I meant (concerning comment #2) is that we needn't javaScript at all. All what would be necessary is first-line pseudoelement (which is supported by KHTML, right?).
Comment 9 Matej Cepl 2004-09-29 00:12:18 UTC
Created attachment 7717 [details]
Script for cleaning the To: header

I have tried to use this script (originally from
http://www.spocom.com/users/gjohnson/mutt/mail-to-filter) and push message
through it. I know that it is suboptimal (because I change actual message), but
it kind of works. With an example message (attached) I get the filtered message
(also attached). However, KMail does not seem to recognize header:

To: somebody@neu.edu
   [10 lines deleted]

as correct header (although it is, IMHO) and shows only the first message, so
there is no indication of cleaning.
Comment 10 Matej Cepl 2004-09-29 00:13:34 UTC
Created attachment 7718 [details]
The original message.
Comment 11 Matej Cepl 2004-09-29 00:14:13 UTC
Created attachment 7719 [details]
The filtered message.
Comment 12 Daniel Molkentin 2004-10-07 20:33:29 UTC
Just a hint to all the "We don't have JavaScript" people: We might not have access to the DOM via JavaScript, but we have direct access to the DOM via C++. Why on earth would we need JavaScript? :)
Comment 13 OlliK 2005-11-08 12:00:29 UTC
Hi there!
I just wanted to open a similar request. This feature is rather desirable. Why can't there just be some kind of button to expand/collapse the recipient-list?
Kmail is great! Thanks to all developers!!
Olli
Comment 14 Rolf Eike Beer 2007-09-18 19:43:10 UTC
*** Bug 125346 has been marked as a duplicate of this bug. ***
Comment 15 fabiomargarido 2009-08-18 15:31:06 UTC
Hi there,

I'd like to add that this issue also affects me and it is still present in version 1.12.0 and KDE 4.3.0.
Thank you.
Comment 16 Björn Ruberg 2009-12-21 20:05:28 UTC
*** Bug 109536 has been marked as a duplicate of this bug. ***
Comment 17 Björn Ruberg 2009-12-24 15:44:39 UTC
*** Bug 118795 has been marked as a duplicate of this bug. ***
Comment 18 Olek Gut 2011-11-23 04:51:20 UTC
[FIXED] Icon for collapse "To:" exist
Comment 19 Anne-Marie Mahfouf 2011-11-23 08:07:50 UTC
Closing as fixed. Please open a new wish for product kmail2 if you think you still want a feature.