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 165173 - Scrollbar max value changes unexpectedly
Scrollbar max value changes unexpectedly
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Sheet Objects
1.4.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-01-25 12:05 UTC by j.gnome
Modified: 2005-02-07 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes the problem (1.57 KB, patch)
2005-01-26 08:48 UTC, Jean Bréfort
accepted-commit_now Details | Review
really fixes the problem (3.64 KB, patch)
2005-02-02 17:33 UTC, Jean Bréfort
accepted-commit_now Details | Review

Description j.gnome 2005-01-25 12:05:49 UTC
1. New workbook
2. Create a scrollbar sheet object
3. Right click, properties (max is 100), press OK
4. Right click, properties again (max is now 101)

What happens: max value shouldn't change.
Comment 1 j.gnome 2005-01-25 12:08:17 UTC
Sigh. What happens: max value changes. Expected: shouldn't change.
Comment 2 Jean Bréfort 2005-01-26 08:48:42 UTC
Created attachment 36543 [details] [review]
fixes the problem
Comment 3 Jody Goldberg 2005-01-26 15:04:59 UTC
Comment on attachment 36543 [details] [review]
fixes the problem

Looks reasonable for both trees, but please add some comments about what the
+-1 does.
Comment 4 Andreas J. Guelzow 2005-01-26 18:58:59 UTC
hmm, this patch does look like curing the symptom but not the underlying cause.
Comment 5 Jean Bréfort 2005-02-02 16:09:16 UTC
The bug also affects sliders and spin buttons.
Comment 6 Jean Bréfort 2005-02-02 17:33:25 UTC
Created attachment 36876 [details] [review]
really fixes the problem

adjustment->page_size must be 0., not 1.
With that, all +-1 are removed
Comment 7 Jody Goldberg 2005-02-06 16:58:15 UTC
Comment on attachment 36876 [details] [review]
really fixes the problem

that looks right.
Please commit.	both trees
Comment 8 Jean Bréfort 2005-02-06 17:58:01 UTC
commited to both tree. The bug can be closed