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

List:       kde-pim
Subject:    Re: [Kde-pim] smart folder / search on unread emails
From:       Ingo =?iso-8859-15?q?Kl=F6cker?= <kloecker () kde ! org>
Date:       2012-03-07 21:45:45
Message-ID: 201203072245.45648 () thufir ! ingo-kloecker ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 28 February 2012, Milian Wolff wrote:
> Hey there,
> 
> I just wanted to try the potentially awesome new search features to
> finally get a smart folder that shows all my unread emails... Well
> it "works" but the behavior is really bad:
> 
> - you select some unread email in the smart folder to read it
> - it gets marked as read
> - the search gets updated
> - since the mail is not unread anymore, it gets removed from the
> smart folder - kmail selects the next email
> - repeat from above
> 
> hence, selecting such a folder is like "mark all new email as read"
> which is of course not what I want :]
> 
> But how could this be fixed? Any ideas? I'd be willing to invest some
> time on this, but quite frankly wonder how this should be done.
> Andras told me there is a similar bug when you apply a folder-filter
> on unread emails.
> 
> My use-case could be "solved" by different ways, e.g.:
> 
> - never mark emails as read in search folders that search for unread
> emails
> - only update the search folder after the mail is de-selected
> - ...?

- do not remove any items from the model (unless they are deleted); only 
add items (i.e. new incoming mail); update the model/search folder on 
explicit refresh only (F5 or change of folder)

FWIW, the latter is more or less how KMail 1 behaves if you filter the 
view by Unread or New except that KMail 1. This is special-cased for 
Unread/New in KMail 1. Marking/unmarking a message as Important or 
Action Item causes an immediate update of the filtered view.


Regards,
Ingo

["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

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

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