Ability for saved searches/virtual folders to automatically process new sub-folders

NEW
Unassigned

Status

Thunderbird
Mail Window Front End
--
enhancement
10 years ago
a month ago

People

(Reporter: David Sitsky, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: 2.0.0.0 (20070326)

I have a "projects" IMAP folder, where I create a new sub-folder for each "project" which I am working on.  In a typical day, I might create 10 new projects, and remove 10 old ones.

I have been using the new tags facility to mark messages with a "Waiting For" tag, so that if I am expecting a reply from somebody in order to complete a project, I have a record of it.

Using the "save as search folder" functionality, I can display all my emails with the tag "Waiting For" and this works quite well.  However, as I create new projects, and therefore new IMAP sub-folders, messages marked as "Waiting For" won't be picked up in the "Waiting For" search folder - I have to explicitly edit the search folder and select the new sub-folders each time they are created, which is a major inconvenience.

Other people have mentioned this too: http://www.flippingheck.com/index.asp?searchTerm=Thunderbird#CommentPlace590.

Unless I am missing something - it would be great when you create a search folder to have an option, such as "automatically apply search over all subfolders", or something to that effect.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

Comment 1

10 years ago
Confirming RFE.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Ability for search folders to automatically process new sub-folders → Ability for saved searches/virtual folders to automatically process new sub-folders

Updated

10 years ago
Duplicate of this bug: 286059

Comment 3

9 years ago
This seems to be true also for "Local Folder" -- not only IMAP folders.

'New' folders to "Local Folder" are ONLY included with the previous configured virtual if one add manually that 'new' folder using the menu.

Updated

9 years ago
Assignee: mscott → nobody

Comment 4

9 years ago
I strongly agree that TB needs this feature.  It is very important to keep adding features like this that make it easier to organize the huge amounts of email we all get and need to use as part of our To Do lists.

I don't use IMAP folders, but this feature needs to work for regular folders too.  This other issue describes the feature request a little better than the earlier descriptions in this issue, I think:  

https://bugzilla.mozilla.org/show_bug.cgi?id=370682

Updated

9 years ago
Duplicate of this bug: 464003
Duplicate of this bug: 352737
Duplicate of this bug: 505947

Updated

8 years ago
Duplicate of this bug: 507357
Duplicate of this bug: 518289
Component: General → Mail Window Front End
QA Contact: general → front-end
Duplicate of this bug: 540661

Comment 11

7 years ago
It's been more than three years that this bug (please don't call it "enhancement") is here. What about a resolution?
This behaviour lets waste a lot of time managing all the saved search folders.
It's so difficult and time consuming making this one?

Thanks.
eV

Comment 12

7 years ago
I do agree with the previous commenter, this is a bug.
Tired of losing too much time adding every single new folder, I've developed an extension, named SavedSearchThemAll.
Check it out: http://micz.it/thunderdbird-extension-savedsearchthemall/

(please, read the warnings on the page)

Updated

6 years ago
Duplicate of this bug: 679585

Updated

6 years ago
Duplicate of this bug: 541323

Comment 15

5 years ago
Please fix this since it is essential when one uses the archive feature.

Comment 16

5 years ago
Mic's add-on didn't make it for me, so I made my own, which does exactly what the OP wants.
Check https://addons.mozilla.org/fr/thunderbird/addon/savedsearchinsubfolders ,
or https://github.com/ju1ius/SavedSearchInSubFolders for freshest code.

Comment 17

5 years ago
Hello.

I had posted here a more general description within a context that looks like the typical interest of having Saved Searches:
http://forums.mozillazine.org/viewtopic.php?f=31&t=2457743

The general issue is that a Saved Search records the resulting list of folders at the time it is created, then ignores subsequent changes in the searched tree: creating/moving/renaming subfolders. 
As a consequence the search lies as it is incomplete.

After any such change, all Saved searches have to be updated manually by finding and ticking the checkboxes in the (usually huge) folder list for each of them (with a long response delay) what is a pain.

There is another add-on intended to do it, but it is quite unusable as explained.
I did not try Jules' one yet, I will. But will an add-on keep compatible forever ?

Anyway I can hardly figure how to take advantage of the Saved Searches if they keep unsafe this way.

**** I suggest this solution: ****

1) A Saved Search should record the specification of the search (maybe in addition to the list of resulting folders), and this list should be automatically rebuilt from that when the Search is first reused after any change in the folder tree.

2) In case someone could need to keep compatible with the current behavior (Search frozen to the initial list), this rebuild could itself be an option of the Search.

Doing so reuses most of the existing features, with just a new triggering case, but it will keep the Saved Searches accurate.

