[Akonadi] [Bug 361737] duplicates values in SeenUidList and SeenUidTimeList until it crawls to an halt on saving messages

2016-04-28 Thread Albert Astals Cid via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361737

--- Comment #13 from Albert Astals Cid  ---
Ok, i got confused by Laurent pointing to seenUidTimeList, so the problem is
duplicated seenUidList values, yes that's not good.

Is this something that keeps happening? Or is it something that broke at some
point and now works?

Because the code is pretty explicit in doing 

if (!seenUIDs.contains(uid))
seenUIDs.append(uid);

So it seems quite strange to me that this would break.

Also are you compiling things for yourself? Which branch?

-- 
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


[Akonadi] [Bug 361737] duplicates values in SeenUidList and SeenUidTimeList until it crawls to an halt on saving messages

2016-04-28 Thread Martin Steigerwald via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361737

Martin Steigerwald  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #12 from Martin Steigerwald  ---
Albert,

1) It is not me against you. I want to help. If I offended you somehow I am
sorry, but I do not get how I might have done so.

2) In the attached akonadi resource rc I see the same value 00314d67446ce738 in
seenUidList list repeated a ton of times – easily 1000 times or more – and the
same value in 1460469054 in seenUidTimeList repeated a ton of times as well. I
am no programming expert, I don´t know the code, but I just don´t get on how
this is not a duplicate and how it can be necessary to save the same value over
and over and over again to produce a 100 KiB file. If that displays proper
functioning of the POP3 resource, feel free to close this bug again, but for me
it does not look like efficiently handling this issue. If it would be a list of
different values I would not say anything, but it is the exact same value over
and over and over again which creates a very long line (and which makes a nice
pattern when displaying the file contents with a fixed width font).

-- 
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


[Akonadi] [Bug 361737] duplicates values in SeenUidList and SeenUidTimeList until it crawls to an halt on saving messages

2016-04-28 Thread Albert Astals Cid via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361737

Albert Astals Cid  changed:

   What|Removed |Added

  Latest Commit||http://commits.kde.org/kdep
   ||im-runtime/a961e34924647fb1
   ||aa06a6abd0d8fb5147b6f624
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Albert Astals Cid  ---
Git commit a961e34924647fb1aa06a6abd0d8fb5147b6f624 by Albert Astals Cid.
Committed on 28/04/2016 at 21:01.
Pushed by aacid into branch 'Applications/16.04'.

Cache idsToSave

Seems doing all the work each time shouldDeleteId is called is not as fast as i
thught, so cache it until the next list job finishes (i.e. we're checking email
again).

Acked by Laurent

REVIEW: 127775

M  +52   -46   resources/pop3/pop3resource.cpp
M  +4-0resources/pop3/pop3resource.h

http://commits.kde.org/kdepim-runtime/a961e34924647fb1aa06a6abd0d8fb5147b6f624

-- 
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


[Akonadi] [Bug 361737] duplicates values in SeenUidList and SeenUidTimeList until it crawls to an halt on saving messages

2016-04-28 Thread Albert Astals Cid via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361737

--- Comment #10 from Albert Astals Cid  ---
> Albert, the duplicates easily get excessive. Here an example of it with a 
> retention time of just 2 days.

It is not duplication, it's the time each of the ids of the messages was
seen/saved, it just happens that they were seen/saved, that is not a bug and is
always how it has worked, unless you know how the code works and you can prove
this is a bug i don't see why it would be a bug.

-- 
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


[kontact] [Bug 362339] Kontact crashes on startup with SEGFAULT "Could not create collection trash, resourceId: 3"

2016-04-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362339

--- Comment #5 from niclas.rossber...@gmx.de ---
The problem was the local folder. After executing "rm -rf
.local/share/local-mail/trash/" KMail works normal again.
[Source]: https://forum.kde.org/viewtopic.php?f=215&t=120777

-- 
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


[Akonadi] [Bug 361737] duplicates values in SeenUidList and SeenUidTimeList until it crawls to an halt on saving messages

2016-04-28 Thread Martin Steigerwald via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361737

--- Comment #9 from Martin Steigerwald  ---
Hi Laurent, I can´t test it, as I do not have Qt 5.6 on my Debian
Sid/Experimental setup and I gathered that KDEPIM requires it since a week or
so. I do have kdesrc-build and while a recompile of KDEPIM is easy enough, I
don´t know how easy it is to also build Qt 5.6 from source and set it up so
that it is preferred over the distro Qt, so I decided to wait for Qt 5.6.1 to
arrive in Debian, before I recompile KDEPIM.

