Bug 260800 - two updates conflict with each other / do not know what to do
Summary: two updates conflict with each other / do not know what to do
Status: RESOLVED DUPLICATE of bug 259574
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2010-12-20 15:32 UTC by m.wege
Modified: 2020-05-11 14:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2010-12-20 15:32:37 UTC
Version:           2.0.89 (using KDE 4.5.85) 
OS:                Linux

Quite frequently Kmail comes up with the following message:
"Conflict resolution - Two updates conflict with each other - Please choose which update(s) to apply".
Example:



Data:
Return-Path: <commitfilter@new.kstuff.org>
X-Original-To: comitfilter-kde@wege.eu
Delivered-To: mark@wege.eu
Received: from mx1.briefhansa.de (markus.endil.intern [10.2.1.27])
        by fray.racken.eu (Postfix) with ESMTP id 3E552141A4A8
        for <comitfilter-kde@wege.eu>; Mon, 20 Dec 2010 14:48:20 +0100 (CET)
Received: from markus.endil.de (markus.endil.de [83.137.102.27])
        by mx1.briefhansa.de (Postfix) with ESMTP id 3A88B4128C0D
        for <comitfilter-kde@wege.eu>; Mon, 20 Dec 2010 14:48:20 +0100 (CET)
X-Virus-Scanned: amavisd-new at mx1.briefhansa.de
Received: from mx1.briefhansa.de ([83.137.102.27])
        by markus.endil.de (mx1.briefhansa.de [83.137.102.27]) (amavisd-new, port 10024)
        with ESMTP id qsVr7LZ92Wnf for <comitfilter-kde@wege.eu>;
        Mon, 20 Dec 2010 14:48:16 +0100 (CET)
Received: from kdeget.osuosl.org (kdeget.osuosl.org [140.211.166.77])
        by mx1.briefhansa.de (Postfix) with ESMTP id 343384128C08
        for <comitfilter-kde@wege.eu>; Mon, 20 Dec 2010 14:47:55 +0100 (CET)
Received: from ktown.kde.org ([131.246.120.250])
        by kdeget.osuosl.org with smtp (Exim 4.69)
        (envelope-from <kde-commits-bounces-+commitfilter=new.kstuff.org@kde.org>)
        id 1PUg5m-0007cu-8P
        for commitfilter@new.kstuff.org; Mon, 20 Dec 2010 14:47:58 +0100
Received: (qmail 652 invoked by uid 72); 20 Dec 2010 13:47:31 -0000
Received: (qmail 372 invoked from network); 20 Dec 2010 13:47:17 -0000
Received: from unknown (HELO git.kde.org) (195.135.221.71)
        by ktown.kde.org with SMTP; 20 Dec 2010 13:47:15 -0000
Received: by git.kde.org (Postfix, from userid 1001)
        id E02E9A6092; Mon, 20 Dec 2010 14:46:41 +0100 (CET)
From: Kevin Funk <krf@electrostorm.net>
To: <kde-commits@kde.org>
Subject: [KGraphViewer/libkgraphviz] 081f0de: Move PannerPosition enum decl to
        DotGraphView
X-Commit-Directories: (0) trunk/extragear/graphics/kgraphviewer
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-Id: <20101220134641.E02E9A6092@git.kde.org>
Date: Mon, 20 Dec 2010 14:46:41 +0100 (CET)
X-BeenThere: kde-commits@kde.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: kde-commits@kde.org
List-Id: Notification of KDE commits <kde-commits.kde.org>
List-Unsubscribe: <https://mail.kde.org/mailman/listinfo/kde-commits>,
        <mailto:kde-commits-request@kde.org?subject=unsubscribe>
List-Post: <mailto:kde-commits@kde.org>
List-Help: <mailto:kde-commits-request@kde.org?subject=help>
List-Subscribe: <https://mail.kde.org/mailman/listinfo/kde-commits>,
        <mailto:kde-commits-request@kde.org?subject=subscribe>
commit 081f0de69972ecd4b306290a890b845758c5067f
branch libkgraphviz
Author: Kevin Funk <krf@electrostorm.net>
Date:   Mon Dec 20 14:13:40 2010 +0100
    Move PannerPosition enum decl to DotGraphView
    
    * This makes KGraphViewerInterface depend on KGraphViz (which is okay,
      since it is a required dependency anyway)
    * This makes KGraphViz no longer depend on KGraphViewer code