Thanks for considering this evolution.
Best regards.

Zener (on Thunderbird 10.0.2)

Comment 18

5 years ago
(In reply to Mic from comment #12)

Hello Mic.

> Tired of losing too much time adding every single new folder, I've developed
> an extension, named SavedSearchThemAll.

Thanks for this work and sorry I had to say "SSTA is quite unusable", but actually when I tried v.1.1, it blindly added everything to all searches, including the dustbin, accounts, archives, and even the root of the searches itself ! 
Then I had to fix all that by hand, it was actually worse.

Please consider the suggestion done of adding only subfolders of a subfolder already checked, and nothing of the first level anyway.

Best regards.

Comment 19

5 years ago
(In reply to Zener131 from comment #18)

Hello Zener,

I understand your point and I hope to add that feature soon.
I use this addon everyday, but clearly I have a setup different from your one (I have only one account and no archives and my saved folders search on all folders).
I've filed a bug on github to remove all the special folders.
Thanks for your feedback, I hope to release the version 1.2 not too late.

Regards,

Mic

Comment 20

5 years ago
(In reply to Zener131 from comment #18)

Hi. As stated in my comment #16, I've made an addon that does exactly what you want.
Why don't you give it a try ?

Comment 21

5 years ago
Hi Jules.

Hmmm... (very annoyed). Actually I did try the version of your first link yesterday. 

Once installed and restarted, my TB emptied its Saved Search folder then nothing more.

Then, after some tenths seconds, still no result, and when I opened the folder list in the property boxes to see the result, they had been all completely unchecked...

Is there a special precaution or restriction to use it ?  (TB ESR 10.0.2)

Best regards.

Comment 22

5 years ago
(In reply to Zener131 from comment #21)

Annoying indeed...
Can you take the time to file a bug on github and provide me some debugging information ?
Like the output of your error console ?
I'll be glad tp try and fix your issue.

Cheers.

Comment 23

5 years ago
(In reply to jules.bernable from comment #22)

Hi Jules.

I'm sorry but I hesitated to take risks with my email database... 
In the console (no timestamp) I have 3 times this error, it must be the one:

Erreur : uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/search.xml ::  :: line 156"  data: no]

Since I did not experiment more than what I describe in comment #21, this is not worth filing a valid bug description.
Actually I did quite nothing: I installed, checked the unique option, and let it (attempt to) update 6 existing searches... Just one more info: my searches use advanced options from FiltaQuilla v.1.2.0: on tag criteria notably.

Best regards.
Zener

Comment 24

5 years ago
I released version 1.2 of SavedSearchThemAll with only-subfolders capabilities.
It's still not reviewed, but you can download it from here: https://addons.mozilla.org/it/thunderbird/addon/savedsearchthemall/versions/

Remeber to set the only-subfolders option before using it (there is the preference button in the addons page inside thunderbird to access the addon options).

Thanks to Zener for his help in testing it.

Comment 25

5 years ago
Hi Mic,

Tested SavedSearchThemAll 1.2 and it worked for me, I have chosen three random folder in my mailbox which had a lot of subfolders and refreshed subfolders by command. It updated all subfolders correctly. This is exactly what I was looking for.

Thanks a lot for the addon update
Phil

Comment 26

5 years ago
savedSearchThemall Version 1.2 has been fully reviewed: https://addons.mozilla.org/thunderbird/addon/savedsearchthemall/

Comment 27

4 years ago
Wayne Mery, the URL you added is for an addon not compatible with Thunderbird 24, I think you should add the addon linked in comment 26, that seems mantained at the moment.

Comment 28

a month ago
Hi,

This enhancement request has been around for a quite a long time now. After reviewing bug reports on saved searches I can see that there are similar requests still going on ([1], [2]).

I missed this functionality some years ago, when I started using Thunderbird, and now it would ease a lot my daily work. The add-ons provided so far either don't work for the latest Thunderbird releases or require manual intervention to update the saved searches. Anyway, I consider this feature too important to rely on add-ons, so I think that it should be part of the core implementation of saved searches.

Is there any particular problem blocking this feature? Or it is just outside the Thunderbird road-map?

Thank you,

Guillermo

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=271249
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1190225
> Is there any particular problem blocking this feature? Or it is just outside the Thunderbird road-map?
As you will find with most bugs, the issue is resources, not lack of interest. So commenting on old bugs asking why doesn't help them get fixed :)

If the bug has documented blockers you will see it at the top of the bug report. They also might not make progress because of lack of resources. 

But, bugzilla is not the place to discuss such issues.
You need to log in before you can comment on or make changes to this bug.