Closed Bug 1205738 Opened 9 years ago Closed 9 years ago

[APZ] OS X overlay scrollbars no longer fade away, they disappear instantly

Categories

(Core :: Graphics: Layers, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox40 --- unaffected
firefox41 --- unaffected
firefox42 --- unaffected
firefox43 --- affected

People

(Reporter: mstange, Assigned: kip)

References

Details

(Keywords: regression, Whiteboard: [gfx-noted])

After lifting two fingers from the touchpad, overlay scrollbars should fade away with an animation. This animation was broken recently.

43:38.78 LOG: MainThread Bisector INFO Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=5b59f670cf52f7c4bb5f2fde2c4174d64f7a1f7e&tochange=7d3ce51b85e3a9e79582d947bfdf3708c322328b

 -> bug 1157984
[Tracking Requested - why for this release]: regression
Flags: needinfo?(kgilbert)
Keywords: regression
Is this with APZ only?
Assignee: nobody → kgilbert
Whiteboard: [gfx-noted]
Looks like it is, yes!
Blocks: apz-desktop
Summary: OS X overlay scrollbars no longer fade away, they disappear instantly → [APZ] OS X overlay scrollbars no longer fade away, they disappear instantly
I have narrowed this regression down to the change in CompositorOGL.cpp in the "Part 3" patch applied in Bug 1157984:

+  Rect destRect = aTransform.TransformAndClipBounds(aRect, aClipRect);
-  Rect destRect = aTransform.TransformBounds(aRect);

Perhaps this is causing the layer that renders the scrollbar overlay to be culled out during the fading sequence.

Possibly, aClipRect needs an offset applied similar to how it is used later in the same function.  An maximum sized rectangle for the coordinate system may be equally effective here.

I'll continue to investigate.
Flags: needinfo?(kgilbert)
I have created a patch for Bug 1207326, which corrects this bug also.
Once Bug 1207326 lands, this should be fixed.  Shall we mark as duplicate?
Depends on: 1207326
Markus, can you confirm if this is resolved now?
Flags: needinfo?(mstange)
Yes, this is fixed in today's nightly.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(mstange)
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.