[Akonadi] [Bug 364005] ASSERT: "!mReadingFinished" when composing a message

2016-06-18 Thread Christophe Giboudeaux via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364005

--- Comment #4 from Christophe Giboudeaux  ---
false alarm, deleting the whole build dir helped.

-- 
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 364005] ASSERT: "!mReadingFinished" when composing a message

2016-06-18 Thread Christophe Giboudeaux via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364005

--- Comment #3 from Christophe Giboudeaux  ---
Well, it still crashes with the same bt:

#7  0x7f4306756f1e in qt_assert(char const*, char const*, int)
(assertion=, file=, line=) at
global/qglobal.cpp:2999
#8  0x7f42ff57bc58 in Akonadi::JobPrivate::handleResponse(long long,
Akonadi::Protocol::Command const&) (this=0x479a660, tag=12, response=...) at
/kde/src/5/akonadiserver/src/core/jobs/job.cpp:69
#9  0x7f42ff53d5d8 in Akonadi::SessionPrivate::handleCommand(long long,
Akonadi::Protocol::Command const&) (this=0x3c483d0, tag=12, cmd=...) at
/kde/src/5/akonadiserver/src/core/session.cpp:143
#10 0x7f42ff53f2c3 in Akonadi::Session::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x3c359d0,
_c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7f425800cac0) at
/kde/build/5/akonadiserver/src/core/moc_session.cpp:117

-- 
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 354957] 'To' field completion only works for recent addresses

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

--- Comment #4 from and...@sent.com ---
I have 5.1.3 but it still doesn't work. Only recent addresses get completed,
not CardDAV.

-- 
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 364458] New: KMail sends email on all mail checks when set up 'never automatically'

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

Bug ID: 364458
   Summary: KMail sends email on all mail checks when set up
'never automatically'
   Product: kmail2
   Version: 5.1.3
  Platform: Kubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: and...@sent.com

Kmail can be set up to send email one of three ways:

* never automatically
* on all mail checks
* on manual mail checks.

If I set it up 'never automatically,' it will actually do 'on all mail checks.'

There's a workaround if I check the option 'Confirm before send.' In that case
it correctly follows the 'never automatically' setting. But I don't need
'confirm before send,' precisely because I only send the queued messages
manually. 

Reproducible: Always

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


[kmail] [Bug 183348] Kmail filter extremely slow

2016-06-18 Thread Tim Holy via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=183348

Tim Holy  changed:

   What|Removed |Added

 CC||h...@pcg.wustl.edu

--- Comment #10 from Tim Holy  ---
I'm using Kubuntu 16.04 (Kontact 5.1.3). I copied several hundred thousand
emails over from an older install. I realized I had made a mistake in ordering
the priority of my filters, so I modified them and then selected a folder with
about 33K messages in it, selected all messages, and hit Ctrl-J. The progress
was extremely slow, under 10 messages per second, running at least 2 threads
(one kontact and one mysql) constantly. Note that, because this is a new
installation, I have only 6 filters defined so far (in contrast to my hundreds
of filters in my old installation), and the filter rules are extremely simple
(all single-rule, most looking at List-Id).

While preparing to comment here, I went and selected Help>Kontact Introduction
to get my version number. When I came back to the folder, the filtering had
stopped. I'm not certain whether it finished or terminated. If it finished,
then I have a theory: display of folder contents is interfering with progress
in filtering.

-- 
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 362938] Implement tomboy REST API as Akonadi resource

2016-06-18 Thread Stefan via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362938

--- Comment #6 from Stefan  ---
I hope I have the right idea now:
KMime::Message::Ptr akonadiNote = KMime::Message::Ptr(new KMime::Message);
akonadiNote->subject(true)->fromUnicodeString( jsonNote["title"].toString(),
"utf-8" );
akonadiNote->contentType()->setMimeType("text/plain");
akonadiNote->contentType()->setCharset("utf-8");
akonadiNote->contentTransferEncoding(true)->setEncoding(KMime::Headers::CEquPr);
akonadiNote->mainBodyPart()->fromUnicodeString(jsonNote["note-content"].toString().toUtf8());
akonadiNote->assemble();
resultItem.setPayload(akonadiNote);

Problem is now the debugging. How can read the debug messages like
qCDebug(log_tomboynotesresource) << "Resource started";

-- 
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 358568] Kontact crash on closing Kontact

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

--- Comment #3 from aux...@gmail.com ---
I still had the same crash in kontact 16.04.2, accompanied with mysql having
high CPU usage.

-- 
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 364005] ASSERT: "!mReadingFinished" when composing a message

