<?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>65418</bug_id>
          
          <creation_ts>2003-10-03 16:02:29 +0000</creation_ts>
          <short_desc>Kmail shows &quot;unseen but deleted&quot; IMap emails as unseen</short_desc>
          <delta_ts>2007-09-14 12:17:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>IMAP</component>
          <version>1.5</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>26986</dup_id>
          
          <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="David Corbin">kde.org</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>mhirsch</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>30</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>163639</commentid>
    <comment_count>0</comment_count>
    <who name="David Corbin">kde.org</who>
    <bug_when>2003-10-03 16:02:29 +0000</bug_when>
    <thetext>Version:           1.5 (using KDE KDE 3.1.3)
Installed from:    Unlisted Binary Package

Courier IMAP allows message to be flagged as Deleted, and as Seen, independently.  If a message is deleted but unseen, KMail will count this message as &quot;unread&quot; in the folder count.  But if you click on the folder, it disappears from the count and is not shown (since it&apos;s deleted).  If you click on another folder, it will come back to the Unread count (eventually)

Explictly compacting the folder will correct this, because the deleted messages will be removed.

Messages marked as Deleted, but not as &quot;Seen&quot; should not be counted as &quot;Contributed&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164133</commentid>
    <comment_count>1</comment_count>
    <who name="Till Adam">adam</who>
    <bug_when>2003-10-05 23:23:39 +0000</bug_when>
    <thetext>Right, that&apos;s not intuitive, albeit not strictly wrong. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164135</commentid>
    <comment_count>2</comment_count>
    <who name="David Corbin">dcorbin</who>
    <bug_when>2003-10-05 23:31:23 +0000</bug_when>
    <thetext>I understand the literal interpretation.  It&apos;s not only intuitive, it&apos;s
misleading - because Kmail is not consistent in that number. When you select the
folder, the unread count goes to 0.  If it showed the deleted but not seen
messages here as unread, at least it would be consistent (though my original
suggestion is still the prefered one).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189329</commentid>
    <comment_count>3</comment_count>
    <who name="Till Adam">adam</who>
    <bug_when>2003-12-28 14:01:27 +0000</bug_when>
    <thetext>*** Bug 66354 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198539</commentid>
    <comment_count>4</comment_count>
    <who name="Till Adam">adam</who>
    <bug_when>2004-01-24 20:19:51 +0000</bug_when>
    <thetext>*** Bug 72424 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241104</commentid>
    <comment_count>5</comment_count>
    <who name="Carsten Burghardt">burghardt</who>
    <bug_when>2004-06-13 14:56:56 +0000</bug_when>
    <thetext>A little background why I mark this a duplicate: the only chance to handle this is to mark messages as deleted on the client when they&apos;re on the server. Otherwise we would have to select every folder and then do a search for deleted and unseen messages. This would take too much time with many folders.

*** This bug has been marked as a duplicate of 26986 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273327</commentid>
    <comment_count>6</comment_count>
    <who name="Thomas Zander">zander</who>
    <bug_when>2004-10-01 18:40:03 +0000</bug_when>
    <thetext>&gt; the only chance to handle this is to mark messages as deleted on the client when they&apos;re on the server. 
That does not make sense;  you are not allowed to change my email-status when checking for unread email..

Lets re-itererate this:
I have (fact) a folder on my imap server that has an email that is both deleted and new.  KMail had nothing to do on how that email got that way.

KMail should detect this state, and if it has to do so by doing a search, then so be it.

Suggesting KMail change the state of emails on the server is unacceptable. KMail should not change the state on me just looking at the email.

Stop marking as duplicate of an unrelated wishlist item. THIS IS A REAL BUG.
*sigh*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273329</commentid>
    <comment_count>7</comment_count>
    <who name="Thomas Zander">zander</who>
    <bug_when>2004-10-01 18:48:03 +0000</bug_when>
    <thetext>ehm; previous comment went to the wrong bug. Sorry.

*** This bug has been marked as a duplicate of 26986 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>