Skip to content

Conversation

@carlosgcampos
Copy link
Contributor

@carlosgcampos carlosgcampos commented Dec 17, 2024

66b8578

REGRESSION(287835@main): [CoordinatedGraphics] Wrong layer is scrolled sometimes
https://bugs.webkit.org/show_bug.cgi?id=284805

Reviewed by Alejandro G. Castro.

I made a mistake in 287835@main in the point transformation when
collecting scrolling layers for a given point, causing the wrong layer
to be returned. We should use the parent bounds origin instead of the
child one.

* Source/WebCore/page/scrolling/coordinated/ScrollingTreeCoordinated.cpp:
(WebCore::collectDescendantLayersAtPoint):

Canonical link: https://commits.webkit.org/287935@main

1fd0ea5

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style 🛠 ios ✅ 🛠 mac 🛠 wpe 🛠 win
✅ 🧪 bindings 🛠 ios-sim 🛠 mac-AS-debug 🧪 wpe-wk2 🧪 win-tests
✅ 🧪 webkitperl 🧪 ios-wk2 🧪 api-mac 🧪 api-wpe
🧪 ios-wk2-wpt 🧪 mac-wk1 ✅ 🛠 wpe-cairo
🧪 api-ios 🧪 mac-wk2 🛠 gtk
🛠 vision 🧪 mac-AS-debug-wk2 🧪 gtk-wk2
🛠 vision-sim 🧪 mac-wk2-stress 🧪 api-gtk
⏳ 🧪 vision-wk2 🧪 mac-intel-wk2
✅ 🛠 🧪 unsafe-merge 🛠 tv 🛠 mac-safer-cpp
🛠 tv-sim
🛠 watch
🛠 watch-sim

@carlosgcampos carlosgcampos added the Platform Portability improvements and other general platform improvements not driven directly by site bugs. label Dec 17, 2024
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Dec 17, 2024
Copy link
Contributor

@alexgcastro alexgcastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@carlosgcampos carlosgcampos removed the merging-blocked Applied to prevent a change from being merged label Dec 17, 2024
@carlosgcampos carlosgcampos force-pushed the coord-graphics-async-scrolling-layer-at-point-fix branch from d2e6389 to 1fd0ea5 Compare December 17, 2024 12:29
@carlosgcampos carlosgcampos added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 17, 2024
…d sometimes

https://bugs.webkit.org/show_bug.cgi?id=284805

Reviewed by Alejandro G. Castro.

I made a mistake in 287835@main in the point transformation when
collecting scrolling layers for a given point, causing the wrong layer
to be returned. We should use the parent bounds origin instead of the
child one.

* Source/WebCore/page/scrolling/coordinated/ScrollingTreeCoordinated.cpp:
(WebCore::collectDescendantLayersAtPoint):

Canonical link: https://commits.webkit.org/287935@main
@webkit-commit-queue webkit-commit-queue force-pushed the coord-graphics-async-scrolling-layer-at-point-fix branch from 1fd0ea5 to 66b8578 Compare December 17, 2024 12:32
@webkit-commit-queue
Copy link
Collaborator

Committed 287935@main (66b8578): https://commits.webkit.org/287935@main

Reviewed commits have been landed. Closing PR #38064 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 66b8578 into WebKit:main Dec 17, 2024
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 17, 2024
@carlosgcampos carlosgcampos deleted the coord-graphics-async-scrolling-layer-at-point-fix branch December 17, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Platform Portability improvements and other general platform improvements not driven directly by site bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants