Opened 8 years ago

Last modified 3 years ago

#8247 assigned enhancement

Long file/folder names should be truncated better.

Reported by: jscipione Owned by: nobody
Priority: low Milestone: Unscheduled
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

If you have a file or folder with a really long name in (non mini) icon mode it should be truncated much earlier than it does now.

The label should be truncated to approximately the same width as the icon. The label should wrap on spaces when appropriate, but, should not show more than 2 lines of text so that the label doesn't obscure an icon positioned below the icon with the long label.

Thank you Disreali for suggesting this enhancement.

Attachments (2)

folder with a long label.png (6.3 KB ) - added by jscipione 8 years ago.
Example of a folder with a long label in hrev43512
kdegnomeoneiricthumb03.png (34.5 KB ) - added by jscipione 8 years ago.
example of long filename rename in Gnome

Download all attachments as: .zip

Change History (5)

by jscipione, 8 years ago

Example of a folder with a long label in hrev43512

comment:1 by axeld, 8 years ago

While I agree with the general direction of this ticket, I think truncating it to the width of the icon is much too small. Instead, we should have some kind of default spacing around an icon (for example, twice its width) that the text is allowed to cover.

comment:2 by jscipione, 8 years ago

Looking at how some other OSs handle this it appears they make the label around 120% the width of the icon and then wrap to 2 lines. In edit mode this is expanded to 3 lines and you can scroll up and down with the arrow keys to reveal more text. Right now in edit mode the label is expanded horizontally to fit the label, which, for a really long label can expand the label to the ends of the screen. Implementing wrapping of the label and keeping the width down to some reasonable value would go a long way towards making Tracker labels more consumable.

by jscipione, 8 years ago

Attachment: kdegnomeoneiricthumb03.png added

example of long filename rename in Gnome

comment:3 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.