<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>325756</bug_id>
          
          <creation_ts>2013-10-08 01:26:04 +0000</creation_ts>
          <short_desc>Folder properties take too much time to appear, if they do at all</short_desc>
          <delta_ts>2014-06-09 08:56:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>general</component>
          <version>GIT (master)</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lisandro Damián Nicanor Pérez Meyer">perezmeyer</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>bugs</cc>
    
    <cc>faure</cc>
    
    <cc>montel</cc>
          
          <cf_commitlink>http://commits.kde.org/kdepimlibs/dc97df054b2eaae2556eae56d6b01f38c00b3a2a</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1402118</commentid>
    <comment_count>0</comment_count>
    <who name="Lisandro Damián Nicanor Pérez Meyer">perezmeyer</who>
    <bug_when>2013-10-08 01:26:04 +0000</bug_when>
    <thetext>I have just setted up an imap offline account against gmail. It has already synced, Now if I right-click on any folder and select &quot;Folder properties&quot;, it takes far too much time to show them (10&apos; or more), if it does at all.

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1403628</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-10-15 14:45:16 +0000</bug_when>
    <thetext>Know bug, but it&apos;s not a kmail bug but akonadi bug.
We can&apos;t sync and show dialog box which need to have some akonadi parameter in same time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1403630</commentid>
    <comment_count>2</comment_count>
    <who name="Lisandro Damián Nicanor Pérez Meyer">perezmeyer</who>
    <bug_when>2013-10-15 15:03:14 +0000</bug_when>
    <thetext>Sound slogical. It turned out that akonadi haven&apos;t finished indexing my mails. After it did, things started to get faster (but could really improve).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453729</commentid>
    <comment_count>3</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2014-06-07 09:07:03 +0000</bug_when>
    <thetext>Fix on its way: https://git.reviewboard.kde.org/r/118602/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453731</commentid>
    <comment_count>4</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2014-06-07 09:07:22 +0000</bug_when>
    <thetext>*** Bug 314876 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1454071</commentid>
    <comment_count>5</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2014-06-09 08:56:00 +0000</bug_when>
    <thetext>Git commit dc97df054b2eaae2556eae56d6b01f38c00b3a2a by David Faure.
Committed on 07/06/2014 at 08:47.
Pushed by dfaure into branch &apos;KDE/4.13&apos;.

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.
Related: bug 314876
REVIEW: 118602

M  +2    -1    akonadi/resourcescheduler.cpp
M  +5    -3    akonadi/resourcescheduler_p.h

http://commits.kde.org/kdepimlibs/dc97df054b2eaae2556eae56d6b01f38c00b3a2a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>