GNOME Bugzilla – Bug 733557
double values’ types are shown as integer on bottom description and edited as such
Last modified: 2015-02-22 12:26:39 UTC
When I select a double value in the browser (e.g. /org/freedesktop/color-helper/display-gamma), the description at the bottom of the window shows it’s an Integer [2.22507…e-308..1.7976…e+308]. The values look like valid double bounds, but the Integer part is clearly wrong. Also, when I edit the value (currently 2.399999999 on my system), it shows a rounded value (2 in my case). I can, however, enter a fractional value, and it is stored correctly.
Created attachment 281380 [details] [review] Show/edit double value as such Attached is a patch to fix this issue. The digits I specified is the maximum of spin renderer’s digits property, maybe it should be queried instead?
Review of attachment 281380 [details] [review]: Looks good, thanks Gergely
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
[moving dconf>editor tickets to dconf-editor product. See bug 744791]