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

List:       kmail-devel
Subject:    Re: ad-hoc filter preview pane problem
From:       Don Sanders <sanders () kde ! org>
Date:       2004-07-30 7:29:48
Message-ID: 200407301729.52316.sanders () kde ! org
[Download RAW message or body]

On Friday 30 July 2004 00:49, Andreas Gungl wrote:
> Hi,
>
> as long as ad-hoc filters exist we have the problem described in
> http://bugs.kde.org/show_bug.cgi?id=75517 which is getting quite
> serious as we roll out the anti spam wizard. The wizard generates
> ad-hoc filters and creates toolbar buttons to access these filters.
>
> Don, you introduced the ad-hoc filters. Do you see a way to fix the
> problem until 3.3? I can try to help if you can provide me an idea
> about what might be the reason for the problem or where to start
> analyzing.

Maybe this is a simple regression, something like the attached patch 
might fix it ok.

Don.

["diff" (text/x-diff)]

Index: kmcommands.cpp
===================================================================
RCS file: /home/kde/kdepim/kmail/kmcommands.cpp,v
retrieving revision 1.159
diff -d -u -p -r1.159 kmcommands.cpp
--- kmcommands.cpp	7 Jul 2004 16:53:40 -0000	1.159
+++ kmcommands.cpp	30 Jul 2004 07:29:08 -0000
@@ -1424,6 +1424,9 @@ void KMMetaFilterActionCommand::start()
   *mHeaders->selectedMsgs(), mFilter);
   filterCommand->start();
 #endif
+  int x, y;
+  KMHeaderItem *item = mHeaders->prepareMove( &x, &y );
+  mHeaders->finalizeMove( item, x, y );
 }
 
 


_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


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

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