STEPS TO REPRODUCE 1. run `kcm_desktoptheme` or `systemsettings kcm_lookandfeel` 2. Click on "Get new [thing]" 3. Try to install anything OBSERVED RESULT kf.newstuff.core: Install: "ROUNDED DARK" from "/tmp/NaGfeK-com.github.varlesh.rounded-dark.tar.gz" kf.package: Couldn't open metadata file "/tmp/NaGfeK-com.github.varlesh.rounded-dark.tar.gz" "/tmp/systemsettings-rBRSOs/com.github.varlesh.rounded-dark/" EXPECTED RESULT It downloads and installs ADDITIONAL INFORMATION Only seems to affect Global themes. Using the GHNS dialog to download color schemes and cursor themes works.
Can't install locally either; the KCM says, "Theme installation failed." which unfortunately is not very descriptive. But maybe the root cause is the same.
Same thing on KDE Neon Unstable. I cannot install theme from locally or from kde store
The cause seems to be that most/all global themes use destop file metadata instead of JSON metadata
I know that Marco added some compatibility so Plasma Themes with metadata.desktop still work. But I guess then installing will fail...
Ok, so then I guess we need to make sure they can be downloaded using GHNS so that the compatibility work that was added in Plasma will let them be installed.
same issue still happening to me on latest dev build
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3638
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1018
https://invent.kde.org/frameworks/kpackage/-/merge_requests/91 Adds the ability for KPackage to install packages without metadata files. Also, it allows package structures to define compatibility code.
Git commit 114d6fd1ec65145efe74779a4f70e031e1108d36 by Alexander Lohnau. Committed on 19/12/2023 at 13:24. Pushed by alex into branch 'master'. Don't require metadata.json for installing package M +0 -1 src/kpackage/packagejob.h M +1 -11 src/kpackage/private/packagejobthread.cpp https://invent.kde.org/frameworks/kpackage/-/commit/114d6fd1ec65145efe74779a4f70e031e1108d36
Git commit a51505385047b201a011b9b70e595348c0e92e01 by Alexander Lohnau. Committed on 19/12/2023 at 17:10. Pushed by alex into branch 'master'. PackageJobThread: Read metadata from KPackage rather than metadata.json file We need to load the metadata from the package later on anyway. This ensures that the plugin ID the API consumer might utilize is also the value we append to the path. Meaning the assumption that <packageroot>/<pluginId> points to the dir on disk is still true. M +7 -15 src/kpackage/private/packagejobthread.cpp https://invent.kde.org/frameworks/kpackage/-/commit/a51505385047b201a011b9b70e595348c0e92e01