fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
461 stars 10 forks source link

Make possible truncate modes for long file names #863

Open dalbocha opened 4 years ago

dalbocha commented 4 years ago

In staging area image and in commit details area image file names with activated "View as List" option are offen to long and do not suit into text are. They all are truncated at the end. It makes them difficult to read.

I suggest to introduce truncate modes like GitExtensions tool already do.

Possible options:

DanPristupov commented 4 years ago

WPF doesn't allow to customize truncating.

dalbocha commented 4 years ago

Maybe show at least tooltip with full file name? Another possibility is to override default TextBox used in all WPF list controls with user control, supporting custom truncation: https://social.msdn.microsoft.com/Forums/vstudio/en-US/676519cd-4cb4-43cb-8a4d-b67e28e0f73d/how-to-get-ellipsis-in-the-middle-of-the-text?forum=winappswithcsharp

DanPristupov commented 4 years ago

Maybe show at least tooltip with full file name?

In Fork 1.53 we added tooltips for trimmed items.

jerone commented 4 years ago

@DanPristupov commented on Aug 4, 2020, 2:37 PM GMT+2:

Maybe show at least tooltip with full file name?

In Fork 1.53 we added tooltips for trimmed items.

But not on #279 & https://github.com/ForkIssues/TrackerWin/issues/278#issuecomment-532175584