appcenter icon indicating copy to clipboard operation
appcenter copied to clipboard

Brand colors are not validated

Open danirabbit opened this issue 2 years ago • 0 comments

What Happened?

Apps that use invalid values for their brand color can end up with illegible app info pages

Steps to Reproduce

Screenshot from 2023-05-30 09 35 18

See capnet assist for example

Expected Behavior

We should validate brand colors. According to the spec, this has to be a hex color: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-branding

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

danirabbit avatar May 30 '23 16:05 danirabbit