[kmail2] [Bug 420740] New: adding of inline images broken

2020-04-29 Thread Andreas Kohlbecker
https://bugs.kde.org/show_bug.cgi?id=420740

Bug ID: 420740
   Summary: adding of inline images broken
   Product: kmail2
   Version: 5.14.0
  Platform: Neon Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: a...@neotop.de
  Target Milestone: ---

Created attachment 127975
  --> https://bugs.kde.org/attachment.cgi?id=127975&action=edit
mbox file of broken email

SUMMARY

When adding an inline image to a HTML (rich text) email the image is missing in
the send email. Instead an placeholder icon is shown.

STEPS TO REPRODUCE

1. create new rich text email
2. paste an image from the clipboard to the email content and choose "add as
linine image" or use the "Add image" function from the toolbar.
3. Send the image

OBSERVED RESULT

The image in the recipients inbox and that which has been copied into the send
folder do not show the inline image.


DIAGNOSIS

The image is attached correctly to the email but he  tag is not added to
the html code. 

A broken message can be fixed:
1. save as mbox file (see attached file image-mail-2-pub.mbox)
2. add the missing img tag with the cid of the attachment
(image-mail-2-fixed-pub.mbox)


SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-51-generic
OS Type: 64-bit

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

[kmail2] [Bug 420740] adding of inline images broken

2020-04-29 Thread Andreas Kohlbecker
https://bugs.kde.org/show_bug.cgi?id=420740

--- Comment #1 from Andreas Kohlbecker  ---
Created attachment 127976
  --> https://bugs.kde.org/attachment.cgi?id=127976&action=edit
mbox file of fixed email

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

[kmail2] [Bug 329752] Mark messages that are moved/deleted to trash as read

2020-04-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=329752

02...@boun.cr changed:

   What|Removed |Added

 CC||02...@boun.cr

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

[kmail2] [Bug 403770] unified mailbox (folder) not update sometimes

2020-04-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403770

02...@boun.cr changed:

   What|Removed |Added

 CC||02...@boun.cr

--- Comment #4 from 02...@boun.cr ---
I have a similar issue. Mails do seem to show up fine in the unified inbox,
however when a message is deleted elsewhere (not in the unified inbox), the
email stays in the unified inbox, but when clicking on them it shows 'the query
returned an empty result set'.

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

[kmail2] [Bug 359792] Start Kmail in tray

2020-04-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=359792

02...@boun.cr changed:

   What|Removed |Added

 CC||02...@boun.cr

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

[kmail2] [Bug 359792] Start Kmail in tray

2020-04-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=359792

--- Comment #3 from 02...@boun.cr ---
This is basically a continuation of
https://bugs.kde.org/show_bug.cgi?id=179868, which was for kmail1

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

[kmail2] [Bug 420740] adding of inline images broken

2020-04-29 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=420740

Laurent Montel  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||mon...@kde.org
 Status|REPORTED|ASSIGNED

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

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

[kmail2] [Bug 420740] adding of inline images broken

2020-04-29 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=420740

--- Comment #3 from Laurent Montel  ---
Bug found.
I need to backport to 5.14.1 I will do it soon.
Thanks for bug report

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

[kmail2] [Bug 420740] adding of inline images broken

2020-04-29 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=420740

Laurent Montel  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/mes
   ||sagelib/de50cca49e1b4c9eb96
   ||75f0d5dd69c0dcbfd0b93

--- Comment #4 from Laurent Montel  ---
Git commit de50cca49e1b4c9eb9675f0d5dd69c0dcbfd0b93 by Laurent Montel.
Committed on 29/04/2020 at 12:04.
Pushed by mlaurent into branch 'master'.

Fix Bug 420740 - adding of inline images broken

Need to backport to 5.14 branch

M  +1-1CMakeLists.txt
M  +4-1messagecomposer/src/composer-ng/richtextcomposerng.cpp

https://commits.kde.org/messagelib/de50cca49e1b4c9eb9675f0d5dd69c0dcbfd0b93

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

[Akonadi] [Bug 420765] New: imap resource crashed after Laptop resume

2020-04-29 Thread Martin Koller
https://bugs.kde.org/show_bug.cgi?id=420765

Bug ID: 420765
   Summary: imap resource crashed after Laptop resume
   Product: Akonadi
   Version: 5.14.0
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: IMAP resource
  Assignee: kdepim-bugs@kde.org
  Reporter: kol...@aon.at
  Target Milestone: ---

Application: akonadi_imap_resource (5.14.0 (20.04.0))

Qt Version: 5.14.1
Frameworks Version: 5.69.0
Operating System: Linux 5.6.4-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

After I resumed the Laptop from suspend, the imap resource crashed immediately

-- Backtrace:
Application: IMAP_davmail (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f95ac8b5cc0 (LWP 25079))]

