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

            Bug ID: 468476
           Summary: KCM doesn't show name of third party theme if it uses
                    metadata.json instead of metadata.desktop
    Classification: Applications
           Product: systemsettings
           Version: 5.27.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_desktoptheme
          Assignee: plasma-b...@kde.org
          Reporter: herzensch...@gmail.com
  Target Milestone: ---

Very easy to reproduce:

Create a file ~/.local/share/plasma/desktopthemes/electrostorm/metadata.json
with the following contents:


{
    "KPlugin": {
        "Authors": [
            {
                "Name": "A Plasma Theme Designer",
                "Email": "my@mail.address",
            }
        ],
        "Name": "Electrostorm",
        "Description": "Brings a very dynamic electrical energy atmosphere to
the desktop",
        "Id": "electrostorm",
        "Version": "0.1",
        "Category": "",
        "EnabledByDefault": true,
        "License": "GPL",
        "Website": ""
    },
    "X-Plasma-API": "5.0"
}


It will show up with an empty name in System Settings -> Appearance -> Plasma
Style. You don't even need any other file to reproduce.

The equivalent metadata.desktop shows up correctly:


[Desktop Entry]
Name=Electrostorm
Comment=Brings a very dynamic electrical energy atmosphere to the desktop

X-KDE-PluginInfo-Author=A Plasma Theme Designer
X-KDE-PluginInfo-Email=my@mail.address
X-KDE-PluginInfo-Name=electrostorm
X-KDE-PluginInfo-Version=0.1
X-KDE-PluginInfo-Website=
X-KDE-PluginInfo-License=GPL
X-Plasma-API=5.0

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

Reply via email to