Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 74172

Summary: scroll_to_cell bug
Product: [Retired] Red Hat Raw Hide Reporter: Tim Waugh <twaugh>
Component: gtk2Assignee: Matthias Clasen <mclasen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: otaylor
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-12 18:26:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Glade file
none
Python file none

Description Tim Waugh 2002-09-17 10:52:28 UTC
Description of Problem: 
Sometimes scroll_to_cell doesn't scroll where I tell it to. 
 
Version-Release number of selected component (if applicable): 
gtk2-2.0.6-8 
pygtk2-1.99.12-7 
 
How Reproducible: 
100% 
 
Steps to Reproduce: 
See attached testcase 
1. python gtk2bug.py 
2. Click 'Forward' 
3. Inspect treeview 
 
Actual Results: 
Scrolled to near the beginning. 
 
Expected Results: 
Scrolled to keep item 150 centred. 
 
Additional Information: 
Recompiling gtk2 without -O2 makes the problem go away, as does inserting 
  while gtk.events_pending (): 
    gtk.mainiteration () 
in the callback function.

Comment 1 Tim Waugh 2002-09-17 10:53:06 UTC
Created attachment 76364 [details]
Glade file

Comment 2 Tim Waugh 2002-09-17 10:53:36 UTC
Created attachment 76365 [details]
Python file

Comment 3 Owen Taylor 2002-11-01 02:11:08 UTC
Probably fixed in current GNOME CVS; I'll be putting a 2.1.x snapshot
into the tree as soon as that is API frozen.


Comment 4 Owen Taylor 2003-01-14 20:58:32 UTC
Does this still happen with gtk2-2.2.0?

Reassigning to Mr. TreeView

Comment 5 Tim Waugh 2003-01-16 13:54:06 UTC
Still broken in gtk2-2.2.0-3.

Comment 6 Matthias Clasen 2004-05-12 18:26:08 UTC
I can't reproduce this with gtk2-2.4.0-1