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 596868 - Confidence interval not working in Descriptive Statistics tool
Confidence interval not working in Descriptive Statistics tool
Status: RESOLVED DUPLICATE of bug 580930
Product: Gnumeric
Classification: Applications
Component: GUI
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-09-30 12:48 UTC by palinz
Modified: 2009-10-01 10:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example screenshot (33.98 KB, image/png)
2009-09-30 12:48 UTC, palinz
Details

Description palinz 2009-09-30 12:48:03 UTC
Created attachment 144394 [details]
example screenshot

On Descriptive Statistics, if checking the "Confidence interval for the Mean",
whatever the value I insert for (1-alpha) the OK button remain gray with the
message: "The confidence level should be between 0 and 1". The only way to
proceed is to uncheck this option and to add the CONFIDENCE calculation
manually.
Also the arrow-button to increase the value is active but not working.

I reproduced the bug on 4 different pc with Ubuntu or Ubuntu-based
distributions.

I've tried also under different system languages in order to check if the
problem is related with . and , separator convention, but without changes in
the result.

Thank you
Comment 1 Andreas J. Guelzow 2009-09-30 16:41:46 UTC
Since this is a spinbutton issue, I suspect that it is due to the friendly GTK ABI change. Please do not use an ancient Gnumeric with a recent GTK.

If you upgrade to a recent Gnumeric, such as 1.9.13 things should work.

Alternatively you could possibly fix it with some appropriate surgery in a glade file. Please let me know if you are up to that and I can figure out what needs to be changed.
Comment 2 Andreas J. Guelzow 2009-09-30 18:32:22 UTC
To fix this on your installation you need to find descriptive-stats.glade and in it the section:
		<widget class="GtkSpinButton" id="c_entry">
		  <property name="visible">True</property>
		  <property name="can_focus">True</property>
		  <property name="climb_rate">0.01</property>
		  <property name="digits">3</property>
		  <property name="numeric">False</property>
		  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
		  <property name="snap_to_ticks">False</property>
		  <property name="wrap">False</property>
		  <property name="adjustment">0.05 0 1 0.01 10 0</property>
		</widget>

The important change is in the "adjustment" line. You probably do not have a 0 in last position.

*** This bug has been marked as a duplicate of bug 580930 ***
Comment 3 palinz 2009-10-01 10:55:14 UTC
It works! 
Thank you very much.