Kmail filters are broken with IMAP

Bug #116593 reported by Kåre Särs
20
Affects Status Importance Assigned to Milestone
KDE PIM
Fix Released
Medium
kdepim (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Gutsy by Henrik Nilsen Omma

Bug Description

Binary package hint: kmail

Filtering is broken on IMAP in KMail (KDE 3.5.7 Feisty).

The filter works if you filter the mails one by one, but if more are selected only the first one will be filtered and the rest will stay with strike through lines.

There is discussion on the kde-pim list about the bug:
http://lists.kde.org/?l=kde-pim&m=117995984227153&w=2

(seems to be fixed upstreams)

Regards,
Kåre

Revision history for this message
Hurl (hurl) wrote :

I can confirm the bug here with online imap account (didn't tested with offline imap) after upgrading to KDE 3.5.7 in Feisty (worked fine with 3.5.6).
Now filters do not apply automatically to incoming mail too.

Also kmail crash when filtering mails manually one by one too quickly (pressing Ctrl+J without waiting that the mail is sent to another folder and disappears from the current view).
Don't know if it is related to the main problem.

Sorry for my english and if this comment is redundant with others on bugs.kde.org

Regards

Revision history for this message
mmezo (mmezo) wrote :

I wanted to link the upstream bug, but it seems launchpad is broken at the moment:

There is one bug directly related to this one that has been closed as a duplicate of another. In it it clearly states that 3.5.6 worked and 3.5.7 doesn't (which I think is this and also my case).
http://bugs.kde.org/show_bug.cgi?id=145819

The more general one (that predates to kde 3.5.2 at least) and states that imap filters "sometimes" work and sometimes don't:
http://bugs.kde.org/show_bug.cgi?id=126182

Revision history for this message
Rich Johnson (nixternal) wrote :

Confirming and attaching upstream report(s). Thanks!

Changed in kdepim:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in kdepim:
status: Unknown → Rejected
Revision history for this message
Rich Johnson (nixternal) wrote :

switching upstream bug number due to it being a duplicate of another.

Changed in kdepim:
status: Unknown → Confirmed
Revision history for this message
Kåre Särs (kare-sars) wrote :

I have done a temporary fix for the problem by reverting r650963 (hint from upstreams bug reports..)

Attached is the patch I used.

I also made a .deb of it, that can be found at:
http://www.kolumbus.fi/kare.sars/kmail_3.5.7-0ubuntu1~feisty1.2_i386.deb
(It also includes a system tray behavior fix for KMail to follow the system tray "standard" behavior.)

Regards,
Kåre

Revision history for this message
Seva (seva-tm) wrote :

Kåre,

Can you please provide a package for x86_64? Or give directions how to apply the patch? I'm not familiar with KDE development.

Thanks in advance!

Revision history for this message
Kåre Särs (kare-sars) wrote :

I don't have a 64bit CPU so here is a short command list for patching and building a .deb (you might need to install development packages):
-------------------
apt-get source kmail
cd kdepim-3.5.7
cdbs-edit-patch somename_01_revert_650963
patch -p1 -i /path/to/revert_650963.patch
exit
dch -i
debuild -us -uc
----------
Hope this helps. I'm also attaching my deb patching lazydog.

Changed in kdepim:
status: Confirmed → Fix Released
Revision history for this message
Daniel Hahler (blueyed) wrote :

This should be fixed in Hardy. Thank you.

Changed in kdepim:
status: Confirmed → Fix Released
Changed in kdepim:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.