-- 
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


[Akonadi] [Bug 361737] duplicates values in SeenUidList and SeenUidTimeList until it crawls to an halt on saving messages

2016-04-28 Thread Martin Steigerwald via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361737

--- Comment #8 from Martin Steigerwald  ---
Created attachment 98669
  --> https://bugs.kde.org/attachment.cgi?id=98669&action=edit
excessive duplicates in akonadi_pop3_resource_0rc

Albert, the duplicates easily get excessive. Here an example of it with a
retention time of just 2 days.

-- 
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


[kontact] [Bug 362339] Kontact crashes on startup with SEGFAULT "Could not create collection trash, resourceId: 3"

2016-04-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362339

--- Comment #4 from niclas.rossber...@gmx.de ---
Created attachment 98668
  --> https://bugs.kde.org/attachment.cgi?id=98668&action=edit
another backtrace

-- 
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


[kontact] [Bug 362339] Kontact crashes on startup with SEGFAULT "Could not create collection trash, resourceId: 3"

2016-04-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362339

--- Comment #3 from niclas.rossber...@gmx.de ---
Created attachment 98667
  --> https://bugs.kde.org/attachment.cgi?id=98667&action=edit
~/.local/share/akonadi/akonadiserver.error

-- 
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 357670] KMail 16.04.0: Composer auto-completion fails on first try

2016-04-28 Thread Till Schäfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357670

--- Comment #6 from Till Schäfer  ---
checked and verified, that the bug still exists in 16.04.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 357670] KMail 16.04.0: Composer auto-completion fails on first try

2016-04-28 Thread Till Schäfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357670

Till Schäfer  changed:

   What|Removed |Added

Summary|KMail 15.12.3: Composer |KMail 16.04.0: Composer
   |auto-completion fails on|auto-completion fails on
   |first try   |first try

-- 
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 357670] KMail 15.12.3: Composer auto-completion fails on first try

2016-04-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357670

a...@sympatico.ca changed:

   What|Removed |Added

 CC||a...@sympatico.ca

-- 
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 362337] In kmail 5.2.0: "Deleting" and "moving into folders" of multiple mails on IMAP server just affects one mail, not all selected.

2016-04-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362337

whatifgodwasoneo...@hotmail.com changed:

   What|Removed |Added

 CC||whatifgodwasoneofus@hotmail
   ||.com

--- Comment #4 from whatifgodwasoneo...@hotmail.com ---
I have exactly the same problem. Using Manjaro Linux with KDE (testing branch).

-- 
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


[kontact] [Bug 362339] Kontact crashes on startup with SEGFAULT "Could not create collection trash, resourceId: 3"

2016-04-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362339

--- Comment #2 from niclas.rossber...@gmx.de ---
I have the same error but the "resourceId" is 4 instead of 3.
This happended after I changed the thash-folders of my gmx.de and googlemail
account to the corresponding IMAP-folders.
By ignoring the errormessage and using kmail I found out, that I can delete
emails from my gmx account (and see them later in the corresponding thrash
folder). I couldn't do the same on my googlemail account. So the error is very
likely at my googlemail account.

-- 
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


[kontact] [Bug 362339] Kontact crashes on startup with SEGFAULT "Could not create collection trash, resourceId: 3"

2016-04-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362339

niclas.rossber...@gmx.de changed:

   What|Removed |Added

 CC||niclas.rossber...@gmx.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


[kontact] [Bug 333644] Kontact crashes when using the preferences window for the overview/summary component

2016-04-28 Thread Christoph Feck via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=333644

Christoph Feck  changed:

   What|Removed |Added

 Resolution|BACKTRACE   |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #8 from Christoph Feck  ---
Thanks for the update, closing.

-- 
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


[kontact] [Bug 333644] Kontact crashes when using the preferences window for the overview/summary component

2016-04-28 Thread piedro via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=333644

--- Comment #7 from piedro  ---
I do not have this problem anymore... 

Cheers, p.

-- 
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


[Akonadi] [Bug 362420] New: DAV Resource 16.04.0: Segfaults randomly

2016-04-28 Thread Till Schäfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362420

