Bug 421747 - Line returns in filenames in camelCase
Summary: Line returns in filenames in camelCase
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 19.04.3
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-18 23:06 UTC by Hyoga
Modified: 2020-06-05 13:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hyoga 2020-05-18 23:06:08 UTC
I like to use camelCase to name my files and folders. It can be long names, which need several lines to display when using icons view (the default). But line returns occur whenever some maxlength is reached, not at the end of a word.

For instance, I have created a file called aVeryLongFilenameJustAsAnExample and Dolphin splits the name like that :

aVeryLongFilena
meJustAsAnExam
ple

Dolphin can already split filenames into several lines using some characters : spaces and underscores, afaik.

It would be great if some mechanism could split camel case filenames.
The logic would be like : if the filename doesn't contain any space nor underscore but is too long to fit on one line, split it after a lowercase character followed by an uppercase character.

I would greatly appreciate if this feature could be added in the future to Dolphin.

Thanks to all for Dolphin and the Whole KDE project. I really enjoy using it everyday since years.

Hyoga
Comment 1 Christoph Feck 2020-06-05 00:31:33 UTC
Dolphin uses Qt to wrap the label, so it needs to be added there. Please suggest a smarter implementation of the "wrap anywhere" mode directly to Qt developers via https://bugreports.qt.io/
Comment 2 Hyoga 2020-06-05 13:44:09 UTC
Thanks for the advice.
I opened this ticket: https://bugreports.qt.io/browse/QTBUG-84734