diff --git a/src/kgrapheditor.cpp b/src/kgrapheditor.cpp
index 9f261fb..32bde47 100644
--- a/src/kgrapheditor.cpp
+++ b/src/kgrapheditor.cpp
@@ -56,7 +56,6 @@
 
 #include <iostream>
 
-using namespace KGraphViewer;
 using namespace KGraphViz;
 
 KGraphEditor::KGraphEditor() :
diff --git a/src/kgraphviz/dotgraphview.cpp b/src/kgraphviz/dotgraphview.cpp
index fc2c5b7..50100ab 100644
--- a/src/kgraphviz/dotgraphview.cpp
+++ b/src/kgraphviz/dotgraphview.cpp
@@ -78,11 +78,10 @@
 
 // DotGraphView defaults
 #define DEFAULT_DETAILLEVEL 1
-#define DEFAULT_ZOOMPOS KGraphViewerInterface::Auto
+#define DEFAULT_ZOOMPOS DotGraphView::Auto
 #define KGV_MAX_PANNER_NODES 100
 
 using namespace KGraphViz;
-using namespace KGraphViewer;
 
 DotGraphViewPrivate::DotGraphViewPrivate(KActionCollection* actions, DotGraphView* parent) :
   m_labelViews(),
@@ -91,7 +90,7 @@ DotGraphViewPrivate::DotGraphViewPrivate(KActionCollection* actions, DotGraphVie
   m_isMoving(false),
   m_exporter(),
   m_zoomPosition(DEFAULT_ZOOMPOS),
-  m_lastAutoPosition(KGraphViewer::KGraphViewerInterface::TopLeft),
+  m_lastAutoPosition(DotGraphView::TopLeft),
   m_graph(0),
   m_printCommand(0),
   m_actions(actions),
@@ -215,8 +214,8 @@ void DotGraphViewPrivate::updateBirdEyeView()
   qreal y = q->height()-cvH - q->horizontalScrollBar()->height() -2;
   QPoint oldZoomPos = m_birdEyeView->pos();
   QPoint newZoomPos = QPoint(0,0);
-  KGraphViewerInterface::PannerPosition zp = m_zoomPosition;
-  if (zp == KGraphViewerInterface::Auto)
+  DotGraphView::PannerPosition zp = m_zoomPosition;
+  if (zp == DotGraphView::Auto)
   {
     QPointF tl1Pos = q->mapToScene(QPoint(0,0));
     QPointF tl2Pos = q->mapToScene(QPoint(cvW,cvH));
@@ -235,29 +234,29 @@ void DotGraphViewPrivate::updateBirdEyeView()
     zp = m_lastAutoPosition;
     switch(zp)
     {
-      case KGraphViewerInterface::TopRight:    minCols = trCols; break;
-      case KGraphViewerInterface::BottomLeft:  minCols = blCols; break;
-      case KGraphViewerInterface::BottomRight: minCols = brCols; break;
-      default:
-      case KGraphViewerInterface::TopLeft:     minCols = tlCols; break;
+      case DotGraphView::TopRight:    minCols = trCols; break;
+      case DotGraphView::BottomLeft:  minCols = blCols; break;
+      case DotGraphView::BottomRight: minCols = brCols; break;
+    default:
+      case DotGraphView::TopLeft:     minCols = tlCols; break;
     }
-    if (minCols > tlCols) { minCols = tlCols; zp = KGraphViewerInterface::TopLeft; }
-    if (minCols > trCols) { minCols = trCols; zp = KGraphViewerInterface::TopRight; }
-    if (minCols > blCols) { minCols = blCols; zp = KGraphViewerInterface::BottomLeft; }
-    if (minCols > brCols) { minCols = brCols; zp = KGraphViewerInterface::BottomRight; }
+    if (minCols > tlCols) { minCols = tlCols; zp = DotGraphView::TopLeft; }
+    if (minCols > trCols) { minCols = trCols; zp = DotGraphView::TopRight; }
+    if (minCols > blCols) { minCols = blCols; zp = DotGraphView::BottomLeft; }
+    if (minCols > brCols) { minCols = brCols; zp = DotGraphView::BottomRight; }
     
     m_lastAutoPosition = zp;
   }
   
   switch(zp)
   {
-    case KGraphViewerInterface::TopRight:
+    case DotGraphView::TopRight:
       newZoomPos = QPoint(x,0);
       break;
-    case KGraphViewerInterface::BottomLeft:
+    case DotGraphView::BottomLeft:
       newZoomPos = QPoint(0,y);
       break;
-    case KGraphViewerInterface::BottomRight:
+    case DotGraphView::BottomRight:
       newZoomPos = QPoint(x,y);
       break;
     default:
@@ -448,19 +447,19 @@ void DotGraphViewPrivate::setupPopup()
   m_bevPopup->addAction(bba);
   switch (m_zoomPosition)
   {
-    case KGraphViewerInterface::TopLeft:
+    case DotGraphView::TopLeft:
       btla->setChecked(true);
       break;
-    case KGraphViewerInterface::TopRight:
+    case DotGraphView::TopRight:
       btra->setChecked(true);
       break;
-    case KGraphViewerInterface::BottomLeft:
+    case DotGraphView::BottomLeft:
       bbla->setChecked(true);
       break;
-    case KGraphViewerInterface::BottomRight:
+    case DotGraphView::BottomRight:
       bbra->setChecked(true);
       break;
-    case KGraphViewerInterface::Auto:
+    case DotGraphView::Auto:
       bba->setChecked(true);
       break;
   }
@@ -559,7 +558,7 @@ DotGraphView::~DotGraphView()
   delete d_ptr;
 }
 
-KGraphViewerInterface::PannerPosition DotGraphView::zoomPos() const { Q_D(const DotGraphView); return d->m_zoomPosition; }
+DotGraphView::PannerPosition DotGraphView::zoomPos() const { Q_D(const DotGraphView); return d->m_zoomPosition; }
 
 double DotGraphView::zoom() const {Q_D(const DotGraphView); return d->m_zoom;}
 KSelectAction* DotGraphView::bevPopup() const {Q_D(const DotGraphView); return d->m_bevPopup;}
@@ -1224,18 +1223,22 @@ void DotGraphView::setLayoutCommand(const QString& command)
   reload();
 }
 
