id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2352	[feature request] display most unique part of filename, if panel width is too short	pille		"if a filename displayed in the panel is too long to fit, only the beginning and end is displayed. the non-fitting middle part is reduced to '~'.

i like this feature, but it could be improved.
if you have a lot of files with similar beginnings and endings you'd end up with a non-distinguishable file.

e.g. take some files of a music collection named using the following scheme: artist - track - title (album).mp3
  artist - track01 - title of track 01 (album).mp3
  artist - track02 - title of track 02 (album).mp3

this may be shortened to:
  artist - trac~ (album).mp3
  artist - trac~ (album).mp3

it would be better, if the filename is shortened using a smarter algorithm that uses the context (surrounding filenames). e.g. it could display some chars of the beginning and end as usual, but also the most unique fitting chars in the middle part, seperated by '~', like:
  artist - tra~1~(album).mp3
  artist - tra~2~(album).mp3
"	enhancement	new	minor	Future Releases	mc-core	master			me@… gotar@… mooffie@…			no branch	
