I agree symlinks in italic are unreadable.
I suspect the feature useful for developers, and as kde is developed by developers to develop kde, likely it won’t be changed.
it’s easy to fix, just commenting out two lines.
grab the source from your distro, not from git. for fedora :
dnf download --source dolphin
search for “italic”, and this file pops up.
/src/kitemviews/kfileitemlistwidget.cpp
then comment out where it adds the italics.
QFont KFileItemListWidgetInformant::customizedFontForLinks(const QFont &baseFont) const
{
// The customized font should be italic if the file is a symbolic link.
QFont font(baseFont);
// font.setItalic(true);
return font;
}
and another one
QFont KFileItemListWidget::customizedFont(const QFont &baseFont) const
{
// The customized font should be italic if the file is a symbolic link.
QFont font(baseFont);
// font.setItalic(data().value("isLink").toBool());
return font;
}
then compile it. I was using rpmbuild for the correct flags and whatnot but I find just straight cmake works fine. I just sudo cp the new dolphin binary to /bin
I compile in a toolbox to keep things tidy.
each time dolphin gets some little update, your binary will get wiped, so be aware.
I update once a fortnight, and have a script that grabs the source rpm, unpacks it, and opens the files I want to tweak, and then I can just paste in my tweaks, and have a little poke around at the same time.
I suppose the next step would be to add an if…then and a check box in the settings but I’m not a developer and can’t be arsed.