Port away from using desktop files for Plasma Theme metadata
Closed, ResolvedPublic

Description

Currently we have both config and metadata in the metadata.desktop files. This means we can not simply convert the desktop files to json, but currently need to install the desktop files and convert them to json at runtime, every time kpackage queries the respective packages

My proposal would be to store the config separately. From looking at the code, it seems like the plasmarc filename is somehow used when reading, but not consistently checked before the metadata.desktop file is opened.

alex created this task.Mar 5 2022, 5:32 AM
alex claimed this task.Mar 5 2022, 4:19 PM
alex added a comment.Mar 6 2022, 7:55 AM

https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/465 Is the current draft for fixing it on the frameworks side

alex moved this task from Backlog to In Progress on the KF6 board.Mar 24 2022, 7:37 PM
alex moved this task from In Progress to Done on the KF6 board.Jul 9 2022, 7:56 AM
alex closed this task as Resolved.

The MR landed and all providers inside of Plasma have been ported.