Bug 19633 - GUI: long package descriptions totally obscure treeview_packages widget
Summary: GUI: long package descriptions totally obscure treeview_packages widget
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-01-17 12:45 UTC by Jens Knutson
Modified: 2009-01-19 01:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix scrollbar policy (1.01 KB, patch)
2009-01-17 12:45 UTC, Jens Knutson
Details | Splinter Review
screenshot showing the problem (115.13 KB, image/png)
2009-01-17 12:46 UTC, Jens Knutson
Details

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.