Bug 442416 - Text highlight while composing or replaying the message
Summary: Text highlight while composing or replaying the message
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-14 07:07 UTC by Sławek
Modified: 2021-09-14 11:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.08.2


Attachments
Screen of the composer and message in sent folder (119.44 KB, image/png)
2021-09-14 07:07 UTC, Sławek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sławek 2021-09-14 07:07:30 UTC
Created attachment 141536 [details]
Screen of the composer and message in sent folder

Hello guys,

While creating a new message or replaying to someone else message. I would like to be able to highlight some text. While I'm using a different colour for each highlight, everything works fine. When I would like to use the same colour for all highlight in my message. When I complete and send it, only first line remain highlighted but any other text remain the same.


STEPS TO REPRODUCE
1. Highlight few lines with the same colour while composing the message. It's important to highlight different line with some space in between with not highlighted text. Use the same colour for all the highlight. If using different colour for each highlight, everything looks OK.
2. Send a completed message. 

I attached some screens to give a better idea what I mean.

OBSERVED RESULT
In Sent messages folder as well as in the recipient mail box, only first line remain highlighted. Any other highlighted text return to normal.

EXPECTED RESULT
All highlighted text will remain highlighted, not only the first line.
Comment 1 Laurent Montel 2021-09-14 07:47:28 UTC
I will investigate it.
Comment 2 Laurent Montel 2021-09-14 11:01:09 UTC
I confirm it
Comment 3 Laurent Montel 2021-09-14 11:31:32 UTC
Git commit e82a45cb189916e54d405809da4a05d0742af37c by Laurent Montel.
Committed on 14/09/2021 at 11:30.
Pushed by mlaurent into branch 'release/21.08'.

Fix Bug 442416 - Text highlight while composing or replaying the message
FIXED-IN: 21.08.2

M  +48   -0    src/grantleebuilder/autotests/texthtmlbuildertest.cpp
M  +2    -0    src/grantleebuilder/autotests/texthtmlbuildertest.h
M  +2    -0    src/grantleebuilder/markupdirector.cpp

https://invent.kde.org/pim/kpimtextedit/commit/e82a45cb189916e54d405809da4a05d0742af37c