Hello community, here is the log from the commit of package messagelib for openSUSE:Factory checked in at 2017-11-30 12:32:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/messagelib (Old) and /work/SRC/openSUSE:Factory/.messagelib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "messagelib" Thu Nov 30 12:32:32 2017 rev:21 rq:544307 version:17.08.3 Changes: -------- --- /work/SRC/openSUSE:Factory/messagelib/messagelib.changes 2017-11-16 14:33:36.594777342 +0100 +++ /work/SRC/openSUSE:Factory/.messagelib.new/messagelib.changes 2017-11-30 12:32:33.713907685 +0100 @@ -1,0 +2,6 @@ +Tue Nov 21 21:58:32 UTC 2017 - lbeltr...@kde.org + +- Add fix-richtext-saving.patch: fix the state of rich text saving + in KMail's composer (kde#386660) + +------------------------------------------------------------------- New: ---- fix-richtext-saving.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ messagelib.spec ++++++ --- /var/tmp/diff_new_pack.ovj90Z/_old 2017-11-30 12:32:34.805867976 +0100 +++ /var/tmp/diff_new_pack.ovj90Z/_new 2017-11-30 12:32:34.805867976 +0100 @@ -29,6 +29,7 @@ Group: System/Libraries Url: http://www.kde.org Source0: %{name}-%{version}.tar.xz +Patch0: fix-richtext-saving.patch BuildRequires: akonadi-contact-devel BuildRequires: akonadi-mime-devel BuildRequires: akonadi-search-devel @@ -117,6 +118,7 @@ %prep %setup -q +%patch0 -p1 %build %cmake_kf5 -d build -- -DMESSAGEVIEWER_USE_QTWEBENGINE=TRUE -DQTWEBENGINE_SUPPORT_OPTION=TRUE ++++++ fix-richtext-saving.patch ++++++ >From ece5c76c708797f2b1ec5bb22460089428ab6d80 Mon Sep 17 00:00:00 2001 From: Montel Laurent <mon...@kde.org> Date: Thu, 9 Nov 2017 07:48:59 +0100 Subject: Fix Bug 386660 - Rich text setting is not saved BUG: 386660 --- templateparser/src/templateparserjob.cpp | 2 ++ 1 file changed, 2 insertions(+) Index: messagelib-17.08.3/templateparser/src/templateparserjob.cpp =================================================================== --- messagelib-17.08.3.orig/templateparser/src/templateparserjob.cpp +++ messagelib-17.08.3/templateparser/src/templateparserjob.cpp @@ -1187,9 +1187,11 @@ void TemplateParserJob::slotExtractInfoD if (mMode == NewMessage && plainBody.isEmpty() && !mExtractHtmlInfoResult.mPlainText.isEmpty()) { plainBody = mExtractHtmlInfoResult.mPlainText; } + /* if (mMode == NewMessage && htmlBody.isEmpty() && !mExtractHtmlInfoResult.mHtmlElement.isEmpty()) { htmlBody = mExtractHtmlInfoResult.mHtmlElement; } + */ addProcessedBodyToMessage(plainBody, htmlBody); Q_EMIT parsingDone(mForceCursorPosition);