STEPS TO REPRODUCE 1. open Icons KCM 2. click on "Get new..." button 3. search for "dracula" 4. click on "Install" button of Dracula icons theme OBSERVED RESULT nothing happens EXPECTED RESULT the icon theme is installed SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.6.0 Graphics Platform: Wayland
Can confirm. Console log says: qrc:/qt/qml/org/kde/newstuff/private/entrygriddelegates/BigPreviewDelegate.qml:54: TypeError: Property 'install' of object ItemsModel(0x4c7b0b0) is not a function
Looks like the install button on the GridTileDelegate works, but not the other delegate types.
The situation appears to be messy; functions are called from: - newStuffModel - newStuffModel.engine - newStuffEngine Alexander, do you have some clarity on which one is right? A naive test of replacing `newStuffModel.install` with `newStuffEngine.install` everywhere seems to work, but I don't feel like I have enough context to feel confident that it's the right change, or that making this change for other functions would also be right.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/275
> - newStuffModel.engine > - newStuffEngine That refers to the exact same object ;)
Git commit a5197c9e4fa5940f645684c996ca1af3c85bfcb2 by Alexander Lohnau. Committed on 13/10/2023 at 07:47. Pushed by alex into branch 'master'. Ensure to call install/uninstall on quick engine instead of model M +1 -1 src/qtquick/qml/private/entrygriddelegates/BigPreviewDelegate.qml M +2 -2 src/qtquick/qml/private/entrygriddelegates/ThumbDelegate.qml https://invent.kde.org/frameworks/knewstuff/-/commit/a5197c9e4fa5940f645684c996ca1af3c85bfcb2