2016-06-18 Thread Daniel Vrátil via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364005

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/akon
   ||adi/d5c6a12a10dbe58384676a8
   ||777c871c1bebc1744
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from Daniel Vrátil  ---
Git commit d5c6a12a10dbe58384676a8777c871c1bebc1744 by Daniel Vrátil.
Committed on 18/06/2016 at 10:33.
Pushed by dvratil into branch 'master'.

Session: connect to KJob::finished() rather than result()

KJob::result() is not emitted when job is killed quietly which prevents
Session from scheduling the next job until the killed job is destroyed.
This leads to responses being delivered to a wrong job when the job is
killed.
CCMAIL: fa...@kde.org

M  +2-0src/core/jobs/job.cpp
M  +1-1src/core/session.cpp

http://commits.kde.org/akonadi/d5c6a12a10dbe58384676a8777c871c1bebc1744

-- 
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 364243] Moving several mails from IMAP inbox to local maildir creates entries with RemoteID NULL

2016-06-18 Thread Daniel Vrátil via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364243

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Looks like a duplicate of bug 339181 which should be fixed in KDE Applications
16.04.1. Could you please check your version and test against latest 16.04
release?

-- 
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 364444] Crash on deleting attachments

2016-06-18 Thread Frederik Schwarzer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=36

--- Comment #1 from Frederik Schwarzer  ---
Minor addition:
After the crash, the email I was deleting attachments from, exists twice. Once
with the attachments which deletion was in progress and once without 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 364444] Crash on deleting attachments

2016-06-18 Thread Frederik Schwarzer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=36

Frederik Schwarzer  changed:

   What|Removed |Added

   Platform|Other   |Debian unstable

-- 
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 364444] New: Crash on deleting attachments

2016-06-18 Thread Frederik Schwarzer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=36

Bug ID: 36
   Summary: Crash on deleting attachments
   Product: kmail2
   Version: 5.2.1
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: schwar...@kde.org

Hi,

unfortunately I cannot give you a good bt because I am on a mixed system of
Debian Sid and Experimental and the -dbp oackages are conflicting at the
moment.

But let me explain my problem. In the KDE 4 version of KMail, deleting
attachments sometimes failed. I just right-clicked, selected "Delete
Attachment" from the context menu and nothing happened. To make it work again,
I had to first select another email in the message list and then select the
original email again. Then I could resume deleting attachments. Sometimes I had
to delete one at a time and do the selection game in between, sometimes I was
able to delete 2 to 5 attachments before it was stuck again but that's how it
was in KDE 4 for me.

Now I installed the KF5 version of KMail (5.2.1) and the behaviour changed a
bit. I can delete way more attachments before the deletion process gets stuck
and I have to select and re-select as described above. But now, KMail crashes
sometimes when deleting an attachment.

The getting stuck and sometimes crash behaviour seems to get worse the more
attachments I delete. And once I wait for 5 minutes, I can continue without
problems ... until it gets worse again.

My Mail Server is posteo.de (in case that's helping) and I am connected via
IMAP.

To test this, just send yourself an email with e.g. 50 attachments and start
deleting.

Maybe this will also count as a wishlist for a "Delete all attachments" action.
:D

Reproducible: Always

-- 
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 361638] Google imap inbox crash.

2016-06-18 Thread Daniel Vrátil via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361638

Daniel Vrátil  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||dvra...@kde.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Daniel Vrátil  ---


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

-- 
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 351850] Random crash when having a gmail account setup in kmail

2016-06-18 Thread Daniel Vrátil via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=351850

Daniel Vrátil  changed:

   What|Removed |Added

 CC||bba...@gmail.com

--- Comment #26 from Daniel Vrátil  ---
*** Bug 361638 has been marked as a duplicate of this bug. ***

-- 
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 362938] Implement tomboy REST API as Akonadi resource

2016-06-18 Thread Stefan via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362938

--- Comment #5 from Stefan  ---
A little status update:

For OAuth I use now the suggested o2. Because of cmake it was a little bit
difficult getting it working.

I want to use the following KJob classes:
- TomboyJobBase:
  it should provide the full OAuth stuff using the library o2
- TomboyServerAuthenticateJob:
  It's needed for the configuration it should do the OAuth registration process 
getting the client credentials
- TomboyItemsDownloadJob:
  It should retrieve all items
- TomboyItemDownloadJob:
  It should get the specific item
- TomboyItemUploadJob

For the first 3 classes I have a rudimentary implementation now. I use o2 and
KIO::AccessManager (o2 needs a QNetworkAccessManager!) for accessing the
server. I parse the received data with QJsonDocument.

Current question is, how I have to save the notes data in Akonadi::Item. I
studied the code of KJots and I think I have to use KMime:Message, but the
details are still unclear.

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