Smooth programatic scroll isn't interrupted by a subsequent instant programatic scroll
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox149 | --- | wontfix |
| firefox150 | --- | wontfix |
| firefox151 | --- | wontfix |
People
(Reporter: hiro, Assigned: botond)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
1.74 KB,
text/html
|
Details |
STR;
- Open the attachment
There are two programatic scroll operations, a smooth scrollTo and an instant scrollBy. The latter should clobber the former one, but it doesn't.
We need to return false from SmoothScrollAnimation::HandleScrollOffsetUpdate, something like;
if (mKind == ScrollAnimationKind::SmoothMsd ||
mKind == ScrollAnimationKind::Smooth) {
return false;
}
I found this while I was exploring the other approach to fix bug 2009679.
Comment 1•8 months ago
|
||
Set release status flags based on info from the regressing bug 1982476
:botond, since you are the author of the regressor, bug 1982476, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 2•8 months ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #0)
We need to return false from SmoothScrollAnimation::HandleScrollOffsetUpdate, something like;
if (mKind == ScrollAnimationKind::SmoothMsd || mKind == ScrollAnimationKind::Smooth) { return false; }
This would be an overkill in the case of keyboard scrolling triggered on the main-thread since the keyboard scrolling would trigger a Smooth animation.
Updated•8 months ago
|
| Assignee | ||
Comment 3•8 months ago
|
||
Good catch! I must have overlooked this when working on bug 1982476 since HandleScrollOffsetUpdate was a method which SmoothMsdScrollAnimation didn't override but SmoothScrollAnimation did.
I'm going to mark this as P3 for now, but can adjust if this is blocking something (like bug 20069679).
Updated•7 months ago
|
Description
•