Bug 382007 - sent mail reply on invitation shows ics in plain text
Summary: sent mail reply on invitation shows ics in plain text
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-05 10:37 UTC by Martin Koller
Modified: 2017-07-06 05:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2017-07-05 10:37:29 UTC
When I accept an invitation I got, kmail correctly sends an email back.
Looking into the sent mail folder and clicking on this sent email shows
the ics in plain, e.g. starting with:

BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0
METHOD:REPLY
...

END:VCALENDAR
This invitation has been updated by an attendee.

Your status for this invitation is Accepted.

The <b>Accepted</b> response has been recorded


and just below this kmail shows the nicely rendered HTML version.
(this is independent of the "view attachments ..." setting)

1) the plain text version is not needed
2) the "bold" <b></b> tags should not be shown on the "button" but it should be really shown in bold text
Comment 1 Laurent Montel 2017-07-05 11:22:39 UTC
"1) the plain text version is not needed" I confirm that it's not necessary.
But when mailer doesn't have renderer ical support we need to provide a text.
But for sure not the plain text version.
I will investigate it.
Comment 2 Laurent Montel 2017-07-05 11:36:18 UTC
Git commit 30313e40ea098575e921a4b06ec007e9525136ca by Montel Laurent.
Committed on 05/07/2017 at 11:20.
Pushed by mlaurent into branch 'master'.

Fix problem in Bug 382007 - sent mail reply on invitation shows ics in plain text

We want to render as bold

M  +1    -1    src/templates/itip.html

https://commits.kde.org/kcalutils/30313e40ea098575e921a4b06ec007e9525136ca
Comment 3 Laurent Montel 2017-07-05 11:36:46 UTC
Git commit 1287715939f49093061753fda38f166e2c4603b5 by Montel Laurent.
Committed on 05/07/2017 at 11:36.
Pushed by mlaurent into branch 'Applications/17.04'.

Fix problem in Bug 382007 - sent mail reply on invitation shows ics in plain text

We want to render as bold

(cherry picked from commit 30313e40ea098575e921a4b06ec007e9525136ca)

M  +1    -1    src/templates/itip.html

https://commits.kde.org/kcalutils/1287715939f49093061753fda38f166e2c4603b5
Comment 4 Laurent Montel 2017-07-05 11:37:10 UTC
Git commit 226827c5d6eee50b7af11ea28889d7c7050299e7 by Montel Laurent.
Committed on 05/07/2017 at 11:35.
Pushed by mlaurent into branch 'master'.

Fix Bug 382007 - sent mail reply on invitation shows ics in plain text

FIXED-IN: 5.6.0

M  +4    -2    plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp

https://commits.kde.org/kdepim-addons/226827c5d6eee50b7af11ea28889d7c7050299e7
Comment 5 Laurent Montel 2017-07-06 05:55:22 UTC
"the "bold" <b></b> tags should not be shown on the "button" but it should be really shown in bold text" is fixed too in 17.04.3