Thread 9 (Thread 0x7f958adee700 (LWP 25293)):
#0  0x7f95b2954629 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x7f95b29088d7 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f95b290926b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x7f95b290945f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x7f95bc77ec0b in QEventDispatcherGlib::processEvents
(this=0x7f957c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x7f95bc726b9b in QEventLoop::exec (this=this@entry=0x7f958aded8e0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x7f95bc5515ce in QThread::exec (this=) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x7f95bc552698 in QThreadPrivate::start (arg=0x10c3bf0) at
thread/qthread_unix.cpp:342
#8  0x7f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#9  0x7f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f958bfff700 (LWP 25258)):
#0  0x7f95b29088bd in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#1  0x7f95b290926b in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x7f95b290945f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x7f95bc77ec0b in QEventDispatcherGlib::processEvents
(this=0x7f9584000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x7f95bc726b9b in QEventLoop::exec (this=this@entry=0x7f958bffe8e0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x7f95bc5515ce in QThread::exec (this=) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x7f95bc552698 in QThreadPrivate::start (arg=0x1083730) at
thread/qthread_unix.cpp:342
#7  0x7f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#8  0x7f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f95a0df7700 (LWP 25251)):
#0  0x7f95bc073acf in poll () from /lib64/libc.so.6
#1  0x7f95b290933e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x7f95b290945f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x7f95bc77ec0b in QEventDispatcherGlib::processEvents
(this=0x7f959b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x7f95bc726b9b in QEventLoop::exec (this=this@entry=0x7f95a0df68b0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x7f95bc5515ce in QThread::exec (this=) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x7f95bd98a507 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x7f95bc552698 in QThreadPrivate::start (arg=0x7f95bda0cda0) at
thread/qthread_unix.cpp:342
#8  0x7f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#9  0x7f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f95a2ffd700 (LWP 25219)):
#0  0x7f95b3806795 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f95a93fd98b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x7f95a93fd807 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x7f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#4  0x7f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f95a37fe700 (LWP 25218)):
#0  0x7f95b3806795 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f95a93fd98b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x7f95a93fd807 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x7f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#4  0x7f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f95a3fff700 (LWP 25217)):
#0  0x7f95b3806795 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f95a93fd98b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x7f95a93fd807 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x7f95b37ffefa in start_thread () from /lib64/libpthread.so.

[kmail2] [Bug 420766] New: FROM field empty in some e-mails

2020-04-29 Thread David de Cos
https://bugs.kde.org/show_bug.cgi?id=420766

Bug ID: 420766
   Summary: FROM field empty in some e-mails
   Product: kmail2
   Version: 5.14.0
  Platform: Neon Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: david.de...@ehu.eus
  Target Milestone: ---

In the last days, some of the e-mails that I have received show an empty FROM
field in KMail. This may have coincided with upgrading to 20.04. Some remarks:

The e-mails don't actually have an empty FROM field. Other clients show them
correctly.

Those e-mails have certain things in common (which may or not be relevant):

- They have been sent from the same server (all e-mails being notifications
from comments in forums at my university's Moodle).

- In those e-mails, the FROM field has characters like "é", "ú", "ñ".

- In the e-mail source, the FROM field looks like this:
"=?utf-8?B?TWFyw61hICBMZcOzbiBHb256w6FsZXogKGVnZWxhIDIwMTktMjAtKHIpZW4=?=
=?utf-8?B?IGJpdGFydGV6KQ==?=" 


Thinking that those special characters might be responsible for the bug, I sent
myself an e-mail in which I manually changed my name from David to Dávid, and
included an attachment named "filé.txt". When I received it back, it didn't
show an empty FROM field like the other e-mails, but it did show something
interesting: "Dávid" was shown as "D?vid", and the attachment file name was
shown as "t?do.txt". Manually changing the encoding in the View menu didn't fix
this. I suspect this might be due to the same bug I'm reporting here, because I
have never noticed anything like this either. If it isn't, I guess I will
report a separate bug for that, because that's not the expected behavior
either.


SOFTWARE/OS VERSIONS
Kmail version: 5.14.0
KDE Plasma Version: 5.18.4.1
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

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

[kaddressbook] [Bug 415911] cannot add addressbook vCard directory

2020-04-29 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=415911

--- Comment #9 from Rigo Wenning  ---
I have the same issue now with an iCal-Dir and I can't import as it only takes
one file at a time. Stopping akonadi and starting again including stopping and
starting korganizer/kontact yielded no result. 0 items in the calendar that was
added, but the folder contains many ical files.

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

[kmail2] [Bug 420740] adding of inline images broken

2020-04-29 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=420740

Laurent Montel  changed:

   What|Removed |Added

  Latest Commit|https://commits.kde.org/mes |https://commits.kde.org/mes
   |sagelib/de50cca49e1b4c9eb96 |sagelib/3cd2dac6eb5c62faf1f
   |75f0d5dd69c0dcbfd0b93   |05561011fb7954f57dd70

--- Comment #5 from Laurent Montel  ---
Git commit 3cd2dac6eb5c62faf1f05561011fb7954f57dd70 by Laurent Montel.
Committed on 30/04/2020 at 04:54.
Pushed by mlaurent into branch 'release/20.04'.

Fix Bug 420740 - adding of inline images broken

Need to backport to 5.14 branch

(cherry picked from commit de50cca49e1b4c9eb9675f0d5dd69c0dcbfd0b93)

M  +1-1CMakeLists.txt
M  +4-1messagecomposer/src/composer-ng/richtextcomposerng.cpp

https://commits.kde.org/messagelib/3cd2dac6eb5c62faf1f05561011fb7954f57dd70

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