After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686225 - ClutterScrollActor scrolls itself instead of just its contents
ClutterScrollActor scrolls itself instead of just its contents
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: ClutterActor
git master
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-16 15:13 UTC by Tomeu Vizoso
Modified: 2013-02-20 23:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scroll-actor: Use :child-transform (4.91 KB, patch)
2013-02-20 23:03 UTC, Emmanuele Bassi (:ebassi)
committed Details | Review

Description Tomeu Vizoso 2012-10-16 15:13:41 UTC
It should probably use ::child-transform instead of ::apply-transform for scrolling its contents.

To see why that may be wrong, run with paint-volumes and dump-pick-buffers and see how the paint volumes and pick areas overflow the container allocation.
Comment 1 Emmanuele Bassi (:ebassi) 2013-02-20 23:03:46 UTC
Created attachment 236991 [details] [review]
scroll-actor: Use :child-transform

Instead of using a custom apply_transform(), paint(), and pick()
implementations, we can simply apply a transformation to the children of
a ScrollActor.
Comment 2 Emmanuele Bassi (:ebassi) 2013-02-20 23:36:01 UTC
Attachment 236991 [details] pushed as 01ba68a - scroll-actor: Use :child-transform