Summary: | long 'To' list must be shortened in kmail fancy headers | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | jiggyshome |
Component: | messageviewer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | annma, braempje, carl, eMail, fabiomargarido, khadjari, mcaspi, mcepl, olekgutjwr, viktor.nagy |
Priority: | NOR | ||
Version: | 1.4.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Script for cleaning the To: header
The original message. The filtered message. |
Description
jiggyshome
2002-09-24 08:30:46 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. 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.
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). *** Bug 69622 has been marked as a duplicate of this bug. *** close 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. What is the current state of this bug, please? 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?). 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. Created attachment 7718 [details]
The original message.
Created attachment 7719 [details]
The filtered message.
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? :) 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 *** Bug 125346 has been marked as a duplicate of this bug. *** 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. *** Bug 109536 has been marked as a duplicate of this bug. *** *** Bug 118795 has been marked as a duplicate of this bug. *** [FIXED] Icon for collapse "To:" exist Closing as fixed. Please open a new wish for product kmail2 if you think you still want a feature. |