Bugzilla – Bug 222507
path truncation in install presentations
Last modified: 2006-11-22 10:19:05 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
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 ***