Bug 222507

Summary: path truncation in install presentations
Product: [openSUSE] openSUSE 10.2 Reporter: Robert Strickler <noes.to.anomalyst>
Component: InstallationAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: Beta 2 plus   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Robert Strickler 2006-11-18 23:12:18 UTC
During the installation process the paths are often too long and are truncated to fit, eliminating the most informing part. For example when loading the catalogs during a network installation. A function needs to be written or copied to reformat the string. I have seen several different ways to this type of formatting, which might be the most useful?

Assuming a 40 character target
 Original
	/too/long/to/fit/in/the/target/title/or/status/display/filename
	123456789012345678901234567890123456789012345678901234567890123
	         1         2         3         4         5         6

1. File name to left, path reduced in middle
	(filename) /too/long/.../status/display/
	1234567890123456789012345678901234567890
	         1         2         3         4

2. File name to left, path reduced at left
	(filename)...et/title/or/status/display/
	1234567890123456789012345678901234567890

3. Path reduced at left
	...rget/title/or/status/display/filename
	1234567890123456789012345678901234567890

4. Path reduced in middle
	/too/long/to/in/...atus/display/filename
	1234567890123456789012345678901234567890
Comment 1 Ladislav Slezák 2006-11-22 10:19:05 UTC
I think the most useful is the last formatting (remove the path in the middle), for URLs it means that you will see the server name at the beginning and the file name at the end which most important.

Marked as a duplicate of #221163

*** This bug has been marked as a duplicate of bug 221163 ***