Bug ID: 362420
   Summary: DAV Resource 16.04.0: Segfaults randomly
   Product: Akonadi
   Version: 16.04
  Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: DAV Resource
  Assignee: kdepim-bugs@kde.org
  Reporter: till2.schae...@uni-dortmund.de

The DAV Resource starts to segfault randomly (most of the times shortly after
akonadi was startet)

Software: 
- kde-apps 16.04.0
- frameworks 5.21


Thread 1 (Thread 0x7f421c7207c0 (LWP 11813)):
[KCrash Handler]
#6  QMap::detach (this=0x10) at
/usr/include/qt5/QtCore/qmap.h:364
#7  QMap::operator[] (akey=..., this=0x10) at
/usr/include/qt5/QtCore/qmap.h:629
#8  EtagCache::setEtag (this=0x0, remoteId=..., etag=...) at
/var/tmp/portage/kde-apps/kdepim-runtime-16.04.0/work/kdepim-runtime-16.04.0/resources/dav/common/etagcache.cpp:38
#9  0x00452728 in DavGroupwareResource::onItemFetched (this=0x1f3f2b0,
job=, updateType=DavGroupwareResource::ItemUpdateAdd) at
/var/tmp/portage/kde-apps/kdepim-runtime-16.04.0/work/kdepim-runtime-16.04.0/resources/dav/resource/davgroupwareresource.cpp:958
#10 0x7f42314feef3 in QtPrivate::QSlotObjectBase::call (a=0x7ffdf8673440,
r=0x1f3f2b0, this=0x2016980) at
../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#11 QMetaObject::activate (sender=sender@entry=0x2056b90,
signalOffset=, local_signal_index=local_signal_index@entry=3,
argv=argv@entry=0x7ffdf8673440) at kernel/qobject.cpp:3698
#12 0x7f42314ffb37 in QMetaObject::activate (sender=sender@entry=0x2056b90,
m=m@entry=0x7f4232bbd320 ,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdf8673440)
at kernel/qobject.cpp:3578
#13 0x7f423296b1b2 in KJob::result (this=this@entry=0x2056b90,
_t1=_t1@entry=0x2056b90) at
/var/tmp/portage/kde-frameworks/kcoreaddons-5.21.0-r1/work/kcoreaddons-5.21.0_build/src/lib/moc_kjob.cpp:555
#14 0x7f423296bcd1 in KJob::finishJob (this=this@entry=0x2056b90,
emitResult=emitResult@entry=true) at
/var/tmp/portage/kde-frameworks/kcoreaddons-5.21.0-r1/work/kcoreaddons-5.21.0/src/lib/jobs/kjob.cpp:109
#15 0x7f423296bd5a in KJob::emitResult (this=this@entry=0x2056b90) at
/var/tmp/portage/kde-frameworks/kcoreaddons-5.21.0-r1/work/kcoreaddons-5.21.0/src/lib/jobs/kjob.cpp:293
#16 0x00422004 in DavItemFetchJob::davJobFinished (this=0x2056b90,
job=) at
/var/tmp/portage/kde-apps/kdepim-runtime-16.04.0/work/kdepim-runtime-16.04.0/resources/dav/common/davitemfetchjob.cpp:92
#17 0x7f42314feef3 in QtPrivate::QSlotObjectBase::call (a=0x7ffdf86736b0,
r=0x2056b90, this=0x1f67bc0) at
../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#18 QMetaObject::activate (sender=sender@entry=0x2044170,
signalOffset=, local_signal_index=local_signal_index@entry=3,
argv=argv@entry=0x7ffdf86736b0) at kernel/qobject.cpp:3698
#19 0x7f42314ffb37 in QMetaObject::activate (sender=sender@entry=0x2044170,
m=m@entry=0x7f4232bbd320 ,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdf86736b0)
at kernel/qobject.cpp:3578
#20 0x7f423296b1b2 in KJob::result (this=this@entry=0x2044170,
_t1=_t1@entry=0x2044170) at
/var/tmp/portage/kde-frameworks/kcoreaddons-5.21.0-r1/work/kcoreaddons-5.21.0_build/src/lib/moc_kjob.cpp:555
#21 0x7f423296bcd1 in KJob::finishJob (this=this@entry=0x2044170,
emitResult=emitResult@entry=true) at
/var/tmp/portage/kde-frameworks/kcoreaddons-5.21.0-r1/work/kcoreaddons-5.21.0/src/lib/jobs/kjob.cpp:109
#22 0x7f423296bd5a in KJob::emitResult (this=this@entry=0x2044170) at
/var/tmp/portage/kde-frameworks/kcoreaddons-5.21.0-r1/work/kcoreaddons-5.21.0/src/lib/jobs/kjob.cpp:293
#23 0x7f4233d86ca2 in KIO::SimpleJob::slotFinished
(this=this@entry=0x2044170) at
/var/tmp/portage/kde-frameworks/kio-5.21.0/work/kio-5.21.0/src/core/simplejob.cpp:230
#24 0x7f4233d903b6 in KIO::TransferJob::slotFinished (this=0x2044170) at
/var/tmp/portage/kde-frameworks/kio-5.21.0/work/kio-5.21.0/src/core/transferjob.cpp:166
#25 0x7f4233d8fae1 in KIO::TransferJob::qt_static_metacall (_o=, _c=, _id=, _a=) at
/var/tmp/portage/kde-frameworks/kio-5.21.0/work/kio-5.21.0_build/src/core/moc_transferjob.cpp:155
#26 0x7f42314ff474 in QMetaObject::activate (sender=sender@entry=0x205d430,
signalOffset=, local_signal_index=local_signal_index@entry=4,
argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#27 0x7f42314ffb37 in QMetaObject::activate (sender=sender@entry=0x205d430,
m=m@entry=0x7f423402c140 ,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at
kernel/qobject.cpp:3578
#28 0x7f4233d66a73 in KIO::SlaveInterface::finished
(this=this@entry=0x205d430) at
/var/tmp/portage/kde-frameworks/kio-5.21.0/work/kio-5.21.0_build/src/core/moc_slaveinterface.cpp:402
#29 0x7f4233d69a51 in KIO::SlaveInterface::dispatch (this=0x205d430,
_cmd=, rawdata=...) at
/var/tmp/portage

