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

Authored by ngraham on Aug 16 2019, 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
Branch
middle-elide-kdiroperator-labels (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 15178
Build 15196: arc lint + arc unit
ngraham created this revision.Aug 16 2019, 1:22 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptAug 16 2019, 1:22 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
ngraham requested review of this revision.Aug 16 2019, 1:22 PM
elvisangelaccio accepted this revision.Aug 24 2019, 4:28 PM
This revision is now accepted and ready to land.Aug 24 2019, 4:28 PM
This revision was automatically updated to reflect the committed changes.