Bug 450321

Summary: Don't abbreviate repository URLs unless necessary
Product: [openSUSE] openSUSE 11.0 Reporter: Tristan Miller <psychonaut>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot showing YaST abbreviating an URL even though there is plenty of space to display the whole URL

Description Tristan Miller 2008-11-30 16:27:56 UTC
Created attachment 256801 [details]
Screenshot showing YaST abbreviating an URL even though there is plenty of space to display the whole URL

When the Software Management component starts up, it pops up a "Starting the Package Manager" dialog and refreshes the repository data.  The first progress bar shows the progress of the repository file downloads.  The text above this progress bar is the URL of the file being downloaded.  However, the URLs are abbreviated -- only the domain name and the terminal directory and filename are displayed.  (See screenshot.)

Please do not abbreviate these URLs unless there is not enough space to display them in full.  If the download gets stuck on a particular file, I want to know which repository it is.  The abbreviated URL doesn't usually give me enough information to figure this out.
Comment 1 Ladislav Slezák 2008-12-01 17:09:49 UTC
The problem is that Yast scripts do not know the current dialog size.

The current abbreviation size is fixed and it's optimized for the default dialog size (it's not changed when the dialog is resized).

The only way how to fix it is to add a new property to the Yast widgets, something like `opt(`abbreviate) and do the abbreviation on the UI level.