Prevent TreeView widget scrolling to a row that doesn't exist
Categories
(Thunderbird :: Folder and Message Lists, defect, P2)
Tracking
(thunderbird_esr115+ fixed, thunderbird117 fixed)
People
(Reporter: darktrojan, Assigned: darktrojan)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr115+
|
Details | Review |
If the selected index of a TreeView is set to -1 (no selection) it scrolls to the top, because -1 is below zero and it can't scroll any further. Removing the selection by any means should not scroll the view. We should avoid calling scrollToIndex in this situation, and even if we do it should report the bad index and refuse to do anything.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b0724a07f90f
Prevent TreeView widget scrolling to a row that doesn't exist. r=aleca
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 3•2 years ago
|
||
Comment on attachment 9348019 [details]
Bug 1847842 - Prevent TreeView widget scrolling to a row that doesn't exist. r=#thunderbird-front-end-reviewers
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: in some circumstances the message list can scroll to the top for no apparent reason
Testing completed (on c-c, etc.): landed 5 days ago
Risk to taking this patch (and alternatives if risky): low
Comment 4•2 years ago
|
||
Comment on attachment 9348019 [details]
Bug 1847842 - Prevent TreeView widget scrolling to a row that doesn't exist. r=#thunderbird-front-end-reviewers
[Triage Comment]
Approved for beta
Comment 5•2 years ago
|
||
| bugherder uplift | ||
Thunderbird 117.0b5:
https://hg.mozilla.org/releases/comm-beta/rev/10b0b46cacb5
Comment 6•2 years ago
|
||
Comment on attachment 9348019 [details]
Bug 1847842 - Prevent TreeView widget scrolling to a row that doesn't exist. r=#thunderbird-front-end-reviewers
[Triage Comment]
Approved for esr115
Comment 7•2 years ago
|
||
| bugherder uplift | ||
Thunderbird 115.2.0:
https://hg.mozilla.org/releases/comm-esr115/rev/75c93433f569
Description
•