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

            Bug ID: 422032
           Summary: ImageColors: paletteChanged not emitted if source
                    property is changed after object creation
           Product: frameworks-kirigami
           Version: Master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: jbb.m...@gmx.de
  Target Milestone: Not decided

SUMMARY
First of all: I'm not 100% sure this is a bug, possibly my user code is wrong.

If I set the source property of the ImageColors type on object creation,
everything works as expected, after some time paletteChanged() is emitted. But
if I set the source to something else later using java script, runUpdate() is
not called anymore, and no new palette is generated.

STEPS TO REPRODUCE
https://invent.kde.org/plasma/plasma-phone-components/-/merge_requests/66 can
be used to reproduce this. The relevant code is in
containments/homescreen/package/contents/ui/launcher/LauncherGrid.qml. The
source property is set on app startup.

OBSERVED RESULT
paletteChanged() is not emitted again.


EXPECTED RESULT
paletteChanged() is emitted again.


SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

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

Reply via email to