Closed Bug 1833797 Opened 1 year ago Closed 1 year ago

Invalid rows not removed if message list row count drops to 1

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(thunderbird_esr102 unaffected, thunderbird114 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird114 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

The logic which removes rows that are no longer valid fails if the only remaining row is row 0, because zero is falsy.

114.0b3

Deleting a message now can cause a scroll of the message list, such that the next message is placed at the bottom of the pane.

Does this patch resolve such an issue?

Flags: needinfo?(geoff)

I very much doubt it. Not sure what that's about, but I've seen it too.

Flags: needinfo?(geoff)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/e2ef75156d8d
Fix logic error in TreeView._ensureVisibleRowsAreDisplayed. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Summary: Invalid rows not removed is message list row count drops to 1 → Invalid rows not removed if message list row count drops to 1
Attachment #9334760 - Flags: approval-comm-beta?

Comment on attachment 9334760 [details]
Bug 1833797 - Fix logic error in TreeView._ensureVisibleRowsAreDisplayed. r=leftmostcat

[Triage Comment]
Approved for beta

Attachment #9334760 - 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: