Closed Bug 774731 Opened 7 years ago Closed 7 years ago

Previous conversations sometimes not displayed


(Thunderbird :: Instant Messaging, defect)

Not set


(thunderbird15 fixed, thunderbird16 fixed)

Thunderbird 17.0
Tracking Status
thunderbird15 --- fixed
thunderbird16 --- fixed


(Reporter: florian, Assigned: florian)



(1 file)

Attached patch PatchSplinter Review
I've debugged a few cases where the "Daily currently doesn't have any previous conversations stored for this contact." panel was displayed instead of an existing previous conversation.

It happened when selecting a contact with a previous conversation, then a contact without previous conversation, then selecting the contact with a previous conversation again. This is because in my patch for bug 754914 I prevented redisplaying a previous conversation if it was already displayed in the browser, but I forgot to still ensure the log panel is visible.

The same thing can happen for the "Search result" item: the log panel isn't always shown correctly when reselecting that item.

And a last case causing a similar problem: closing the "search result" conversation, which actually just hides it. This attempts to select another conversation, but the mousedown event handler of listbox.xml immediately reselects it even though it is hidden, so when displaying it again the 'select' event isn't fired, as the item is already selected.
Attachment #643016 - Flags: review?(mconley)
Comment on attachment 643016 [details] [diff] [review]

Review of attachment 643016 [details] [diff] [review]:

Looks good - and I can confirm that this fixes the bug.
Attachment #643016 - Flags: review?(mconley) → review+
Attachment #643016 - Flags: approval-comm-beta?
Attachment #643016 - Flags: approval-comm-aurora?
Comment on attachment 643016 [details] [diff] [review]

Yeah, I really think we want to have this on aurora/beta.
Attachment #643016 - Flags: approval-comm-beta?
Attachment #643016 - Flags: approval-comm-beta+
Attachment #643016 - Flags: approval-comm-aurora?
Attachment #643016 - Flags: approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.