<?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>286048</bug_id>
          
          <creation_ts>2011-11-07 21:42:30 +0000</creation_ts>
          <short_desc>don&apos;t trigger conflict message when marking a mail manually as spam</short_desc>
          <delta_ts>2012-10-13 22:25:54 +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>Mail Filter Agent</component>
          <version>GIT (master)</version>
          <rep_platform>Unlisted Binaries</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="Milian Wolff">mail</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>chris-s</cc>
    
    <cc>daniel.moyne</cc>
          
          <cf_commitlink>http://commits.kde.org/kdepim/a2adaa32fec765995b7241a7fb00c5876c82f842</cf_commitlink>
          <cf_versionfixedin>4.9.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1182545</commentid>
    <comment_count>0</comment_count>
    <who name="Milian Wolff">mail</who>
    <bug_when>2011-11-07 21:42:30 +0000</bug_when>
    <thetext>Version:           Git (master)
OS:                Linux

often, when I&apos;m marking a mail as spam (i.e. manually executing the filter for that action), I get a conflict dialog in modification time and flags, e.g.:


Modification Time:
07.11.2011 21:20:46

07.11.2011 21:37:26
Flags:
$ATTACHMENT, \SEEN

$ATTACHMENT, $JUNK


Reproducible: Didn&apos;t try

Steps to Reproduce:
mark mail manually as spam

Actual Results:  
every so often you get the conflict message, esp. when you select an unread message and directly hit the shortcut to mark-as-spam. I think the issue is that kmail2 needs really long to display the message, starts the filter inbetween and then the mark-as-read + mark-as-spam conflict

Expected Results:  
no conflict</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1182579</commentid>
    <comment_count>1</comment_count>
    <who name="Milian Wolff">mail</who>
    <bug_when>2011-11-07 22:19:15 +0000</bug_when>
    <thetext>ignore: Reproducible: Didn&apos;t try

it&apos;s sometimes reproducible if you are fast enough</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1223942</commentid>
    <comment_count>2</comment_count>
    <who name="Chris">chris-s</who>
    <bug_when>2012-02-07 05:17:52 +0000</bug_when>
    <thetext>I can comfirm this, KMail doesn&apos;t play nicely at all with unread e-mail messages on IMAP server. It tries to add a new copy for every scanned message back to the server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1305616</commentid>
    <comment_count>3</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2012-10-13 22:24:05 +0000</bug_when>
    <thetext>*** Bug 284849 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1305618</commentid>
    <comment_count>4</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2012-10-13 22:25:04 +0000</bug_when>
    <thetext>Git commit 21d7ebcfa071653ee7a7c184d45b344fd3bb8586 by Andras Mantia.
Committed on 14/10/2012 at 00:25.
Pushed by amantia into branch &apos;master&apos;.

Disable revision check(conflict checking) if only flags were changed.
That is not very important and can be triggered relatively easily with reading mails while a filter is active.

For the bugs where I CC&apos;d, please see if you can still reproduce it (the change affects
only when marking manually conflicted with marking the mail by a filter).
Related: bug 259574


FIXED-IN: 4.10

M  +1    -0    mailfilteragent/filtermanager.cpp

http://commits.kde.org/kdepim/21d7ebcfa071653ee7a7c184d45b344fd3bb8586</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1305619</commentid>
    <comment_count>5</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2012-10-13 22:25:54 +0000</bug_when>
    <thetext>Git commit a2adaa32fec765995b7241a7fb00c5876c82f842 by Andras Mantia.
Committed on 14/10/2012 at 00:25.
Pushed by amantia into branch &apos;KDE/4.9&apos;.

Disable revision check(conflict checking) if only flags were changed.
That is not very important and can be triggered relatively easily with reading mails while a filter is active.

For the bugs where I CC&apos;d, please see if you can still reproduce it (the change affects
only when marking manually conflicted with marking the mail by a filter).
Related: bug 259574

FIXED-IN: 4.9.3
(cherry picked from commit 21d7ebcfa071653ee7a7c184d45b344fd3bb8586)

M  +1    -0    mailfilteragent/filtermanager.cpp

http://commits.kde.org/kdepim/a2adaa32fec765995b7241a7fb00c5876c82f842</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>