From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: Version-Release number of selected component (if applicable): redhat-config-xfree86-0.7.3-2 How reproducible: Always Steps to Reproduce: 1. Run redhat-config-xfree86 2. Select Advanced tab on Video Card subarea select Configure... 3. You'll see 'Video card setting' window appear. 4. Click many times 'Probe Videocard' button, see how list of monitors moves to left. See screenshots. Additional info:
Created attachment 91477 [details] Before clicking 'Probe Videocard'
Created attachment 91478 [details] After clicking 'Probe Videocard' few times
After looking into this, the bug is not with redhat-config-xfree86. The bug appears to be in the scroll_to_cell() function in gtkTreeView. I'm filing this against pygtk2, but the actual bug may be in gtk2. Calling scroll_to_cell on a tree that is too wide for the viewport will cause the tree start scrolling horizontally a few pixels at a time. Below is a sample program to demonstrate the behavior. Start clicking the 'clickme' button and watch the tree start moving horizontally, even though the col_align float value is set to '0.0': #!/usr/bin/python2.2 import signal import gtk import gobject if __name__ == "__main__": signal.signal (signal.SIGINT, signal.SIG_DFL) def clicked(button, store, view, col, iter): path = store.get_path(iter) view.set_cursor(path, col, gtk.FALSE) view.scroll_to_cell(path, col, gtk.TRUE, 0.5, 0.0) view.grab_focus() win = gtk.Window() win.set_size_request(100, 150) box = gtk.VBox() store = gtk.ListStore(gobject.TYPE_STRING) view = gtk.TreeView() view.set_model(store) col = gtk.TreeViewColumn(None, gtk.CellRendererText(), text =0) view.append_column(col) iter = store.append() store.set_value(iter, 0, "123456789123456789123456789") button = gtk.Button("clickme") button.connect("clicked", clicked, store, view, col, iter) box.pack_start(view) box.pack_start(button) win.add(box) win.show_all() gtk.mainloop()
I have filed a new bug (#91845) that addresses the scroll_to_cell() bug more directly. I'm reassigning this bug back to redhat-config-xfree86.
I just reworked the redhat-config-xfree86 UI so that this bug isn't a problem to the user anymore. The bug in pygtk2 (or gtk2) still exists, but see bug #91845 for more info on that. Closing as Rawhide since future versions will have a different UI.