[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-10-26 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=368692

Sandro Knauß  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #9 from Sandro Knauß  ---
The base problem is that a html mail with attachments, so lets merge

*** This bug has been marked as a duplicate of bug 368060 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-10-25 Thread Simon Levitt
https://bugs.kde.org/show_bug.cgi?id=368692

Simon Levitt  changed:

   What|Removed |Added

 CC||kde-b...@whattf.com

--- Comment #8 from Simon Levitt  ---
This is the same problem as https://bugs.kde.org/show_bug.cgi?id=368060.

I've put a code hacky fix for this on that ticket.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-10-14 Thread Laurent Montel via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368692

Laurent Montel  changed:

   What|Removed |Added

 CC||skna...@kde.org

--- Comment #7 from Laurent Montel  ---
it's a bug in mimetreeparser:
We use:
void TemplateParser::processWithTemplate(const QString )
{
mOtp->parseObjectTree(mOrigMsg.data());
=>
void ObjectTreeParser::parseObjectTree(KMime::Content *node)
{
mTopLevelContent = node;
mParsedPart = parseObjectTreeInternal(node, showOnlyOneMimePart());

if (mParsedPart) {
mParsedPart->fix();
mParsedPart->copyContentFrom();
if (auto mp = toplevelTextNode(mParsedPart)) {
if (auto _mp = mp.dynamicCast()) {
extractNodeInfos(_mp->mNode, true);
} else if (auto _mp = mp.dynamicCast()) {
if (_mp->mChildNodes.contains(Util::MultipartPlain)) {
extractNodeInfos(_mp->mChildNodes[Util::MultipartPlain],
true);
}
}
setPlainTextContent(mp->text());
}

=> mp->text() seems to be not correct.

I CC Sandro Knauß  who needs better this code.

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-10-14 Thread Laurent Montel via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368692

Laurent Montel  changed:

   What|Removed |Added

 CC||mon...@kde.org

--- Comment #6 from Laurent Montel  ---
I confirm it

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-10-10 Thread m . eik michalke via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368692

m.eik michalke  changed:

   What|Removed |Added

 CC||m...@reaktanz.de

--- Comment #5 from m.eik michalke  ---
i think i have a similar issue with kmail 5.1.3, it only happens regularly with
encrypted mails that came over a mailman list and have an unecrypted part
appended (listinfo): when i hit "reply", only this last part -- the listinfo
section -- is being used as reply text.

if the mail is encrypted as usual (no unencrypted parts), then kmail uses the
unencrypted mail content for the reply.

i can work around the issue by selecting the actual text before "reply".

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-09-28 Thread enrico via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368692

enrico  changed:

   What|Removed |Added

 CC||veonl...@tiscali.it

--- Comment #4 from enrico  ---
same behaviour here.
i've also found this workaround:
changing the standard templates by removing %QUOTE and adding both %TEXT and
%FORCEDHTML show the original message(s) correctly but without quote.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-09-21 Thread Gunter Ohrner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368692

--- Comment #3 from Gunter Ohrner  ---
This happens with several mails I received and is pretty annoying... First you
hit reply, then kMail freezes eating 100% CPU and you just think "Oh no, not
again...", then the editor opens showing you a "quoted PDF" and you have to
close the editor, select the text you want to reply to and hit "reply" again -
hmpf...

Copy pasted from my Composer window:

Am Dienstag, 20. September 2016, 20:59:20 CEST schrieben Sie:
> %PDF-1.5
> %
> 1 0 obj
> < R/MarkInfo<>>>
 endobj
> 2 0 obj
> <>
> endobj
> 3 0 obj
> < R>>/Font<>/XObject< R>>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 9 0 R] /MediaBox[ 0
> 0 595.32 841.92] /Contents 4 0
> R/Group<>/Tabs/S/StructParents
(...)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-09-12 Thread Gunter Ohrner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368692

--- Comment #2 from Gunter Ohrner  ---
Addendum: This bug makes it hard to even reply to such mails.

A workaround is to select the text part before hitting reply, kMail will then
correctly quote and insert the selected text into composer.

If you do not know (or do not remember) this feature, you'll be stuck and kMail
might be as well, if the misused attachment is only big enough... ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 368692] kMail 5.3.x: Wrong MIME part selected as Reply text

2016-09-12 Thread Gunter Ohrner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368692

--- Comment #1 from Gunter Ohrner  ---
Created attachment 101055
  --> https://bugs.kde.org/attachment.cgi?id=101055=edit
Demo message, if you reply to this message, the wrong MIME part is selected as
the body text.

-- 
You are receiving this mail because:
You are the assignee for the bug.