Bug 479159 - Aurorae engine references "fill" element in svg if it have both "fill" and "style" element
Summary: Aurorae engine references "fill" element in svg if it have both "fill" and "s...
Status: REPORTED
Alias: None
Product: frameworks-ksvg
Classification: Frameworks and Libraries
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-29 14:35 UTC by Hiroki Ando
Modified: 2024-01-02 11:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroki Ando 2023-12-29 14:35:53 UTC
SUMMARY
The Aurorae engine references the "fill" element in SVG files even if both "fill" and "style" elements are present to define its color.

Based on my research, SVG viewers prioritize the color definition in "style" elements, and Inkscape only edits "style" elements. However, the Aurorae engine references "fill" elements, so the color can't be edited using Inkscape if there is a "fill" element in the SVG file.

I am an elementary user of KDE Plasma and attempted to customize the Aurorae theme "White Sur" (https://store.kde.org/p/1398835).

I'm also a beginner in English, so I apologize for any mistakes.

STEPS TO REPRODUCE

Download the White Sur theme from https://store.kde.org/p/1398835.
Edit the decoration.svg file with Inkscape (change the color of the decoration-top object).
Notice that you can't change its color except for decoration-topleft and decoration-topright objects.
OBSERVED RESULT
The window decoration color doesn't change.

EXPECTED RESULT
The window decoration color should change.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10