Created attachment 158937 [details] issue screen shot It is possible to to select an SVG file as the icon of an image tag. It has been so for quite a while. The Tags view used to display them correctly. It is not the case anymore. Instead of the actual chosen icon, a standard "no file" icon (?) is displayed. In my case, I get a monochrome "no parking sign" icon instead. STEPS TO REPRODUCE 1. Select an image in the album view 2. Select the "Captions" --> "Tags" view in the right pannel (it probably works alike in the left pannel) 3. If there is no existing tag, right-click and select "New tag". If a tag already exists, right-click on it and select "Properties" 4. In the dialog box that appear, click the button next to the "Icon: " text 5. In the "Select Icon" dialog, click the "Browse" button: 6. From the file selection modal dialog select any svg file and click "Open" 7. Confirm/Accept all open dialogs OBSERVED RESULT The chosen svg icon is not displayed as expected. EXPECTED RESULT The chosen svg icon is displayed as it was the case in earlier (6.x for sure, 7.x I do not know for sure). SOFTWARE/OS VERSIONS Windows: N/A macOS: N/A Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION I only report this issue now, but it has been around for many a month now, maybe a year or slightly more. Before that issue occured, I used to favor SVG icons for my labels (I used them extensively) and it worked very well. It stopped to work somewhere in the 7.x series (not sure) . This issue does not seem to be linked to Ticket 422900.
Hi, SVG rendering is delegate to Qt plugin, which is optional. There is no code to handle SVG in digiKam. So, check that qt plugin is installed on your system. Best Gilles Caulier
Go to Setup/Plugins/Image Loader, and check if Qt plugin support SVG. If no, look the Image Magick plugin which has also a support for SVG, if Qt do not provide the right plugin. https://docs.digikam.org/en/setup_application/plugins_settings.html For my computer (Kubuntu 23.04), both are present. Gilles
Git commit 8e75b74ca5f93ada4ef9d65c9288ebcbe9de0ccb by Maik Qualmann. Committed on 14/05/2023 at 14:09. Pushed by mqualmann into branch 'master'. add support to load external icon files FIXED-IN: 8.1.0 M +1 -1 NEWS M +18 -1 core/libs/album/engine/albumthumbnailloader.cpp https://invent.kde.org/graphics/digikam/commit/8e75b74ca5f93ada4ef9d65c9288ebcbe9de0ccb
Git commit 39f2f7e70829a3de623ffa2d77487c224019e426 by Maik Qualmann. Committed on 14/05/2023 at 14:19. Pushed by mqualmann into branch 'master'. check loading external pixmap M +11 -5 core/libs/album/engine/albumthumbnailloader.cpp https://invent.kde.org/graphics/digikam/commit/39f2f7e70829a3de623ffa2d77487c224019e426
Thanks a lot! Very fast answer & fix! Best Regards Fred