I changed the icon theme and have rebooted since making that change, which in previous versions would cause the base folder that would be used under the little image previews shown over each folder containing images would be updated to the new icon theme, however in KDE SC 4.9.90, Dolphin 2.1.85, it is still using the oxygen folder. If I hover my mouse over one of these folders, the side information view actually shows the correct folder icon being used under the image previews. I was able to see this in all view modes (icon, list, tree). Reproducible: Always Steps to Reproduce: 1. Change the icon theme (Potenza in my case - installed from a deb file) and reboot/relog 2. Enable Previews 3. Find a folder containing images and ensure you have allowed the thumbnailer to create thumbnails for the images contained in the folder 4. Go to the path one above the folder containing images Actual Results: You will see an oxygen folder with little preview images on top of it. Expected Results: The base folder from the selected icon theme with little preview images on top of it.
Created attachment 75813 [details] Screenshot showing the problem
Could you please check with "keditfiletype inode/directory" which icon you selected as the default folder icon?
So, I seemed to have worked around it by switching back to the oxygen icons and then back to potenza. Since doing that, it is choosing the correct icon as the base. I did run your command via krunner and it showed the oxygen folder, but when I clicked the icon it switch to the potenza icon. I am going to create a new user and see if I can reproduce there to rule out any issues with my users configuration environment.
This still occurs in KDE SC 4.10.1. It happens 100% of the time when I switch to a different icon set and takes some amount of switching back to the previous icon set and then to the new one again to get this to fix.
If this involves switching icon themes, could you check if removing /var/tmp/kdecache-<user>/icon-cache.kcache helps resolving the issue?
If you can provide the information from comment #5, please add it.
To further investigate this issue, KDE developers need the information requested in comment #5. If you can provide it, or need help with finding that information, please add a comment.
Sorry for taking so long to get back to you. The answer on deleting the icon-cache.kcache file is that it doesn't help. I first tried by switching to the theme, verifying the problem existed, then deleting the cache and refreshing dolphin's view. I then closed dolphin, deleted the icon-cache again, opened dolphin, and saw that the problem was still there. I then deleted the cache, switched to the oxygen icon theme, deleted the cache again, switched to the new theme, and opened dolphin to check if the issue was still there and it was. Thanks for the help. Any other suggestions?
Well, I debugged this, and it _is_ related to caching. Simply deleting the icon cache, however, will not help, because the kdeinit4 process (which spawns the kio_thumbnailer sub process) still keeps a lock on the cache file. So to make the icons appear correctly after changing the icon theme, you would have to: - delete the icon cache, as shown in comment #5 - run "kdeinit4" in Konsole to restart kdeinit4 process - restart Dolphin to terminate the kio_thumbnail process All of these should somehow be automatic. Reassigning.
*** Bug 334574 has been marked as a duplicate of this bug. ***
Is there anyone working on this or anyone I can talk to about how to try and fix this?
Sure, you can try. Comment #9 has some hints what needs to be done when the icon theme is changed. If you have questions, please ask on the kde-core-devel mailing list. But to be honest, I doubt it is possible to fix it with the current architecture, though. In other words, plan for major architectural changes.
Is this still an issue with KDE Frameworks 5.44 or greater?
(In reply to Nate Graham from comment #13) > Is this still an issue with KDE Frameworks 5.44 or greater? Working with the Arch Linux, KF 5.44, KDE Applications 17.12.3, Icon theme KFaentza: https://imgur.com/yoMntIQ
For me, this issue doesn't exist any more. I am on KDE Neon.
Thanks!