GNOME Bugzilla – Bug 581493
gtk_spin_button bugs in gnumeric
Last modified: 2009-05-05 18:02:07 UTC
Please describe the problem: This bug has been reported on Ubuntu Launchpad as: https://bugs.launchpad.net/bugs/369650 There is a bug affecting spin buttons and their values in gnumeric (version 1.8.4-3ubuntu2 in Jaunty). The bug shows in (at least) two places: (1) the Text Import Configuration dialog, and (2) the ANOVA Single Factor dialog. The bug causes spin buttons to work incorrectly. The first of these (Text Import Configuration dialog) was recently commented on in this older bug: https://bugs.launchpad.net/ubuntu/+source/gnumeric/+bug/264167 Briefly, when attempting to paste text from another application into gnumeric, the last 10 lines are lost. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: The fix seems pretty simple, requiring just two small changes in: gnumeric-1.8.4/src/dialogs/dialog-stf.glade Basically, the two lines that read: <property name="adjustment">0.05 0 1 0.01 10 10</property> should be changed to: <property name="adjustment">1 1 100 1 10 0</property> And one similar change in: gnumeric-1.8.4/src/dialogs/anova-one.glade It seems like this bug, and several similar bugs, was triggered by recent changes in gtk: http://forums.free4web.biz/index.php?t=msg&goto=751232&S=b13588d48ace7e05a50a154d43fbcfec I'm attaching two short patch files (one for each dialog) that fix this bug. I'm not at all familiar with gtk/glade/gnumeric, so I'm not sure if this is the best way to fix these bugs, but the changes are very small and don't look like they should create any new problems.
Created attachment 134041 [details] [review] gnumeric-dialog-stf.glade.patch
Created attachment 134042 [details] [review] gnumeric-anova-one.glade.patch
That's really a gtk+ bug. Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 580930 ***