[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2020-12-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #42 from m...@bearsh.org ---
(In reply to me from comment #41)
> it seems to bug came back. I use kmail-20.08.3 and inline outlook/exchange
> invitations don't get interpreted...
> 
> should we reopen or should I create a new bug?

scratch that, kdepim-addons was not installed...

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

[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2020-12-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=362958

m...@bearsh.org changed:

   What|Removed |Added

 CC||m...@bearsh.org

--- Comment #41 from m...@bearsh.org ---
it seems to bug came back. I use kmail-20.08.3 and inline outlook/exchange
invitations don't get interpreted...

should we reopen or should I create a new bug?

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

[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-26 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #40 from Sandro Knauß  ---
(In reply to Fabian Vogt from comment #38)
> (In reply to Sandro Knauß from comment #37)
> > Git commit 9b23c8b270bb1555ef9d1b1751fd987675c6279c by Sandro Knauß.
> > Committed on 26/07/2016 at 10:27.
> > Pushed by knauss into branch 'Applications/16.08'.
> > 
> > Render multipart/alternative with a invitation correctly
> > 
> > alternative parts can also have a calender element, so we want to render
> > that.
> > 
> > M  +1-1CMakeLists.txt
> > M  +6-6   
> > messageviewer/src/messagepartthemes/default/autotests/objecttreeparsertest.
> > cpp
> > M  +12   -13  
> > messageviewer/src/messagepartthemes/default/autotests/setupenv.h
> > M  +17   -8   
> > messageviewer/src/messagepartthemes/default/defaultrenderer.cpp
> > M  +7-6messageviewer/src/viewer/objecttreeemptysource.cpp
> > M  +2-2messageviewer/src/viewer/objecttreeemptysource.h
> > M  +19   -6messageviewer/src/viewer/objecttreeviewersource.cpp
> > M  +2-2messageviewer/src/viewer/objecttreeviewersource.h
> > M  +2-1messageviewer/src/viewer/viewer.h
> > M  +27   -2messageviewer/src/viewer/viewer_p.cpp
> > M  +2-0messageviewer/src/viewer/viewer_p.h
> > M  +18   -1messageviewer/src/widgets/htmlstatusbar.cpp
> > M  +4-0messageviewer/src/widgets/htmlstatusbar.h
> > M  +12   -13   mimetreeparser/autotests/setupenv.h
> > M  +26   -35   mimetreeparser/src/bodyformatter/multipartalternative.cpp
> > M  +3-4mimetreeparser/src/interfaces/objecttreesource.h
> > M  +2-1mimetreeparser/src/utils/util.h
> > M  +68   -32   mimetreeparser/src/viewer/messagepart.cpp
> > M  +13   -9mimetreeparser/src/viewer/messagepart.h
> > M  +5-3mimetreeparser/src/viewer/objecttreeparser.cpp
> > 
> > http://commits.kde.org/messagelib/9b23c8b270bb1555ef9d1b1751fd987675c6279c
> 
> In messageviewer/src/viewer/viewer_p.cpp:
> > +const int pos = (availableModes.indexOf(mode) + 1) % 
> > availableModes.size();
> 
> "%" is dangerous. If availableModes is empty, it'll crash here. AFAICS it's
> not possible to reach that state, but it's not obvious at all.

Done with
http://commits.kde.org/messagelib/3e8df6cf7d4d8e9bbed4357fbf4b1215a37d27ba 

Please feel welcomed to add your own patches directly into phabricator.kde.org,
so it is easier for us to not oversee things. <-- this is also true for Volker
Christian. But this is not part of this bug report anymore :D

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-26 Thread Laurent Montel via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Laurent Montel  changed:

   What|Removed |Added

  Latest Commit|http://commits.kde.org/mess |http://commits.kde.org/mess
   |agelib/9b23c8b270bb1555ef9d |agelib/d8d0f65a88ccf524b8d2
   |1b1751fd987675c6279c|fb88fe9d5ad07409fd52

--- Comment #39 from Laurent Montel  ---
Git commit d8d0f65a88ccf524b8d2fb88fe9d5ad07409fd52 by Montel Laurent, on
behalf of Sandro Knauß.
Committed on 26/07/2016 at 11:15.
Pushed by mlaurent into branch 'master'.

Render multipart/alternative with a invitation correctly

alternative parts can also have a calender element, so we want to render
that.

M  +6-6   
messageviewer/src/messagepartthemes/default/autotests/objecttreeparsertest.cpp
M  +12   -13   messageviewer/src/messagepartthemes/default/autotests/setupenv.h
M  +17   -8messageviewer/src/messagepartthemes/default/defaultrenderer.cpp
M  +7-6messageviewer/src/viewer/objecttreeemptysource.cpp
M  +2-2messageviewer/src/viewer/objecttreeemptysource.h
M  +19   -6messageviewer/src/viewer/objecttreeviewersource.cpp
M  +2-2messageviewer/src/viewer/objecttreeviewersource.h
M  +2-1messageviewer/src/viewer/viewer.h
M  +27   -2messageviewer/src/viewer/viewer_p.cpp
M  +2-0messageviewer/src/viewer/viewer_p.h
M  +18   -1messageviewer/src/widgets/htmlstatusbar.cpp
M  +4-0messageviewer/src/widgets/htmlstatusbar.h
M  +12   -13   mimetreeparser/autotests/setupenv.h
M  +26   -35   mimetreeparser/src/bodyformatter/multipartalternative.cpp
M  +3-4mimetreeparser/src/interfaces/objecttreesource.h
M  +2-1mimetreeparser/src/utils/util.h
M  +68   -32   mimetreeparser/src/viewer/messagepart.cpp
M  +13   -9mimetreeparser/src/viewer/messagepart.h
M  +5-3mimetreeparser/src/viewer/objecttreeparser.cpp

http://commits.kde.org/messagelib/d8d0f65a88ccf524b8d2fb88fe9d5ad07409fd52

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-26 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #38 from Fabian Vogt  ---
(In reply to Sandro Knauß from comment #37)
> Git commit 9b23c8b270bb1555ef9d1b1751fd987675c6279c by Sandro Knauß.
> Committed on 26/07/2016 at 10:27.
> Pushed by knauss into branch 'Applications/16.08'.
> 
> Render multipart/alternative with a invitation correctly
> 
> alternative parts can also have a calender element, so we want to render
> that.
> 
> M  +1-1CMakeLists.txt
> M  +6-6   
> messageviewer/src/messagepartthemes/default/autotests/objecttreeparsertest.
> cpp
> M  +12   -13  
> messageviewer/src/messagepartthemes/default/autotests/setupenv.h
> M  +17   -8   
> messageviewer/src/messagepartthemes/default/defaultrenderer.cpp
> M  +7-6messageviewer/src/viewer/objecttreeemptysource.cpp
> M  +2-2messageviewer/src/viewer/objecttreeemptysource.h
> M  +19   -6messageviewer/src/viewer/objecttreeviewersource.cpp
> M  +2-2messageviewer/src/viewer/objecttreeviewersource.h
> M  +2-1messageviewer/src/viewer/viewer.h
> M  +27   -2messageviewer/src/viewer/viewer_p.cpp
> M  +2-0messageviewer/src/viewer/viewer_p.h
> M  +18   -1messageviewer/src/widgets/htmlstatusbar.cpp
> M  +4-0messageviewer/src/widgets/htmlstatusbar.h
> M  +12   -13   mimetreeparser/autotests/setupenv.h
> M  +26   -35   mimetreeparser/src/bodyformatter/multipartalternative.cpp
> M  +3-4mimetreeparser/src/interfaces/objecttreesource.h
> M  +2-1mimetreeparser/src/utils/util.h
> M  +68   -32   mimetreeparser/src/viewer/messagepart.cpp
> M  +13   -9mimetreeparser/src/viewer/messagepart.h
> M  +5-3mimetreeparser/src/viewer/objecttreeparser.cpp
> 
> http://commits.kde.org/messagelib/9b23c8b270bb1555ef9d1b1751fd987675c6279c

In messageviewer/src/viewer/viewer_p.cpp:
> +const int pos = (availableModes.indexOf(mode) + 1) % 
> availableModes.size();

"%" is dangerous. If availableModes is empty, it'll crash here. AFAICS it's not
possible to reach that state, but it's not obvious at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-26 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Sandro Knauß  changed:

   What|Removed |Added

   Version Fixed In||5.3.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-26 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Sandro Knauß  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||http://commits.kde.org/mess
   ||agelib/9b23c8b270bb1555ef9d
   ||1b1751fd987675c6279c
 Resolution|--- |FIXED

--- Comment #37 from Sandro Knauß  ---
Git commit 9b23c8b270bb1555ef9d1b1751fd987675c6279c by Sandro Knauß.
Committed on 26/07/2016 at 10:27.
Pushed by knauss into branch 'Applications/16.08'.

Render multipart/alternative with a invitation correctly

alternative parts can also have a calender element, so we want to render
that.

M  +1-1CMakeLists.txt
M  +6-6   
messageviewer/src/messagepartthemes/default/autotests/objecttreeparsertest.cpp
M  +12   -13   messageviewer/src/messagepartthemes/default/autotests/setupenv.h
M  +17   -8messageviewer/src/messagepartthemes/default/defaultrenderer.cpp
M  +7-6messageviewer/src/viewer/objecttreeemptysource.cpp
M  +2-2messageviewer/src/viewer/objecttreeemptysource.h
M  +19   -6messageviewer/src/viewer/objecttreeviewersource.cpp
M  +2-2messageviewer/src/viewer/objecttreeviewersource.h
M  +2-1messageviewer/src/viewer/viewer.h
M  +27   -2messageviewer/src/viewer/viewer_p.cpp
M  +2-0messageviewer/src/viewer/viewer_p.h
M  +18   -1messageviewer/src/widgets/htmlstatusbar.cpp
M  +4-0messageviewer/src/widgets/htmlstatusbar.h
M  +12   -13   mimetreeparser/autotests/setupenv.h
M  +26   -35   mimetreeparser/src/bodyformatter/multipartalternative.cpp
M  +3-4mimetreeparser/src/interfaces/objecttreesource.h
M  +2-1mimetreeparser/src/utils/util.h
M  +68   -32   mimetreeparser/src/viewer/messagepart.cpp
M  +13   -9mimetreeparser/src/viewer/messagepart.h
M  +5-3mimetreeparser/src/viewer/objecttreeparser.cpp

http://commits.kde.org/messagelib/9b23c8b270bb1555ef9d1b1751fd987675c6279c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-25 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #36 from Sandro Knauß  ---
The codebase has changed for 16.08 that why I need to refactor the patch and
actually add the UI elements for it. To switch between the different parts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-25 Thread Dan via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #35 from Dan  ---
I can also confirm that the patch from comment 24 fixes invites sent from
Exchange 2013. Good job.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-25 Thread Dan via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Dan  changed:

   What|Removed |Added

 CC||di...@betriebsdirektor.de

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Dominique Dumont via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Dominique Dumont  changed:

   What|Removed |Added

 CC||domi.dum...@free.fr

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #34 from Sandro Knauß  ---
Thanks for the mail, with that I reproduce this.

I will now create a test out of the mail and will try the patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #33 from Volker Christian  ---
(In reply to Fabian Vogt from comment #32)
> Created attachment 100243 [details]
> Test mail with invitation
> 
> Here is a multipart/alternative mail that fails to display properly.

The patch in comment 24 handles this mail correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #32 from Fabian Vogt  ---
Created attachment 100243
  --> https://bugs.kde.org/attachment.cgi?id=100243&action=edit
Test mail with invitation

Here is a multipart/alternative mail that fails to display properly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #31 from Volker Christian  ---
(In reply to Sandro Knauß from comment #29)
> @craig: I cant reproduce this problem with korganizer (5.2.2) as sender of
> the mail.
> I see correctly the invitation inside kmail.
> Keep in mind, that you need kdepim-addons installed for displaying the
> invitations. 
> So please upload a wrongly displayed email, so that I am able to reproduce
> the issue.
> 
> Content-Type: multipart/mixed; boundary="nextPart1"
> MIME-Version: 1.0
> 
>  --nextPart1
> Content-Type: text/plain; charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> 
> Some text describing the calendar
> 
> --nextPart1
> Content-Type: text/calendar; charset="utf-8"; method="request";
> name="cal.ics"
> Content-Disposition: attachment
> Content-Transfer-Encoding: quoted-printable
> 
> BEGIN:VCALENDAR
> [...]
> END:VCALENDAR
> 
> --nextPart1--

That you can not reproduce the problem is due do that fact that the
content-type of this mail is multipart/mixed which is handled correctly in
messagelib. The content-type which is not handled correctly is
multipart/alternative.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #30 from Sandro Knauß  ---
Created attachment 100242
  --> https://bugs.kde.org/attachment.cgi?id=100242&action=edit
A invitation mail, that is correctly displayed with kmail

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-22 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #29 from Sandro Knauß  ---
@craig: I cant reproduce this problem with korganizer (5.2.2) as sender of the
mail.
I see correctly the invitation inside kmail.
Keep in mind, that you need kdepim-addons installed for displaying the
invitations. 
So please upload a wrongly displayed email, so that I am able to reproduce the
issue.

Content-Type: multipart/mixed; boundary="nextPart1"
MIME-Version: 1.0

 --nextPart1
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Some text describing the calendar

--nextPart1
Content-Type: text/calendar; charset="utf-8"; method="request"; name="cal.ics"
Content-Disposition: attachment
Content-Transfer-Encoding: quoted-printable

BEGIN:VCALENDAR
[...]
END:VCALENDAR

--nextPart1--

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-19 Thread OlafLostViking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

OlafLostViking  changed:

   What|Removed |Added

 CC||olaf.the.lost.viking@gmail.
   ||com

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-19 Thread Bertrand Croq via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Bertrand Croq  changed:

   What|Removed |Added

 CC||bertrand.c...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-18 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #28 from Craig  ---
I can nab one later today when back at home, but it's pretty much ANY invite
email whether from gmail, exchange, or Kontact/Kmail/Korg itself.

However one note, I think this may be unrelated but one thing noticed was when
accepting an invite (using patch above) which was sent from a different time
zone it added it to my local timezone at the same time/ignored their time zone
specification, that may be a separate bug as I've seen multiple date-related
issues since 16.04 in Kontact but figured would mention just in case, will
submit a report for it when can confirm the results.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-18 Thread Sandro Knauß via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #27 from Sandro Knauß  ---
Can you please add a message with invitation, that is not handled correctly?

Than I can create a test message to test the patch and include it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-18 Thread Laurent Montel via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Laurent Montel  changed:

   What|Removed |Added

 CC||skna...@kde.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-17 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #26 from Craig  ---
Hallelujah haha, after 4 months at least a temp fix. Unfortunately still word
from anyone with the KDE team, hopefully someone can clean it up, get this
committed and hopefully have it in by the 4th 1604 release. Thanks Fabian and
Volker

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-16 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #25 from Volker Christian  ---
(In reply to Fabian Vogt from comment #23)
> I investigated a bit more:
> When the mail contains only the text/calendar node, it's shown as expected.
> The issue is that in a multipart/alternative handling, it only cares about
> text/plain and text/html.
> If one of those is present, it's displayed and everything else is ignored.
> I have no idea how a proper fix looks like, for now I changed the "break;"
> in messageviewer/src/viewer/objecttreeparser.cpp:352 to a "continue;", to
> always display all mail nodes, including text/calendar. This works well for
> me as I'm mostly working with plaintext mails and calendar invitations
> anyway.

I found a more proper fix directly in the multipart/alternative handling. This
is sure not the philosopher's stone. Nevertheless, it works for me also for
html-mails. The patch is in comment 24. Be aware, that the patch is not well
formated - it is only for testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-16 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #24 from Volker Christian  ---
Created attachment 100130
  --> https://bugs.kde.org/attachment.cgi?id=100130&action=edit
Fix Multipart Handling

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-16 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #23 from Fabian Vogt  ---
I investigated a bit more:
When the mail contains only the text/calendar node, it's shown as expected.
The issue is that in a multipart/alternative handling, it only cares about
text/plain and text/html.
If one of those is present, it's displayed and everything else is ignored.
I have no idea how a proper fix looks like, for now I changed the "break;" in
messageviewer/src/viewer/objecttreeparser.cpp:352 to a "continue;", to always
display all mail nodes, including text/calendar. This works well for me as I'm
mostly working with plaintext mails and calendar invitations anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-14 Thread Fabian Vogt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Fabian Vogt  changed:

   What|Removed |Added

 CC||fab...@ritter-vogt.de

--- Comment #22 from Fabian Vogt  ---
I'm hit by this bug too, which is a really annoying one as now I have to use
the webinterface...
I've got this log by running kmail with more debug enabled:

log_messageviewer: Node UNprocessed:  0x51a6cb0
log_messageviewer: Node UNprocessed:  0x334fb80
log_messageviewer: Node UNprocessed:  0x4edff10
log_messageviewer: Node UNprocessed:  0x321edf0
log_messageviewer: Node UNprocessed:  0x51a6cb0
log_messageviewer: Node UNprocessed:  0x334fb80
log_messageviewer: Node UNprocessed:  0x4edff10
log_messageviewer: Node UNprocessed:  0x321edf0
log_messageviewer: SET NODE:  0x51a6cb0 true
log_messageviewer: Node UNprocessed:  0x334fb80
log_messageviewer: SET NODE:  0x334fb80 true
log_messageviewer: SET NODE:  0x334fb80 true
log_messageviewer: Create temp file: 
"/tmp/messageviewer_hr9709.index.1/unnamed"
log_messageviewer: SET NODE:  0x334fb80 true
log_messageviewer: Node processed:  "1" "Content-Type: text/plain;
charset=\"iso-8859-1\""
log_messageviewer: Node UNprocessed:  0x321edf0
log_messageviewer: SET NODE:  0x321edf0 true
log_messageviewer: Node processed:  "2" "Content-Type: text/html;
charset=\"iso-8859-1\""
log_messageviewer: Node processed:  "1" "Content-Type: text/plain;
charset=\"iso-8859-1\""
log_messageviewer: Node processed:  "" "Content-Type: multipart/alternative;
boundary=\"_000_047BDF03F51B7A422BE699F0119E012096D1NWBXMB02microfo_\""
log_messageviewer: SET NODE:  0x321edf0 true
log_messageviewer: 

It does not mention the third node that should be there, which begins with

Content-Type: text/calendar; charset="utf-8"; method=REQUEST
Content-Transfer-Encoding: base64

I swapped the last two nodes in the mail and that causes it to skip the second
node,
so it only skips the text/calendar one.
I'd like to have a look at the code to find the issue, but I'd need a pointer
where I should start looking.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-06 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #21 from Craig  ---
Hey Laurent or otherwise,
Any chance could provide some input when able? We may able to help track down
and resolve just need a little guidance as definitely want to get this resolved
ASAP for those of us who use KDE PIM for business or just who receive email
invitations in general. I've began running down the changes made from the last
release vs this one where it broke for clues to where the fault may be but some
guidance would do wonders, thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-07-01 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #20 from Craig  ---
Still nadda? Yea this is a major feature to be broken and feel like hasn't
gotten much attention beyond Eric trying to figure who's not with the team :[
We may be able to figure it on our own just need some feedback from someone
familiar with the code or preferably from the KDE pim team :\ It's now been
months of me accepting invites from my phone client and it's very flakey as I
do not always remember to do so not to mention a pain... Going to have to
switch to Thunderbird or something pretty soon here which I can't stand plus
lacks all integration with the rest of our systems/akonadi/etc.  Laurent chimed
in briefly but he's also one of the busiest devs as far as commits :[

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-23 Thread Volker Christian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Volker Christian  changed:

   What|Removed |Added

 CC||volker.christian@fh-hagenbe
   ||rg.at

--- Comment #19 from Volker Christian  ---
Any news about this bug! It is a showstopper for me using kdepim 16.04 as I
need this feature urgently!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-19 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #18 from aux...@gmail.com ---
I used both pure 16.04.2 and the patch; neither fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-19 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #17 from Craig  ---
Also can confirm 16.04.2 did not resolve/still an issue :( Thanks for the
commit Laurent, did that resolve the issue/just need to wait for it to hit in
.3 ? auxsvr did you mean you patched using the commit above and still not
working? 

Thanks Laurent for all your work over the years :) And thanks Eric for
helping/trying to figure it out, hopefully can get it figured soon

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-16 Thread Eric MSP Veith via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #16 from Eric MSP Veith  ---
Yes, the stock 16.04.2 doesn't bring a fix, too. I'd be willing to debug, but
I'm still getting lost in the source code. Where is the bodypartformatter
currently located (messagelib?), and how is it plugged into KMail?

Laurent, from the git log I see that you are the most active developer, and I
thank you for working on and improving KMail. I am a happy, day-to-day user of
KMail and very much appriciate the work you put into this great piece of
software. If you could give a hint on the relevant pieces here, I'll happily
try to contribute a fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-14 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

aux...@gmail.com changed:

   What|Removed |Added

 CC||aux...@gmail.com

--- Comment #15 from aux...@gmail.com ---
I have patched messagelib-16.04.2 on openSUSE Leap 42.1 and it still doesn't
work, no invitation appears. Should I recompile the rest of kdepim, too?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-14 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

aux...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #14 from aux...@gmail.com ---
*** This bug has been confirmed by popular vote. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

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

Laurent Montel  changed:

   What|Removed |Added

 CC||mon...@kde.org

--- Comment #13 from Laurent Montel  ---
nope.
I think that Dan fixed it long time ago in next 5.2.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-10 Thread Eric MSP Veith via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #12 from Eric MSP Veith  ---
Laurent, thanks for pointing us at the commit. Does that also imply that the
body part formatter for text/calendar is just missing from the plugin load
list?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

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

--- Comment #11 from Laurent Montel  ---
Git commit 7c889402a30071b10512815bab69f65a230e4363 by Montel Laurent.
Committed on 10/06/2016 at 11:13.
Pushed by mlaurent into branch 'Applications/16.04'.

Load vcard plugin

M  +2-2messageviewer/src/viewer/bodypartformatter.cpp

http://commits.kde.org/messagelib/7c889402a30071b10512815bab69f65a230e4363

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-09 Thread Eric MSP Veith via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #10 from Eric MSP Veith  ---
Do vCards work for you? For me they don't, and my guess is now that it is a
general problem with loading the bodypartformatter plugins.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-08 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #9 from Craig  ---
Yea on mine as well,
(Arch)
/usr/lib/qt/plugins/messageviewer_bodypartformatter_text_calendar.so

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-07 Thread Ferdinand Kuhl via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #8 from Ferdinand Kuhl  ---
Add least in gentoo it is build and part of the installed files. But no
invitations shown either - so its not just the "existance" of this shared
object, which makes the difference. :(

qlist kdepim | grep bodypart
/usr/lib64/qt5/plugins/messageviewer_bodypartformatter_text_calendar.so
/usr/share/messageviewer/plugins/bodypartformatter/text_calendar.desktop
/usr/lib64/qt5/plugins/messageviewer_bodypartformatter_text_vcard.so
/usr/lib64/qt5/plugins/messageviewer_bodypartformatter_application_mstnef.so
/usr/lib64/qt5/plugins/messageviewer_bodypartformatter_text_xdiff.so
/usr/share/messageviewer/plugins/bodypartformatter/application_ms-tnef.desktop
/usr/share/messageviewer/plugins/bodypartformatter/text_vcard.desktop
/usr/share/messageviewer/plugins/bodypartformatter/text_xdiff.desktop

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-07 Thread Eric MSP Veith via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #7 from Eric MSP Veith  ---
I am, however, not enitrely sure whether this is actually the root cause.
Looking at the build of kdepim-16.04.01 on openSUSE, I see that a
messageviewer_bodypartformatter_text_calendar.so is built, but not part of the
package. Can you please check on your Arch systems whether a file called
`messageviewer_bodypartformatter_text_calendar.so' exists?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-06 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #6 from Craig  ---
Hey Eric,
You are the man thank you for checking that out and sounds like a mistake
during tagging, hopefully we hear something from the KDE team soon as this is a
MAJOR feature and requirement for business, has been causing a ton of issues
and extra work for our small office as we decided to make the move to KDE
across the board and surprised this snuck past as first major issue we've had -
bummer such a major one for us.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-04 Thread Eric MSP Veith via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #5 from Eric MSP Veith  ---
It seems as if the bodypartformatter/calendar has been moved to kdepim-addons,
but not before v16.04.01 had been tagged. However, it was removed from kdepim
*before* v16.04.01 was tagged. So it should show up with the next release. Can
somebody confirm that, please?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-06-04 Thread Eric MSP Veith via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #4 from Eric MSP Veith  ---
It seems as if the bodypartformatter for the text/calendar mime type is not
built/installed. I've followed the source of the text_calendar.cpp file to
kdepim-addons, where it sits, but does not seem to be included during
build/installation.

I am new to the KDE source code, so if someone else can step in or give a hint,
it would be great!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-05-30 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #3 from Craig  ---
Anyone have any ideas on this? Pretty major feature for corporate and business
:( If any questions or further info needed let us know, thanks guys!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-05-24 Thread Ferdinand Kuhl via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Ferdinand Kuhl  changed:

   What|Removed |Added

 CC||fc...@coolys.de

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-05-24 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

simon.leg...@gmail.com changed:

   What|Removed |Added

 CC||simon.leg...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-05-18 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

--- Comment #2 from Craig  ---
Very odd, yea on mine I don't even see the invite.ics file attached within
Kmail (shows no attachments) otherwise could always just open that file in
korganizer as a fallback but that looks to be the exchange/outlook specific
part as when I sent a calendar/event invite to myself from Google Calendar it
does show the invite.ics file attached but again does not interpret so cannot
do anything within the content of the email as used to.

To reiterate:
- Invites from exchange and/or outlook do not render properly at all within
Kmail, it does not even show the invite.ics file or any attachments at all
- Invites from google and possibly others at least show the invite.ics file
attached however still do not interpret/show invite reply options

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-05-18 Thread Eric MSP Veith via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Eric MSP Veith  changed:

   What|Removed |Added

 CC||eve...@wwweb-library.net

--- Comment #1 from Eric MSP Veith  ---
I can confirm this problem with KMail 5.2.1 and Akonadi 5.2.1 from openSUSE
KDE:Applications (akonadi-server-16.04.1-32.2.x86_64).

I have the same effect when getting both, invites and replies to invites I
sent, from Google calendar users. Those E-Mails are displayed simply as-is,
i.e., as a regular e-mail with an attachment that happens to be named
"invite.ics". No buttons to accept/decline the invitation or record the
response in my calendar appear.

So it is probably neither specific to MS Exchange or Arch packaging.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 362958] After update KMail not interpreting Invite Emails

2016-05-11 Thread Craig via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362958

Craig  changed:

   What|Removed |Added

 CC||craig.finne...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs