Speed up opening the folder properties dialog in kmail.

Review Request #118602 - Created June 7, 2014 and submitted

Information
David Faure
kdepimlibs
KDE/4.13
314876, 325756
Reviewers
kdepimlibs
dvratil, mlaurent, vkrause
Speed up opening the folder properties dialog in kmail.

An IMAP mail check schedules a large number of tasks.
Tasks that the user is waiting for, such as ItemFetch (reading one mail)
or SyncCollectionAttributes (as called by the folder properties dialog)
should have priority over that.

There might be more types of tasks that the user could potentially be waiting for.
Maybe we could even blacklist instead of whitelist, i.e. put folder-sync tasks
in a low-prio queue, while the default queue would be above it. Not sure.
Ctrl+L (trigger full mail sync), RMB on folder, Folder Properties
Before: it would wait for all folders to be synced, before showing the dialog
After: it only waits for the currently-synced folder to be done, and then shows the dialog

It would be better if it was immediate, of course...
Christian Mollekopf
Laurent Montel
Daniel Vrátil
Commit Hook
This review has been submitted with commit dc97df054b2eaae2556eae56d6b01f38c00b3a2a by David Faure to branch KDE/4.13.
David Faure
Review request changed

Status: Closed (submitted)

Loading...