Bug 72275

Summary: text scrolled to left makes selections unreadable
Product: [Retired] Red Hat Public Beta Reporter: Mike Gerdts <gerdts>
Component: gtk2Assignee: Jonathan Blandford <jrb>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: nullCC: alexl, ddumas, mharris
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: 2002-08-26 18:36:16 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
sceenshot of fubarred window
none
test case for treeview bug
none
fix scroll_to none

Description Mike Gerdts 2002-08-22 17:28:08 UTC
As I was trying to change my X settings, I somehow managed to get into a state
where the monitor manufacturer list was scrolled to the left but no horizontal
scrollbar was available.  See screenshot.

As for reproducing it... 

In the display settings window, select advanced.

click configure in the top pane

Select a monitor that has a descriptive name that is too long to fit in the left
pane.

Select OK  The monitor settings window will close.

Click configure in the display settings window

Comment 1 Mike Gerdts 2002-08-22 17:30:20 UTC
Created attachment 72284 [details]
sceenshot of fubarred window

Comment 2 Alexander Larsson 2002-08-23 08:58:54 UTC
I fixed this somewhat by doing:

-        tree_view.scroll_to_cell(path, self.col, TRUE, 0.5, 0.5)
+        tree_view.scroll_to_cell(path, self.col, TRUE, 0.5, 0.0)

But there is still a bug in the treeview where doing this repeatedly scrolls the
tree horizontally a little bit each time. jrb, have you looked into this? (It's
the same bug i had before in the videocard list.)

Comment 3 Alexander Larsson 2002-08-23 09:29:48 UTC
jrb, i'm assigning this to you, because it really seems to be a treeview bug.
I'm attaching a small standalone testcase.

Comment 4 Alexander Larsson 2002-08-23 09:30:51 UTC
Created attachment 72524 [details]
test case for treeview bug

Comment 5 Alexander Larsson 2002-08-23 09:34:09 UTC
Note: If you remove the "gazonk" part of the tree it will still be broken, but
only scroll one pixel each time you click the button.


Comment 6 Jonathan Blandford 2002-08-25 22:01:44 UTC
Thanks for the test case, alex.  Here's a fix for GTK+ for it.

Comment 7 Jonathan Blandford 2002-08-25 22:02:33 UTC
Created attachment 72868 [details]
fix scroll_to

Comment 8 Alexander Larsson 2002-08-26 18:24:02 UTC
Uhm? That's some keyboard accel patch.


Comment 9 Jonathan Blandford 2002-08-26 18:36:10 UTC
Argh!  I selected the wrong patch!  Teaches me to do a cvs diff > /tmp/foo[1-5].

Anyway, I just built a new GTK+ that should (TM) fix it.

Comment 10 Jonathan Blandford 2002-09-12 20:55:57 UTC
This was fixed, and put in GNOME CVS.