Bug 423476 - Inapppropriate warnings about theme contexts
Summary: Inapppropriate warnings about theme contexts
Status: REPORTED
Alias: None
Product: frameworks-kiconthemes
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-25 08:22 UTC by RJVB
Modified: 2020-06-25 08:22 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 RJVB 2020-06-25 08:22:47 UTC
SUMMARY
KIconThemes spews lots of warnings about (presumably) perfectly valid icon themes like Adwaita.

STEPS TO REPRODUCE
1. Select a non-KDE icon theme like Adwaita, or just have it installed
2. Open any application using the non-KDE theme, or do `kcmshell5 icons`

OBSERVED RESULT
Lots of warnings like
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/opt/local/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/opt/local/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/opt/local/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/opt/local/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/opt/local/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/opt/local/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/opt/local/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/opt/local/share/icons/Adwaita/scalable/ui/"


EXPECTED RESULT
Only warnings about contexts that are not in the relevant standard(s), and preferably only when the theme is actually being loaded at the user's request (i.e. not when reading the minimal information required to compile a list of available icon themes).