[kmail2] [Bug 357670] KMail 15.12.3: Composer auto-completion fails on first try

2016-04-28 Thread Till Schäfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357670

Till Schäfer  changed:

   What|Removed |Added

Version|5.1 |5.1.3

-- 
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 329964] Kmail2 does not show the encryption symbol in message list for inline pgp mails

2016-04-28 Thread Till Schäfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=329964

Till Schäfer  changed:

   What|Removed |Added

Version|4.13|5.1.3

--- Comment #3 from Till Schäfer  ---
this is still valid in version 5.2.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


[Akonadi] [Bug 355966] akonadi 15.12.1: imap resource crashed while running in background

2016-04-28 Thread Till Schäfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=355966

Till Schäfer  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #2 from Till Schäfer  ---
seems to be fixed in 15.12.3 and 16.04.0

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


[Akonadi] [Bug 357528] Akonadi IMAP Resource 15.12.0: segfault while running in background

2016-04-28 Thread Till Schäfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357528

Till Schäfer  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #1 from Till Schäfer  ---
this bug seems to be fixed in 15.12.3

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


[kmail2] [Bug 362398] duplicate mails but different size shown

2016-04-28 Thread Laurent Montel via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362398

Laurent Montel  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #6 from Laurent Montel  ---
Dan can know it better than me.

-- 
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 354400] In Kmail 5.0.2 autocompletion only shows recent email addresses but not stored emails in Kaddressbook

2016-04-28 Thread Stephan Küffner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354400

Stephan Küffner  changed:

   What|Removed |Added

 CC||stephan.kueffner@dot-soluti
   ||ons.org

--- Comment #22 from Stephan Küffner  ---
Can confirm this behavior.
No recent addresses, no owncloud addresses through akonadi

Kubuntu 16.04, Kontact 5.1.3

-- 
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 362398] duplicate mails but different size shown

2016-04-28 Thread Martin Koller via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362398

--- Comment #5 from Martin Koller  ---
BTW: I once tried to find the root cause of the duplicate emails and came up
with the following:

I'm hunting the "duplicate mail bug" and I think I've found a bug in the
Akonadi Server.
What happens here is the following:
- a resource adds a new mail item (id=3, collection=17)
- Akonadi sends "Item added" to the filter agent
- filter agent sends a "move" command to move item id=3 from collection=17 to
collection=19
- Akonadi sends "item added" to the maildir resource (this is the first "added"
message from the creation, so the
  item still has id=3 collection=17)
