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

            Bug ID: 411876
           Summary: Plasma themes require non-FDO-compliant .desktop files
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: ad...@happyassassin.net
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Sorry if this is the wrong component, it's very hard to figure out the right
one.

To create a working Plasma 5 theme, you are required to include a
metadata.desktop file which seems not to be compliant with the FDO spec:

https://techbase.kde.org/Development/Tutorials/Plasma5/ThemeDetails (Plasma
theme instructions)
https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
(FDO spec)

The instructions for Plasma cover sections named 'Settings', 'Wallpaper',
'ContrastEffect', and 'BlurBehindEffect' (it seems a section named 'Branding'
is also possible). However, none of these sections is defined in the FDO spec,
and the spec says:

"Alternatively, fields can be placed in their own group, where they may then
have arbitrary key names. If this is the case, the group should follow the
scheme outlined above, i.e. [X-PRODUCT GROUPNAME] or something similar. These
steps will avoid namespace clashes between different yet similar environments."

i.e. when inventing a new group that is not covered in the spec, it is supposed
to have X- prepended to its name (and ideally X-PRODUCT, e.g. X-Plasma or X-KDE
in this case). desktop-file-validate enforces the spec in this way: if a
.desktop file contains a non-standard group that is not prefixed with X-,
validation will fail, so these metadata.desktop files fail validation.

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

Reply via email to