Bug 494681 - SVG transparent part rendered as white thumbnails in Wallpaper menu
Summary: SVG transparent part rendered as white thumbnails in Wallpaper menu
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_wallpaper (show other bugs)
Version: 6.2.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-13 16:36 UTC by FishBoneEK
Modified: 2024-11-26 10:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
SVG in question (2.03 KB, image/svg+xml)
2024-10-13 16:36 UTC, FishBoneEK
Details
Screenshot of the thumbnail in Wallpapers menu (8.19 KB, image/png)
2024-10-13 16:37 UTC, FishBoneEK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FishBoneEK 2024-10-13 16:36:40 UTC
Created attachment 174780 [details]
SVG in question

SUMMARY
In Wallpaper menu of System Settings, if part of the SVG is transparent (e.g. there's no background, only foreground objects that aren't large enough to cover the whole SVG), the transparent part is rendered as white in the thumbnail. 

STEPS TO REPRODUCE
1. Have such an SVG in your Wallpaper mene

OBSERVED RESULT
Transparent part looks white

EXPECTED RESULT
Should stay as transparent as in thumbnails rendered by Dolphin

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
SVG attached.
Comment 1 FishBoneEK 2024-10-13 16:37:21 UTC
Created attachment 174781 [details]
Screenshot of the thumbnail in Wallpapers menu