[KDirOperator] Middle-elide labels that are too long to fit
ClosedPublic

Authored by ngraham on Fri, Aug 16, 1:22 PM.

Details

Summary

Right now too-long labels get right-elided, which among other minor issues, causes
their filename extentions to not be visible. Dolphin is moving to middle-eliding
labels instead (See D19471), so this patch implements the same behavior for KDirOperator
so the file dialogs behave the same way.

CCBUG: 404955

Test Plan

See the Test Plan in D19471; same deal

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ngraham created this revision.Fri, Aug 16, 1:22 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptFri, Aug 16, 1:22 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
ngraham requested review of this revision.Fri, Aug 16, 1:22 PM
elvisangelaccio accepted this revision.Sat, Aug 24, 4:28 PM
This revision is now accepted and ready to land.Sat, Aug 24, 4:28 PM
This revision was automatically updated to reflect the committed changes.