Bug 80565 - gtk-2.6-smoothscroll.patch make sliders and scrollbars fail to work in some cases
Bug#: 80565 Product:  Gentoo Linux Version: 2004.2 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: jean.brefort@normalesup.org
Component: GNOME
URL: 
Summary: gtk-2.6-smoothscroll.patch make sliders and scrollbars fail to work in some cases
Keywords:  
Status Whiteboard: 
Opened: 2005-02-03 04:11 0000
Description:   Opened: 2005-02-03 04:11 0000
scollbars and slider don't work properly when they are in an opened gnumeric
workbook. Compiling gtk+ without the smootscromm patch makes things work
correctly.

Reproducible: Always
Steps to Reproduce:
1. Open a gnumeric file with a scrollbar
2. Click below the mouse slider to increase the value of the target cell
3.

Actual Results:  
value does not change (clicking above the slider decreases the value by 1
instead of the current page_increment.

Expected Results:  
increase the value by page_increment (default 10).

------- Comment #1 From Jean Bréfort 2005-02-03 04:12:14 0000 -------
Created an attachment (id=50256) [details]
a gnumeric file which shows the bug

------- Comment #2 From foser (RETIRED) 2005-02-05 05:23:58 0000 -------

*** This bug has been marked as a duplicate of 61342 ***

------- Comment #3 From foser (RETIRED) 2005-02-06 05:11:58 0000 -------
------- Additional Comment #15 From Jean Br

------- Comment #4 From foser (RETIRED) 2005-02-06 05:11:58 0000 -------
------- Additional Comment #15 From Jean Bréfort 2005-02-06 05:02 PST -------

I found how this bug affected gnumeric (and in this case it is a gnumeric bug, http://bugzilla.gnome.org/show_bug.cgi?id=166085).
the bugs happens when an application calls gtk_adustment_value_changed while the idle is active. The calls occurs when gtk_adjustment_value_changed_unchecked is called inside the idle function and it kills it whatever it returns. At this moment, the value of the adjustment is the last one given by adjustment_update_idle, generally not very different from the initial one.
If the problem occurs with other applications, they might have similar bugs.


------- Comment #5 From foser (RETIRED) 2005-02-14 15:18:48 0000 -------
added this patch to gnumeric-1.4.2 , thanks for the effort.