https://bugs.kde.org/show_bug.cgi?id=435873
Bug ID: 435873 Summary: Kirigami.Icon is autocolored even though it should not Product: frameworks-kirigami Version: 5.81.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: notm...@gmail.com Reporter: mvourla...@gmail.com Target Milestone: Not decided SUMMARY Latte Git version is using Kirigami.Icons these days. I opened Latte git version under Gnome 40. The problem is that some icons are forced painted even though they should not. The issue is reproduced only under Gnome40 and not Plasma because Plasma.LibTaskmanager provides something different Kirigami.Icon.source . By checking https://github.com/KDE/kirigami/blob/master/src/icon.cpp#L309 I think lines #309-320 is the issue. In these lines if guessMonochrome() function provides faulty results then Kirigami.Icon is forced to be painted ALWAYS. To check the scenario I provided isMask:false and color:"red" and the icon was painted RED even though it should not. An icon that guessMonochrome() fails is from Materia Icon Theme the kwrite/kate icons. STEPS TO REPRODUCE 1. Use Materia Icon theme 2. Open Latte Git version under Gnome 40 3. Open KWrite OBSERVED RESULT KWrite icon is monochromatic painted even though it should not EXPECTED RESULT KWrite icon should not be monochromatic painted SOFTWARE/OS VERSIONS Linux/Gnome: Gnome 40 (available in About System) KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.81.0 Qt Version: 5.15.2 -- You are receiving this mail because: You are watching all bug changes.