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 581493 - gtk_spin_button bugs in gnumeric
gtk_spin_button bugs in gnumeric
Status: RESOLVED DUPLICATE of bug 580930
Product: Gnumeric
Classification: Applications
Component: import/export Text
1.8.x
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-05-05 16:31 UTC by Charlie Kravetz
Modified: 2009-05-05 18:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnumeric-dialog-stf.glade.patch (915 bytes, patch)
2009-05-05 16:43 UTC, Charlie Kravetz
none Details | Review
gnumeric-anova-one.glade.patch (578 bytes, patch)
2009-05-05 16:43 UTC, Charlie Kravetz
none Details | Review

Description Charlie Kravetz 2009-05-05 16:31:09 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.
Comment 1 Charlie Kravetz 2009-05-05 16:43:03 UTC
Created attachment 134041 [details] [review]
gnumeric-dialog-stf.glade.patch
Comment 2 Charlie Kravetz 2009-05-05 16:43:27 UTC
Created attachment 134042 [details] [review]
gnumeric-anova-one.glade.patch
Comment 3 Morten Welinder 2009-05-05 18:02:07 UTC
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 ***