[Akonadi] [Bug 377394] Uploading a mail in a remote IMAP folder does not show progress status in Kmail

Daniel Vrátil bugzilla_noreply at kde.org
Thu Mar 9 00:04:03 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=377394

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|chrigi_1 at fastmail.fm        |dvratil at kde.org
                 CC|                            |dvratil at kde.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #1 from Daniel Vrátil <dvratil at kde.org> ---
Upon initial investigation, it turns out this might be really tricky to
implement properly because Qt does not really provide us with any means of
monitoring the progress of data being sent. It simply buffers the entire
payload and passes it to the kernel, which buffers it internally again.

We could maybe try to abuse the way Qt works with its internal buffers and pass
the payload to Qt in several smaller chunks, then we would get notified upon
every chunk being written to the socket and we could check how much data
remains in Qt's the buffer. To get a reasonable progress reporting we would,
however, have to pass the payload in really small chunks. The question is what
is the performance impact (in the terms of upload speed) compared to just
passing the entire payload to the kernel in one piece to deal with it
internally.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kdepim-bugs mailing list