Bug 20189

Summary: menu-spec Categories: each Additional Category need Main Category
Product: Specifications Reporter: Stanislav Brabec <sbrabec>
Component: GeneralAssignee: Allison Lortie (desrt) <desrt>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: faure
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 20195    

Description Stanislav Brabec 2009-02-18 05:45:23 UTC
Spec says:

The Related Categories column lists one or more categories that are suggested to be used in conjunction with the Additional Category. Note that at least one Main Category must be included in the desktop entry's list of categories.

Implementors are (for a good reason) more strict: Only "Main Categories" listed in the "Related Categories" of a particular "Additional Category" are supported.

It has a good reason: Less strict interpretation would introduce large menu map for obscure combinations like "Game;FileTools;".


That is why the spec needs to be adjusted:

1) Split "Additional Category" table to two tables: "Additional Category" (intended for menu build) and "Additional Tag" or "Technology Category" (intended for technology specification). The split line should be done above "KDE".

2) Specify Main Category for all Additional Categories that miss one:

Amusement: Probably Game;Utility or Education

Electronics: Probably Science or Utility, maybe Development or Office

Engineering: Probably Education, Science, maybe Development or Research (bug
20186)

Documentation: Probably any (special tag)

Core: Probably any (special tag)
Comment 1 Stanislav Brabec 2009-02-18 05:50:10 UTC
Reference:
http://lists.opensuse.org/opensuse-packaging/2009-02/msg00096.html
Comment 2 Stanislav Brabec 2009-02-18 06:00:06 UTC
To prevent inconsistencies, a spec change may be useful:

OnlyShowIn and NotShowIn should allow tags listed in the new "Technology Category" table (and tags starting with "X-") instead of explicitly listing them.
Comment 3 Stanislav Brabec 2009-02-18 08:16:06 UTC
Forgot to add:

3) Change spec to:

-The Related Categories column lists one or more categories that are suggested
+The Related Categories column lists one or more categories that are permitted
 to be used in conjunction with the Additional Category. Note that at least one
 Main Category must be included in the desktop entry's list of categories.
Comment 4 Vincent Untz 2015-09-18 09:41:42 UTC
Sorry for the noise, reassigning to new (since 2 years) maintainers (Ryan & David).
Comment 5 David Faure 2016-08-20 08:40:40 UTC
The menu spec seems to be unmaintained, given the age of this bug report.
I can try to help, but an actual patch for the spec (which is in git on freedesktop.org, git/xdg/xdg-specs) would help.
Comment 6 GitLab Migration User 2019-02-16 12:28:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-specs/issues/2.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.