Bug 19633

Summary: GUI: long package descriptions totally obscure treeview_packages widget
Product: PackageKit Reporter: Jens Knutson <jens.knutson>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix scrollbar policy
screenshot showing the problem

Description Jens Knutson 2009-01-17 12:45:24 UTC
Created attachment 22071 [details] [review]
Fix scrollbar policy

In gpk-application if package descriptions are long enough, they can cause textview_description to expand enough to totally obscure the treeview_packages widget!  I've attached a screenshot to explain.

I found a fix - in the glade file, I think the two of the properties for scrolledwindow2 are accidentally reversed.  Horizontal scrollbar policy is set to "Automatic" and vertical scrollbar policy is set to "Never", but swapping those to values - Horizontal to "never" and Vertical to "auto" - fixes this perfectly.

I've attached a patch for the glade file from your git master branch.
Comment 1 Jens Knutson 2009-01-17 12:46:42 UTC
Created attachment 22072 [details]
screenshot showing the problem
Comment 2 Richard Hughes 2009-01-19 01:23:19 UTC
commit cf168c8a019b2371346d4f96ab509a23b0821c07
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Jan 19 09:22:27 2009 +0000

    bugfix: use scrollbars in the description, and set the hbox to a fixed size to avoid flicker. Based on a patch from Jens Knutson, many thanks. Fixes fd#19633

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.