-KGraphViewerInterface::PannerPosition DotGraphView::zoomPos(const QString& s)
+DotGraphView::PannerPosition DotGraphView::zoomPos(const QString& s)
 {
-  KGraphViewerInterface::PannerPosition  res = DEFAULT_ZOOMPOS;
-  if (s == QString("KGraphViewerInterface::TopLeft")) res = KGraphViewerInterface::TopLeft;
-  if (s == QString("KGraphViewerInterface::TopRight")) res = KGraphViewerInterface::TopRight;
-  if (s == QString("KGraphViewerInterface::BottomLeft")) res = KGraphViewerInterface::BottomLeft;
-  if (s == QString("KGraphViewerInterface::BottomRight")) res = KGraphViewerInterface::BottomRight;
-  if (s == QString("Automatic")) res = KGraphViewerInterface::Auto;
+  PannerPosition  res = DEFAULT_ZOOMPOS;
+  if (s == QString("KGraphViewerInterface::TopLeft"))
+    res = TopLeft;
+  if (s == QString("KGraphViewerInterface::TopRight"))
+    res = TopRight;
+  if (s == QString("KGraphViewerInterface::BottomLeft"))
+    res = BottomLeft;
+  if (s == QString("KGraphViewerInterface::BottomRight"))
+    res = BottomRight;
+  if (s == QString("Automatic"))
+    res = Auto;
 
   return res;
 }
-
 void DotGraphView::setPannerEnabled(bool enabled)
 {
   Q_D(DotGraphView);
@@ -1252,21 +1255,10 @@ void DotGraphView::viewBevActivated(int newZoomPos)
   kDebug() << "Zoom position:" << newZoomPos;
   
   Q_D(DotGraphView);
-  d->m_zoomPosition = (KGraphViewerInterface::PannerPosition)newZoomPos;
   d->updateSizes();
   emit(sigViewBevActivated(newZoomPos));
 }
 
