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 689073 - Fix clutter_actor_allocate_align_fill() with actors exactly between 2 pixels
Fix clutter_actor_allocate_align_fill() with actors exactly between 2 pixels
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: ClutterActor
1.12.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-26 10:43 UTC by Lionel Landwerlin
Modified: 2012-11-26 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch v1 (1.90 KB, patch)
2012-11-26 10:45 UTC, Lionel Landwerlin
accepted-commit_now Details | Review

Description Lionel Landwerlin 2012-11-26 10:43:38 UTC
The attached patch fix a problem with allocation where the child actor is allocated by one pixel than its preferred width or height. That happens only when the actor width/height is an odd number.
Comment 1 Lionel Landwerlin 2012-11-26 10:45:03 UTC
Created attachment 229892 [details] [review]
Patch v1
Comment 2 Emmanuele Bassi (:ebassi) 2012-11-26 10:47:40 UTC
Review of attachment 229892 [details] [review]:

looks good to me.
Comment 3 Lionel Landwerlin 2012-11-26 11:34:48 UTC
Pushed to master and 1.12.