- I'd say in the Akonadi DB the collectionId of item=3 is now 19 (after the
move)
- Now the maildir resource gets triggered by its internal file watcher and
triggers a sync
- maildir gets called with retrieveItems and lists what it has on disc, which
is the item (id=3) in the collection=17
- Akonadi receives this and inside Merge::parseStream() there the bad thing
happens:
  It hits this "if" branch (server/src/handler/merge.cpp Line 301)
  // No item with such GID/RID exists, so call AkAppend::insert() and
behave
  // like if this was a new item
 and INSERTS the item AGAIN into collection=17 with a new id=4
 Now I have the same mail item twice in the DB
 Since the maildir "itemsRetrieved" answer contains for the first time the RID,
the newly inserted item gets this RID,
 and the previously intserted one id=3 does not and is left alone with a NULL
RID


Someone more knowledgeable about the Akonadi internals should have a look,
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 362398] duplicate mails but different size shown

2016-04-28 Thread Martin Koller via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362398

--- Comment #4 from Martin Koller  ---
The mail I attached here is now shown with the same size(!). I don't know why,
but some magic changed the display (I did set the mail to "important" and I
switched folders in the meantime).

However I have other duplicate emails which show the same problem.
Saving one of these as .txt shows also no difference!
So for whatever reason, the mails are exactly the same just the sizes are
wrong.

I have now also for the second mail the same sizes...
I just switched to the inbox, back to the opensuse mailing list folder, and now
the 2 mails show the same size.

ok, third example. Let's see ...
Just switching folders does not change the size.
Selecting the second one, switching folders, does not change the size.
Selecting the first one, switching folders, does not change the size.
Hmmm ... these two never show the same size, although saves as mbox or as txt
just shows they are both exactly the same.

Comparing the .txt version against the .mbox version just shows the additional
"From" start line, wich the mbox format requires.

-- 
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 362398] duplicate mails but different size shown

2016-04-28 Thread Laurent Montel via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362398

Laurent Montel  changed:

   What|Removed |Added

 CC||mon...@kde.org

--- Comment #3 from Laurent Montel  ---
Indeed I see same problem.
Could you show source (in txt).
save source from 2 emails
and make a diff ?

So we can see what is the difference.
I want to see if it's the same diff as me

-- 
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 354400] In Kmail 5.0.2 autocompletion only shows recent email addresses but not stored emails in Kaddressbook

2016-04-28 Thread Michael D via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354400

--- Comment #21 from Michael D  ---
Recent addresses sort of work. Type in the recepient field (To, BCC, etc.) and
then backspace to the beginning. Then type again and recents will show up. I
suppose this qualifies as part of this bug.

-- 
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 362398] duplicate mails but different size shown

2016-04-28 Thread Martin Koller via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362398

--- Comment #2 from Martin Koller  ---
Created attachment 98658
  --> https://bugs.kde.org/attachment.cgi?id=98658&action=edit
screenshot 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 362398] duplicate mails but different size shown

2016-04-28 Thread Martin Koller via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362398

--- Comment #1 from Martin Koller  ---
Created attachment 98657
  --> https://bugs.kde.org/attachment.cgi?id=98657&action=edit
mail as mbox file

-- 
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 362398] New: duplicate mails but different size shown

2016-04-28 Thread Martin Koller via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362398

Bug ID: 362398
   Summary: duplicate mails but different size shown
   Product: kmail2
   Version: unspecified
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: message list
  Assignee: kdepim-bugs@kde.org
  Reporter: kol...@aon.at

Version 5.2.0

I often receive mails from mailing lists (e.g. in this example opensuse KDE)
which get duplicated.
What I found today is yet another duplicate email (see attached screenshot) but
the interesting thing is that kmail shows the same mails with DIFFERENT sizes.
I did save both of them via RMB -> save as (attached) and compared both with
"cmp".
They are exactly the same

Reproducible: Sometimes

-- 
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 362337] In kmail 5.2.0: "Deleting" and "moving into folders" of multiple mails on IMAP server just affects one mail, not all selected.

2016-04-28 Thread Mike Booth via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362337

Mike Booth  changed:

   What|Removed |Added

 CC||mikeboot...@gmail.com

--- Comment #3 from Mike Booth  ---
I have exactly this problem. Introduced with 5.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