-QString DotGraphView::zoomPosString(KGraphViewerInterface::PannerPosition p)
-{
-    if (p == KGraphViewerInterface::TopRight) return QString("KGraphViewerInterface::TopRight");
-    if (p == KGraphViewerInterface::BottomLeft) return QString("KGraphViewerInterface::BottomLeft");
-    if (p == KGraphViewerInterface::BottomRight) return QString("KGraphViewerInterface::BottomRight");
-    if (p == KGraphViewerInterface::Auto) return QString("Automatic");
-
-    return QString("KGraphViewerInterface::TopLeft");
-}
-
 void DotGraphView::pageSetup()
 {
   /*
@@ -1394,27 +1386,27 @@ void DotGraphView::slotBevToggled()
 
 void DotGraphView::slotBevTopLeft()
 {
-  viewBevActivated(KGraphViewerInterface::TopLeft);
+  viewBevActivated(TopLeft);
 }
 
 void DotGraphView::slotBevTopRight()
 {
-  viewBevActivated(KGraphViewerInterface::TopRight);
+  viewBevActivated(TopRight);
 }
 
 void DotGraphView::slotBevBottomLeft()
 {
-  viewBevActivated(KGraphViewerInterface::BottomLeft);
+  viewBevActivated(BottomLeft);
 }
 
 void DotGraphView::slotBevBottomRight()
 {
-  viewBevActivated(KGraphViewerInterface::BottomRight); 
+  viewBevActivated(BottomRight);
 }
 
 void DotGraphView::slotBevAutomatic()
 {
-  viewBevActivated(KGraphViewerInterface::Auto);
+  viewBevActivated(Auto);
 }
 
 void DotGraphView::slotUpdate()
diff --git a/src/kgraphviz/dotgraphview.h b/src/kgraphviz/dotgraphview.h
index 2d944f4..7ade222 100644
--- a/src/kgraphviz/dotgraphview.h
+++ b/src/kgraphviz/dotgraphview.h
@@ -29,8 +29,6 @@
 
 #include "kgraphviz_export.h"
 
-#include "shared/kgraphviewer_interface.h"
-
 #include <QGraphicsView>
 
 class Agraph_t;
@@ -60,20 +58,21 @@ class KGRAPHVIZ_EXPORT DotGraphView : public QGraphicsView
 
 public:
   enum EditingMode { None, AddNewElement, AddNewEdge, DrawNewEdge, SelectingElements };
+  enum PannerPosition { TopLeft, TopRight, BottomLeft, BottomRight, Auto };
   enum ScrollDirection { Here, Left, Right, Top, Bottom };
   
   explicit DotGraphView(KActionCollection* actions, QWidget* parent=0);
   virtual ~DotGraphView();
 
+    //TODO: rename zoomPos -> bev / panner, but _please_ make it consistent...
+  DotGraphView::PannerPosition zoomPos() const;
+  static DotGraphView::PannerPosition zoomPos(const QString&);
+  static QString zoomPosString(DotGraphView::PannerPosition);
+
   bool loadDot(const QString& dotFileName);
   bool loadLibrary(const QString& dotFileName);
   bool loadLibrary(Agraph_t* graph, const QString& layoutCommand = "dot");
 
-  //TODO: rename zoomPos -> bev / panner, but _please_ make it consistent...
-  KGraphViewer::KGraphViewerInterface::PannerPosition zoomPos() const;
-  static KGraphViewer::KGraphViewerInterface::PannerPosition zoomPos(const QString&);
-  static QString zoomPosString(KGraphViewer::KGraphViewerInterface::PannerPosition);
-
   virtual void wheelEvent(QWheelEvent* e);
 
   /// multiplies current zoom factor with @p factor
diff --git a/src/kgraphviz/dotgraphview_p.h b/src/kgraphviz/dotgraphview_p.h
index d269790..7a72f18 100644
--- a/src/kgraphviz/dotgraphview_p.h
+++ b/src/kgraphviz/dotgraphview_p.h
@@ -26,6 +26,7 @@
 #include "support/loadagraphthread.h"
 #include "support/layoutagraphthread.h"
 
+#include <QMap>
 #include <QSet>
 
 class QMenu;
@@ -68,7 +69,7 @@ public:
   GraphExporter m_exporter;
 
   // widget options
-  KGraphViewer::KGraphViewerInterface::PannerPosition m_zoomPosition, m_lastAutoPosition;
+  DotGraphView::PannerPosition m_zoomPosition, m_lastAutoPosition;
 
   DotGraph* m_graph;
 
diff --git a/src/part/kgraphviewer_part.cpp b/src/part/kgraphviewer_part.cpp
index 50a123f..d01edfc 100644
--- a/src/part/kgraphviewer_part.cpp
+++ b/src/part/kgraphviewer_part.cpp
@@ -384,7 +384,7 @@ void KGraphViewerPart::setLayoutCommand(const QString& command)
   d->m_widget->setLayoutCommand(command);
 }
 
-void KGraphViewerPart::setPannerPosition(KGraphViewerInterface::PannerPosition position)
+void KGraphViewerPart::setPannerPosition(KGraphViz::DotGraphView::PannerPosition position)
 {
   d->m_widget->viewBevActivated(position);
 }
diff --git a/src/part/kgraphviewer_part.h b/src/part/kgraphviewer_part.h
index ce3f49f..4e2f326 100644
--- a/src/part/kgraphviewer_part.h
+++ b/src/part/kgraphviewer_part.h
@@ -21,6 +21,8 @@
 
 #include "shared/kgraphviewer_interface.h"
 
+#include <kgraphviz/dotgraphview.h>
+
 #include <kparts/part.h>
 #include <kparts/genericfactory.h>
 
@@ -56,7 +58,7 @@ public:
     virtual void centerOnNode(const QString& nodeId);
     virtual void selectNode(const QString& nodeId);
     virtual void setLayoutCommand(const QString& command);
-    virtual void setPannerPosition(PannerPosition position);
+    virtual void setPannerPosition(KGraphViz::DotGraphView::PannerPosition position);
     virtual void setPannerEnabled(bool enabled);
     virtual void zoomBy(double factor);
     virtual void setZoomFactor(double factor);
diff --git a/src/shared/kgraphviewer_interface.h b/src/shared/kgraphviewer_interface.h
index 358b06b..2095318 100644
--- a/src/shared/kgraphviewer_interface.h
+++ b/src/shared/kgraphviewer_interface.h
@@ -19,6 +19,8 @@
 #ifndef KGRAPHVIEWER_INTERFACE_H
 #define KGRAPHVIEWER_INTERFACE_H
 
+#include <kgraphviz/dotgraphview.h>
+
 #include <QtCore/QObject>
 #include <QtCore/QMap>
 #include <QtGui/QCursor>
@@ -84,8 +86,7 @@ public:
   virtual void zoomBy(double factor) = 0;
   virtual void setZoomFactor(double factor) = 0;
 
-  enum PannerPosition { TopLeft, TopRight, BottomLeft, BottomRight, Auto };
-  virtual void setPannerPosition(PannerPosition position) = 0;
+  virtual void setPannerPosition(KGraphViz::DotGraphView::PannerPosition position) = 0;
   virtual void setPannerEnabled(bool enabled) = 0;
 
   virtual void setLayoutCommand(const QString& command) = 0;

Modification Time:
20.12.2010 15:23:16
Flags:
\SEEN


Reproducible: Didn't try


Actual Results:  
Kmail asked me to choose which update I want to keep or if I want to keep both. I always keep booth, because I do not have any clue why this message appears anyway and which message would be better.

Expected Results:  
a) Kmail not having this problems in the first place. I have no idea, why they appear. I have only one mail programme running, so where do these different changes come from?
b) If for some reason it can not be avoided that Kmail has this conflicts, Kmail itself should make a reasonable choice for me automatically -> I assume this would always to keep both.
c) At least have a "[ ] always use this solution."

OS: Linux (i686) release 2.6.37-7-generic-pae
Compiler: cc
Comment 1 m.wege 2010-12-22 13:24:37 UTC
I also sometimes have this short ones:

"Modification Time:
 00:00:00

22.12.2010 12:15:20
Attribute: MDNStateAttribute:
I"
which do not have much meaning to me at all. One guess I have that it has something to do with (bug already reported) Kmail taking a really long time to mark a mail as read or not being able to do this at all and a filter triggered or manuall conducted move of that mail to another folder.
Comment 2 Tobias Koenig 2010-12-31 13:24:45 UTC
Hej,

does it still happen with git/master?
The known conflicts should all be fixed there.

Ciao,
Tobias
Comment 3 Hussam Al-Tayeb 2011-06-11 11:24:32 UTC
I get those messages with kmail 2.1.0 from kde 4.6.4
It can get annoying to get a dialog message for every single email I get.
Comment 4 Hussam Al-Tayeb 2011-06-11 12:20:55 UTC
If I remove the bogofilter filters the bug doesn't happen.
Comment 5 Hussam Al-Tayeb 2011-06-11 12:23:14 UTC
kmail doesn't complain about:

Return-Path: <bugzilla_noreply@kde.org>
Delivered-To: hussam@visp.net.lb
Received: by hosting.visp.net.lb (Postfix, from userid 65534)
	id 6928B1A42FF; Sat, 11 Jun 2011 13:21:06 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on vmail
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=8.0 tests=RCVD_IN_DNSWL_MED,
	T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
X-Greylist: greylisting inactive for hussam@visp.net.lb in SQLgrey-1.7.6
Received: from immanuel.kde.org (immanuel.kde.org [138.246.255.177])
	by hosting.visp.net.lb (Postfix) with ESMTP id F2C8C1A42FA
	for <hussam@visp.net.lb>; Sat, 11 Jun 2011 13:20:59 +0300 (EEST)
Received: by immanuel.kde.org (Postfix, from userid 30)
	id 64CAD8A7B3; Sat, 11 Jun 2011 12:20:58 +0200 (CEST)
From: Hussam Al-Tayeb <hussam@visp.net.lb>
Sender: bugzilla_noreply@kde.org
To: hussam@visp.net.lb
Reply-To: bug-control@bugs.kde.org
List-Post: <mailto:bug-control@bugs.kde.org>
Subject: [Bug 260800] two updates conflict with each other / do not know what
 to do
X-Bugzilla-URL: http://bugs.kde.org/ 
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: kmail2
X-Bugzilla-Component: general
X-Bugzilla-Keywords: usability
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hussam@visp.net.lb
X-Bugzilla-Status: NEEDSINFO
X-Bugzilla-Priority: NOR
X-Bugzilla-Assigned-To: kdepim-bugs@kde.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
In-Reply-To: <bug-260800-52420@http.bugs.kde.org/>
References: <bug-260800-52420@http.bugs.kde.org/>
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-Id: <20110611102058.64CAD8A7B3@immanuel.kde.org>
Date: Sat, 11 Jun 2011 12:20:58 +0200 (CEST)

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





--- Comment #4 from Hussam Al-Tayeb <hussam visp net lb>  2011-06-11 12:20:55 ---
If I remove the bogofilter filters the bug doesn't happen.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Comment 6 Hussam Al-Tayeb 2011-06-11 12:26:48 UTC
but if I add bogofilter filtering, I get the conflict:




 

Data:
Return-Path: <bugzilla_noreply@kde.org>
Delivered-To: hussam@visp.net.lb
Received: by hosting.visp.net.lb (Postfix, from userid 65534)
        id 84A8D1A42FF; Sat, 11 Jun 2011 13:24:24 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on vmail
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=8.0 tests=RCVD_IN_DNSWL_MED,
        T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
X-Greylist: greylisting inactive for hussam@visp.net.lb in SQLgrey-1.7.6
Received: from immanuel.kde.org (immanuel.kde.org [138.246.255.177])
        by hosting.visp.net.lb (Postfix) with ESMTP id 32DAC1A42EA
        for <hussam@visp.net.lb>; Sat, 11 Jun 2011 13:24:17 +0300 (EEST)
Received: by immanuel.kde.org (Postfix, from userid 30)
        id A77548A7AC; Sat, 11 Jun 2011 12:24:15 +0200 (CEST)
From: Hussam Al-Tayeb <hussam@visp.net.lb>
Sender: bugzilla_noreply@kde.org
To: hussam@visp.net.lb
Reply-To: bug-control@bugs.kde.org
List-Post: <mailto:bug-control@bugs.kde.org>
Subject: [Bug 260800] two updates conflict with each other / do not know what
 to do
X-Bugzilla-URL: http://bugs.kde.org/ 
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: kmail2
X-Bugzilla-Component: general
X-Bugzilla-Keywords: usability
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hussam@visp.net.lb
X-Bugzilla-Status: NEEDSINFO
X-Bugzilla-Priority: NOR
X-Bugzilla-Assigned-To: kdepim-bugs@kde.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
In-Reply-To: <bug-260800-52420@http.bugs.kde.org/>
References: <bug-260800-52420@http.bugs.kde.org/>
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-Id: <20110611102415.A77548A7AC@immanuel.kde.org>
Date: Sat, 11 Jun 2011 12:24:15 +0200 (CEST)
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.501026, version=1.2.2
https://bugs.kde.org/show_bug.cgi?id=260800





--- Comment #5 from Hussam Al-Tayeb <hussam visp net lb>  2011-06-11 12:23:14 ---
kmail doesn't complain about:
Return-Path: <bugzilla_noreply@kde.org>
Delivered-To: hussam@visp.net.lb
Received: by hosting.visp.net.lb (Postfix, from userid 65534)
    id 6928B1A42FF; Sat, 11 Jun 2011 13:21:06 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on vmail
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=8.0 tests=RCVD_IN_DNSWL_MED,
    T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
X-Greylist: greylisting inactive for hussam@visp.net.lb in SQLgrey-1.7.6
Received: from immanuel.kde.org (immanuel.kde.org [138.246.255.177])
    by hosting.visp.net.lb (Postfix) with ESMTP id F2C8C1A42FA
    for <hussam@visp.net.lb>; Sat, 11 Jun 2011 13:20:59 +0300 (EEST)
Received: by immanuel.kde.org (Postfix, from userid 30)
    id 64CAD8A7B3; Sat, 11 Jun 2011 12:20:58 +0200 (CEST)
From: Hussam Al-Tayeb <hussam@visp.net.lb>
Sender: bugzilla_noreply@kde.org
To: hussam@visp.net.lb
Reply-To: bug-control@bugs.kde.org
List-Post: <mailto:bug-control@bugs.kde.org>
Subject: [Bug 260800] two updates conflict with each other / do not know what
 to do
X-Bugzilla-URL: http://bugs.kde.org/ 
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: kmail2
X-Bugzilla-Component: general
X-Bugzilla-Keywords: usability
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hussam@visp.net.lb
X-Bugzilla-Status: NEEDSINFO
X-Bugzilla-Priority: NOR
X-Bugzilla-Assigned-To: kdepim-bugs@kde.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
In-Reply-To: <bug-260800-52420@http.bugs.kde.org/>
References: <bug-260800-52420@http.bugs.kde.org/>
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-Id: <20110611102058.64CAD8A7B3@immanuel.kde.org>
Date: Sat, 11 Jun 2011 12:20:58 +0200 (CEST)
https://bugs.kde.org/show_bug.cgi?id=260800





--- Comment #4 from Hussam Al-Tayeb <hussam visp net lb>  2011-06-11 12:20:55
---
If I remove the bogofilter filters the bug doesn't happen.
-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Return-Path: <bugzilla_noreply@kde.org>
Delivered-To: hussam@visp.net.lb
Received: by hosting.visp.net.lb (Postfix, from userid 65534)
        id 84A8D1A42FF; Sat, 11 Jun 2011 13:24:24 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on vmail
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=8.0 tests=RCVD_IN_DNSWL_MED,
        T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
X-Greylist: greylisting inactive for hussam@visp.net.lb in SQLgrey-1.7.6
Received: from immanuel.kde.org (immanuel.kde.org [138.246.255.177])
        by hosting.visp.net.lb (Postfix) with ESMTP id 32DAC1A42EA
        for <hussam@visp.net.lb>; Sat, 11 Jun 2011 13:24:17 +0300 (EEST)
Received: by immanuel.kde.org (Postfix, from userid 30)
        id A77548A7AC; Sat, 11 Jun 2011 12:24:15 +0200 (CEST)
From: Hussam Al-Tayeb <hussam@visp.net.lb>
Sender: bugzilla_noreply@kde.org
To: hussam@visp.net.lb
Reply-To: bug-control@bugs.kde.org
List-Post: <mailto:bug-control@bugs.kde.org>
Subject: [Bug 260800] two updates conflict with each other / do not know what
 to do
X-Bugzilla-URL: http://bugs.kde.org/ 
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: kmail2
X-Bugzilla-Component: general
X-Bugzilla-Keywords: usability
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hussam@visp.net.lb
X-Bugzilla-Status: NEEDSINFO
X-Bugzilla-Priority: NOR
X-Bugzilla-Assigned-To: kdepim-bugs@kde.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
In-Reply-To: <bug-260800-52420@http.bugs.kde.org/>
References: <bug-260800-52420@http.bugs.kde.org/>
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-Id: <20110611102415.A77548A7AC@immanuel.kde.org>
Date: Sat, 11 Jun 2011 12:24:15 +0200 (CEST)
https://bugs.kde.org/show_bug.cgi?id=260800





--- Comment #5 from Hussam Al-Tayeb <hussam visp net lb>  2011-06-11 12:23:14 ---
kmail doesn't complain about:
Return-Path: <bugzilla_noreply@kde.org>
Delivered-To: hussam@visp.net.lb
Received: by hosting.visp.net.lb (Postfix, from userid 65534)
    id 6928B1A42FF; Sat, 11 Jun 2011 13:21:06 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on vmail
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=8.0 tests=RCVD_IN_DNSWL_MED,
    T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
X-Greylist: greylisting inactive for hussam@visp.net.lb in SQLgrey-1.7.6
Received: from immanuel.kde.org (immanuel.kde.org [138.246.255.177])
    by hosting.visp.net.lb (Postfix) with ESMTP id F2C8C1A42FA
    for <hussam@visp.net.lb>; Sat, 11 Jun 2011 13:20:59 +0300 (EEST)
Received: by immanuel.kde.org (Postfix, from userid 30)
    id 64CAD8A7B3; Sat, 11 Jun 2011 12:20:58 +0200 (CEST)
From: Hussam Al-Tayeb <hussam@visp.net.lb>
Sender: bugzilla_noreply@kde.org
To: hussam@visp.net.lb
Reply-To: bug-control@bugs.kde.org
List-Post: <mailto:bug-control@bugs.kde.org>
Subject: [Bug 260800] two updates conflict with each other / do not know what
 to do
X-Bugzilla-URL: http://bugs.kde.org/ 
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: kmail2
X-Bugzilla-Component: general
X-Bugzilla-Keywords: usability
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hussam@visp.net.lb
X-Bugzilla-Status: NEEDSINFO
X-Bugzilla-Priority: NOR
X-Bugzilla-Assigned-To: kdepim-bugs@kde.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
In-Reply-To: <bug-260800-52420@http.bugs.kde.org/>
References: <bug-260800-52420@http.bugs.kde.org/>
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-Id: <20110611102058.64CAD8A7B3@immanuel.kde.org>
Date: Sat, 11 Jun 2011 12:20:58 +0200 (CEST)
https://bugs.kde.org/show_bug.cgi?id=260800





--- Comment #4 from Hussam Al-Tayeb <hussam visp net lb>  2011-06-11 12:20:55
---
If I remove the bogofilter filters the bug doesn't happen.
-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Comment 7 Hussam Al-Tayeb 2011-06-11 17:39:05 UTC
ok, I found out what is happening here

if my ISPs server attaches a line to this email (they use spamassassin)
X-Spam-Level: *
then kmail also uses bogofilter to check if this spam or not, the the conflict message shows.

If I set my ISPs email account to not send 
X-Spam-Level: *
then the conflict message doesn't show.
Comment 8 Hussam Al-Tayeb 2011-06-12 16:23:05 UTC
Also when kmail adds this
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=1.2.2
it makes kmail confused and I get an option of two emails.
one with that header and one without it.
Comment 9 Thomas Capricelli 2011-06-14 13:12:05 UTC
Hi. i'm getting flooded too, using kde 4.6.4
The kmail version is 4.6.0(gentoo version) or 2.1.0(as displayed in about box).

Reading all comments, i think i should provide the following details about my configuration:
* i use imap, not disconnected
* this is the only computer connected to this imap account
* i dont use kmail-based filtering/bogofilter/whatever.
* 99% of the mails triggering the problem are not pgp signed or crypted
* i do use spamassassin on the server, so i have lines like X-Spam-Level: and such

And my problem: each time i delete a mail, i got not one, but two 'update conflict' resolution box. The first one show modification time (00:00:00 on the left), Attribute and MDNStateAttribute. The second one show lot of text that look like headers+contents from mail.
Comment 10 Thomas McGuire 2011-06-14 13:31:47 UTC

*** This bug has been marked as a duplicate of bug 259574 ***
Comment 11 Hussam Al-Tayeb 2020-05-11 14:19:18 UTC
(In reply to Hussam Al-Tayeb from comment #8)
> Also when kmail adds this
> X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=1.2.2
> it makes kmail confused and I get an option of two emails.
> one with that header and one without it.

Thank you KDE developers.
Posting this as proof of ownership of this bug account from ht990332@gmx.com
for a Canonical launchpad account verification.
Sorry in advance for the spam.