Bug 68568
| Summary: | Probing video card makes video card list unreadable | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Mattias Dahlberg <voz> | ||||||||||
| Component: | gtk2 | Assignee: | Matthias Clasen <mclasen> | ||||||||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | medium | ||||||||||||
| Version: | 9 | CC: | jrb, mharris, p.van.egdom | ||||||||||
| 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:20:42 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: | |||||||||||||
| Bug Depends On: | |||||||||||||
| Bug Blocks: | 67217 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Mattias Dahlberg
2002-07-11 09:54:24 UTC
jrb: This was a TreeView bug, right? possible. What are you doing to focus it? tree_view = self.xml.get_widget("videocard_tree")
selection = tree_view.get_selection()
selection.select_iter(iter)
path = self.videocard_store.get_path(iter)
tree_view.set_cursor(path, self.vc_col, FALSE)
tree_view.scroll_to_cell(path, self.vc_col, TRUE, 0.5, 0.5)
I think it is the scroll_to_cell that breaks it.
I know we talked about this before.
why are you center aligning it? why not just do: tree_view.scroll_to_cell(path, self.vc_col, TRUE, 0.5, 0.0) or possibly, tree_view.scroll_to_cell(path, None, TRUE, 0.5, 0.0) oh, you also prolly want to do a tree_view.grab_focus() afterwards to grab the keyboard focus Fixed in 0.5.1. When I press 'probe videocard', the lists of videocards 'shifts to the left'. I'll attach some attachments for this bugreport, showing the problem. 00_before_clicking_probe.png 01_clicking_probe_15_times.png 02_clicking_probe_40_times.png 03_clicking_probe_70_times.png (the filenames speak for themselves) Somehow I don't think this problem is fixed in version "redhat-config-xfree86 0.5.1" :-) [peterve@limbo-pc peterve]$ rpm -qa |grep -i xfree |grep conf redhat-config-xfree86-0.5.1-1 [peterve@limbo-pc peterve]$ I looked in RAWHIDE for a newer version but found the same I'm using. I suggest reopening this bug. Created attachment 68784 [details]
Screenshot of virgin situation
Created attachment 68785 [details]
This is how a virgin looks when probed 15 times
Created attachment 68786 [details]
... And after 40 times pressing 'the probe button'
Created attachment 68787 [details]
Clicked probe 70 times ( +/- 5 )
Yeah. that looks bad. jrb. This looks like a treeview bug. If i change the col_align to e.g. 0.1 it scrolls like 10 pixels more on every time i do: tree_view.set_cursor(path, self.vc_col, FALSE) tree_view.scroll_to_cell(path, self.vc_col, TRUE, 0.5, 0.1) For the moment i'm gonna comment out the scroll_to_cell. That makes the probed row not be vertically centered, but at least it doesn't scroll horizontally. redhat-config-xfree86 0.6.0-1 has the workaround, so i'm closing this bug, but jrb might want to look deeper into the problem. This problem can be reproduced with redhat-config-xfree86-0.7.3-2. I can remember it was fixed in an earlier version (I believe that was a version of the rh-config-xfree86-0.6.x family). If the problem has returned, then feel free to reopen the report so that it can be tracked. I reopen because the bug seems to have returned. I'm using Phoebe 3 and it looks exactly like in Peter van Egdom's screenshots. I'm seeing the same thing here, on an nVidia RIVA TNT2 w/Gateway EV700 monitor. redhat-config-xfree86-0.7.3-2 Yes, I can reproduce this. I showed it to Havoc and he agreed that this is probably a bug in GTK TreeView. Changing components and assigning to jrb. However, it doesn't happen in the monitor dialog. The monitor dialog is a TreeStore whereas the videocard dialog is a ListStore. I don't know what difference that makes, but maybe it does. I can't reproduce this, since system-config-display doesn't have a "Probe" button anymore, but there is a bug about alignment issues with gtk_cell_view_scroll_to_cell() open upstream, so I'll close this one as UPSTREAM. http://bugzilla.gnome.org/show_bug.cgi?id=103583 |