Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 461759

Summary: autopart_type drop-down list labels wrapping
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dlehman, jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-10 13:35:01 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: 438944    
Attachments:
Description Flags
Autopart drop down list (screenshot)
none
Screenshot after applying patch in updates.img none

Description James Laska 2008-09-10 13:00:41 UTC
Created attachment 316311 [details]
Autopart drop down list (screenshot)

Description of problem:

On the partitioning screen, the drop-down list text wraps the labels even when space is available.  The only related change appears to have tried to address a similar issue for RHEL5 in commit b10467a573310a25fbe31f79ebbf166fded15042 to address bug#221791.  Should the width's be increased?

Version-Release number of selected component (if applicable):
anaconda-11.4.1.33-1.i386

Actual results:

See screenshot

Expected results:


Additional info:

Comment 1 James Laska 2008-09-10 13:15:40 UTC
Created attachment 316312 [details]
Screenshot after applying patch in updates.img

If I change back the layout width as seen below ...

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index c1366f7..902497f 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -396,8 +396,8 @@ class PartitionTypeWindow(InstallWindow):
         cell = gtk.CellRendererText()
         self.combo.pack_start(cell, True)
         self.combo.set_attributes(cell, text = 0)
-        cell.set_property("wrap-width", 455)
-        self.combo.set_size_request(480, -1)
+        cell.set_property("wrap-width", 495)
+        self.combo.set_size_request(500, -1)
 
         store = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_INT)
         self.combo.set_model(store)

The drop-down list labels display as one line each.

Comment 2 Chris Lumens 2008-09-10 13:35:01 UTC
Thanks for the patch.  I think this was caused by a commit from the rhel5-branch I brought forward but shouldn't have.