Closed Bug 1829565 Opened 1 year ago Closed 1 year ago

Changes to a virtual folder's searched folders should be reflected in the folder tree

Categories

(Thunderbird :: Folder and Message Lists, task)

Tracking

(thunderbird113 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
thunderbird113 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Whiteboard: [supernova3p])

Attachments

(1 file)

In bug 1822815 I'm fixing the folder tree display the searched folders of a virtual folder. But the tree won't be updated if the list of searched folders changes, because nothing emits a notification when this happens.

I'm going to figure out the best place to make such a notification, and teach the folder tree to respond to it.

Whiteboard: [supernova3p]

Adds a new notification "search-folders-changed" when a virtual folder's list of searched folders changes, and front-end code to update the folder tree.

I'd prefer to make the notification closer to where the change happens (so there's one copy of the code for all paths) but there's no access to the folder object there.

Depends on D175829

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/933e13ff61c9
Update the folder tree when a folder is added to a search folder. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Attachment #9330513 - Flags: approval-comm-beta?

Comment on attachment 9330513 [details]
Bug 1829565 - Update the folder tree when a folder is added to a search folder. r=aleca

[Triage Comment]
Approved for beta

Attachment #9330513 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: