SUMMARY STEPS TO REPRODUCE 1. Create new folder and name it 'Games' 2. 3. OBSERVED RESULT Normal folder icon is used EXPECTED RESULT Games icon should be used SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: KDE Neon in Docker (available in About System) KDE Plasma Version: 5.14.80 KDE Frameworks Version: 5.53 Qt Version: 5.11.2 ADDITIONAL INFORMATION Not sure about the right 'Product'
We will have a special Games folder icon as of KDE Frameworks 5.53. Are you asking for one in the first place, or asking that creating a folder called "Games" should automatically get this icon?
I know you recently added a games icon and I can already choose it manually, but this should be done automatically, and that is what I am asking for.
Creating folders with following names: Onedrive, Text, Scripts, Templates, ... ; should also give them special icons, right?
We have special icons for all standard paths Qt has (e.g. home, tmp, Pictures, Videos, etc), there's no "the games folder", and I would advise against having a random list of file names that cause magic icons to appear.
(In reply to Kai Uwe Broulik from comment #4) > We have special icons for all standard paths Qt has (e.g. home, tmp, > Pictures, Videos, etc), there's no "the games folder", and I would advise > against having a random list of file names that cause magic icons to appear. So, you are saying, that altough there are icons for various types of folders, we shouldn't use them? Also folders like downloads, videos, music and others have their icons changed, so why not games and others?
Sure, you can assign the icons as you please, but there's no XDG_GAMES_DIR standard, so we can't automatically do that.
Can you check if there is a folder named 'Games' in home folder (or anywhere) and change its icon?
I guess, feel free to toy around with [1]. [1] https://cgit.kde.org/kio.git/tree/src/core/kioglobal_p.cpp
(In reply to Kai Uwe Broulik from comment #8) > I guess, feel free to toy around with [1]. > > [1] https://cgit.kde.org/kio.git/tree/src/core/kioglobal_p.cpp Not sure if I understand the code corectly (as I am not a dev), but can we just add a line like this: { $HOME/Games, QStringLiteral("folder-games") }, ? Or maybe "$HOME/Games" ? Or even "~/Games" ?
Whenever I buy a new disk, I create some folders such as "Archive", "Backup", "Work" etc. on them, and assign various preferred icons. I guess what dolphin/kio could offer is a list/configuration file where a user can add his preferred icons for certain folder names. I do not like hardcoding associations in source code; names might be language dependent, but I could still have German locale, but create a folder called "Games".
Created attachment 116476 [details] We could add the settings here We could add the option here, right? We would also add a new line for games folder path.
I've submitted a patch that adds a generic method of applying default icons to non-XDG dirs by matching both the localized string as well as the English string literal, and populated it with ~/Games by default. https://phabricator.kde.org/D17167
I am sorry, but is this patch included in KDE frameworks 5.54? I am asking, because if yes, then it doesn't seem to work.
The patch has not been accepted, which is why the bug isn't marked as RESOLVED yet.
I'm afraid my patch was rejected for various good reasons. So it doesn't look like we'll be doing this, sorry. :(