Allow to switch to display other mime parts in case of multipart/alternative that has a text/calendar part ( "cancel with note" note text not shown anywhere)
Categories
(Calendar :: E-mail based Scheduling (iTIP/iMIP), enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: psychonaut, Unassigned)
References
Details
Attachments
(3 files)
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 4•8 years ago
|
||
Updated•8 years ago
|
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
| Reporter | ||
Comment 8•8 years ago
|
||
Updated•8 years ago
|
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Code wise, we need to figure out what and how https://searchfox.org/comm-central/source/calendar/lightning/components/CalMimeConverter.jsm hooks up itself.
https://searchfox.org/comm-central/rev/4a07865f0fd09191dbc094acc58f47a4b563606a/mailnews/mime/src/mimei.cpp#421-441
Comment 15•4 years ago
|
||
For reference, how do other mail clients display these mails? If they are sending these combinations where both the text (or html) and the text/calendar parts are important I assume they themselves show both somehow?
Comment 16•4 years ago
|
||
What should we do to prioritize this?
I know a few in my organization who stopped using TB due to this. I would like to get them back on TB.
@Magnus: I see your note on the code, but unfortunately lack the context to fix this code myself. I can also offer to take a look to fix this if I can get some guidance on the relevant code paths (never developed for TB so far, but would love to).
Comment 17•4 years ago
|
||
Since this is ultimately about a mime structure misuse in a way, it may be difficult to change it in libmime (mailnews/mime).
I wonder if the code that creates the overlay - https://searchfox.org/comm-central/rev/eff17f98bda26955f964ea3de3c3c2776810f5a2/calendar/lightning/components/CalMimeConverter.jsm#64 - could grab the message (by the uri) and use MsgHdrToMimeMessage to get the plain text or html parts - and then insert it as appropriate in the overlay. Would be a bit hacky but could potentially work.
If you want take a stab at it, see https://developer.thunderbird.net and https://searchfox.org/comm-central
Comment 19•4 years ago
|
||
I don't use calendaring in TB at all. Previously, I could just keep Lightning disabled and avoid this problem, but now Lightning is fully integrated and can't be disabled to avoid it any longer, not that it fixes things for those who do. A previous iteration of this basic issue was filed 14 years ago in bug 388584.
It looks like maybe CalMimeConverter could include a hack to grab the message by uri and presumably parse it to find the text and html parts and obey user preference for which to display and put that above or below the overlay, or an option to switch which body part is displayed on each message could be added, but I think the least bad resolution may be to force MIME handling to stop considering text/calendar as a possible alternative in a multipart/alternative group one way or another? When the vcal object is not displayed as the body, it's shown as an inlined attachment, according to pref, in the same rendering, below the user-selected message body, with the calendar header popdown (imip bar?) still showing as well. I tested out the user-visible result by saving a calendar message and switching MIME boundaries to move the vcal part.
Comment 20•4 years ago
|
||
This is fixed by bug 760412 comment #27, in fact, this is a duplicate of that bug.
Updated•4 years ago
|
Description
•