Closed Bug 525419 Opened 16 years ago Closed 16 years ago

DBViewWrapper.clone does not noteCuriosity for cloned search/synthetic (gloda-backed) views

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0rc1

People

(Reporter: asuth, Assigned: Bienvenu)

Details

(Whiteboard: [can land])

Attachments

(1 file)

While inspecting code for bug 498141 I noticed that we always stalkFolders in DBViewWrapper.clone and do not noteCuriosity which is required for the view to get the deletion events it needs. I'm not sure how much of a problem this actually is for the standalone message views given that you can't see the view, but clone should do the correct thing anyways. Speculatively assigning to bienvenu and requesting blocking. (It's probably easier to fix this than to figure out if there are cases where things can go wrong.)
Flags: blocking-thunderbird3?
Attached patch proposed fixSplinter Review
I verified that this notes curiosity when you open messages from search results and gloda search results in a new tab. the bug the curious wrappers fixed had to do with loading the next message after deleting a message, and that seems to work with a message loaded into a tab from a gloda search results view.
Attachment #409436 - Flags: review?(bugmail)
Flags: blocking-thunderbird3? → blocking-thunderbird3+
Whiteboard: [has patch for review]
Comment on attachment 409436 [details] [diff] [review] proposed fix Thank you for taking care of this. I verified (by inspection) that calling stalkFolders with no interests does not do anything bad to the state, which was my only concern.
Attachment #409436 - Flags: review?(bugmail) → review+
Whiteboard: [has patch for review] → [can land]
fixed on trunk and branch
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0rc1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: