[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1357: incorrect behaviour of right mouse button in headers list
From:       Daniel Naber <dnaber () mini ! gt ! owl ! de>
Date:       1999-05-11 22:12:06
[Download RAW message or body]

Package: kmail
Version: 1.0.21

If you select more than one message in the message list and then
press the right mouse button, all but one messages will be deselected.
This should only be the case if RMB is pressed over a non-selected
message. This way you canīt, e.g., delete several messages at once
using the context menu.

This seems to fix it:

--- kmail_org/kmheaders.cpp	Mon Apr 26 16:50:00 1999
+++ kmail/kmheaders.cpp	Sun May  9 14:51:47 1999
@@ -977,8 +977,10 @@
 void KMHeaders::slotRMB(int idx, int colId)
 {
   
-  highlightMessage(idx, colId);
-  setCurrentItem(idx);
+  if( ! isMarked(idx) ) {
+    highlightMessage(idx, colId);
+    setCurrentItem(idx);
+  }
 
   if (!topLevelWidget()) return; // safe bet

-- 
PGP Key fingerprint = 3D 98 9E D2 00 B6 E0 9D  7E B9 77 23 17 E2 11 6A

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic