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 707808 - box-layout: Fix floating point truncation when calculating a child's size
box-layout: Fix floating point truncation when calculating a child's size
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-09-09 22:39 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-09-09 23:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
box-layout: Fix floating point truncation when calculating a child's size (939 bytes, patch)
2013-09-09 22:39 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2013-09-09 22:39:22 UTC
This was causing bouncing menus in gnome-shell.
Comment 1 Jasper St. Pierre (not reading bugmail) 2013-09-09 22:39:23 UTC
Created attachment 254524 [details] [review]
box-layout: Fix floating point truncation when calculating a child's size

The child size is a float, not an int.
Comment 2 Emmanuele Bassi (:ebassi) 2013-09-09 23:24:07 UTC
Review of attachment 254524 [details] [review]:

looks good.
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-09-09 23:33:32 UTC
Attachment 254524 [details] pushed as ac70bd3 - box-layout: Fix floating point truncation when calculating a child's size