Bug 91175

Summary: Files with "NotShownIn" are no longer validated correctly
Product: desktop-file-utils Reporter: Christoph Wickert <cwickert>
Component: generalAssignee: Vincent Untz <vuntz>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1196322
Whiteboard:
i915 platform: i915 features:
Attachments: Example desktop file

Description Christoph Wickert 2015-07-01 11:40:04 UTC
Created attachment 116845 [details]
Example desktop file

According to http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys "NotShownIn" is a valid key, however when trying to validate that contains it, desktop-file-validate errors:

  file contains key "NotShownIn" in group "Desktop Entry", but keys extending 
  the format should start with "X-"

Please find an example desktop file attached. The same used to validate fine with earlier versions of desktop-file-utils.
Comment 1 Vincent Untz 2015-07-01 11:46:19 UTC
It's NotShowIn, not NotShownIn :-)
Comment 2 Christoph Wickert 2015-07-01 13:08:05 UTC
D'oh! Sorry for the noise.

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.