https://bugs.kde.org/show_bug.cgi?id=394800

            Bug ID: 394800
           Summary: Kirigami tints icons all black when using additional
                    images
           Product: frameworks-kirigami
           Version: Master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Not decided

Created attachment 112928
  --> https://bugs.kde.org/attachment.cgi?id=112928&action=edit
Minimal app to reproduce the problem

While working on Subsurface-mobile I noticed Kirigami is tinting external icons
totally black.

This does not happen to breeze icons, but it does happen to additional images
used (both png and svg).

I traced the problem to kirigami/src/desktopicon.cpp. On lines 504-514 there is
a check to decide when to tint. After the QPainter fills the image it turns
black.


Reproduced using:
- Kubuntu 18.04, MacOS 10.13.4 and iOS 11.3
- Qt 5.10.1 and 5.11.0 downloaded directly from qt.io

Attached is a simple application that reproduces the problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to