Bug 68568 - Probing video card makes video card list unreadable
Summary: Probing video card makes video card list unreadable
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gtk2
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
 
Reported: 2002-07-11 09:54 UTC by Mattias Dahlberg
Modified: 2007-04-18 16:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-12 18:20:42 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot of virgin situation (138.81 KB, image/png)
2002-08-03 23:24 UTC, Peter van Egdom
no flags Details
This is how a virgin looks when probed 15 times (139.51 KB, image/png)
2002-08-03 23:26 UTC, Peter van Egdom
no flags Details
... And after 40 times pressing 'the probe button' (133.71 KB, image/png)
2002-08-03 23:28 UTC, Peter van Egdom
no flags Details
Clicked probe 70 times ( +/- 5 ) (127.39 KB, image/png)
2002-08-03 23:29 UTC, Peter van Egdom
no flags Details

Description Mattias Dahlberg 2002-07-11 09:54:24 UTC
Description of problem:
When I probe my video card (btw it says "videocard" on that button, but "video 
card" everywhere else) it seems like the list of video cards get aligned to the 
right, which makes the entries unreadable. You can work around it by resizing 
the window to make it larger and then go back to the original size, then the 
list is left aligned again.


How reproducible:
Always

Steps to Reproduce:
1. Start redhat-config-xfree86
2. Go to Configure Video card
3. Click "Probe Videocard".

Comment 1 Alexander Larsson 2002-07-11 13:31:08 UTC
jrb: This was a TreeView bug, right?


Comment 2 Jonathan Blandford 2002-07-11 13:58:50 UTC
possible.  What are you doing to focus it?

Comment 3 Alexander Larsson 2002-07-11 14:05:59 UTC
   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.


Comment 4 Jonathan Blandford 2002-07-11 16:06:58 UTC
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)

Comment 5 Jonathan Blandford 2002-07-11 16:07:58 UTC
oh, you also prolly want to do a tree_view.grab_focus() afterwards to grab the
keyboard focus

Comment 6 Alexander Larsson 2002-07-23 14:07:26 UTC
Fixed in 0.5.1.

Comment 7 Peter van Egdom 2002-08-03 23:23:33 UTC
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.


Comment 8 Peter van Egdom 2002-08-03 23:24:47 UTC
Created attachment 68784 [details]
Screenshot of virgin situation

Comment 9 Peter van Egdom 2002-08-03 23:26:41 UTC
Created attachment 68785 [details]
This is how a virgin looks when probed 15 times

Comment 10 Peter van Egdom 2002-08-03 23:28:26 UTC
Created attachment 68786 [details]
... And after 40 times pressing 'the probe button'

Comment 11 Peter van Egdom 2002-08-03 23:29:55 UTC
Created attachment 68787 [details]
Clicked probe 70 times ( +/- 5 )

Comment 12 Alexander Larsson 2002-08-07 12:36:19 UTC
Yeah. that looks bad.


Comment 13 Alexander Larsson 2002-08-09 09:49:52 UTC
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)


Comment 14 Alexander Larsson 2002-08-09 09:55:16 UTC
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.


Comment 15 Alexander Larsson 2002-08-09 12:46:07 UTC
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.


Comment 16 Peter van Egdom 2003-02-08 19:04:36 UTC
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).

Comment 17 Mike A. Harris 2003-02-09 00:08:03 UTC
If the problem has returned, then feel free to reopen the report so
that it can be tracked.

Comment 18 Mattias Dahlberg 2003-02-27 08:25:25 UTC
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.

Comment 19 Mike Chambers 2003-02-27 11:21:56 UTC
I'm seeing the same thing here, on an nVidia RIVA TNT2 w/Gateway EV700 monitor.
redhat-config-xfree86-0.7.3-2

Comment 20 Brent Fox 2003-03-20 20:33:37 UTC
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.

Comment 21 Matthias Clasen 2004-05-12 18:20:42 UTC
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


Note You need to log in before you can comment on or make changes to this bug.