After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 223985 - rewrite vFolder, UNMATCHED folder.
rewrite vFolder, UNMATCHED folder.
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
unspecified
Other All
: Normal enhancement
: Future
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[vfolders]
: 222824 224308 (view as bug list)
Depends on: 301268 556116
Blocks: 213775 215457 216590 220051 220894 221373 222824 223037 224269 224517 261413 261888 337336
 
 
Reported: 2002-04-29 06:08 UTC by Not Zed
Modified: 2012-05-31 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Not Zed 2002-04-29 06:08:46 UTC
The UNMATCHED folder has a bunch of problems, it should probably be rewritten.

Currently it works as part of all vfolders, it should probably just be a
separate folder implementation, which would simplify the vfolder code
considerably.  And make things easier to fix.

Using as a tracking bug for major vfolder problems.
Comment 1 Gerardo Marin 2002-05-06 22:37:22 UTC
*** bug 224308 has been marked as a duplicate of this bug. ***
Comment 2 Gerardo Marin 2002-05-07 15:45:22 UTC
*** bug 222824 has been marked as a duplicate of this bug. ***
Comment 3 Not Zed 2002-06-03 14:38:29 UTC
Had an idea on this.

 - vfolder adds a couple of virtual methods, like add_folder.
 - unmatched subclasses vfolder and overrides these.
 - vfolders become simple queries with no unmatched processing,
greatly simplifying the code
 - every time a folder is added to a vfolder, it also adds it to the
unmatched folder
 - the unmatched folder listens to changed events on every real and
virtual folder on which every vfolder is based.
 - it then does the magic with these events, somehow :)

Keep two tables:
 - uids in source folders + counts of occurance in vfolders.

calculating unmatched is then trivial, and trivial to update
incrementally.

Comment 4 Not Zed 2004-10-05 10:24:06 UTC
hmm, not 2.0.2 material
Comment 5 André Klapper 2005-02-09 17:48:33 UTC
adding "vfolders" keyword
Comment 6 André Klapper 2005-11-25 00:11:05 UTC
reassigning stuff that has been assigned to notzed. goodbye, dude. :-/
Comment 7 Milan Crha 2012-05-31 10:14:39 UTC
I did significant vFolder changes for 3.5.2, together with added ability to disable Unmatched folder (popup menu on "Search Folders" node in the mailer view's folder tree) and folders can also be marked to "auto-update" - it's available for Unmatched folder currently only, as the regular search folders require change in rule editor.

I consider this bug fixed.