[haiku-bugs] Re: [Haiku] #10071: No custom attributes in Tracker's "Attributes" menu

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 13 Apr 2014 16:28:10 -0000

#10071: No custom attributes in Tracker's "Attributes" menu
-------------------------+-------------------------------------------------
   Reporter:  Giova84    |      Owner:  axeld
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:             |    Version:  R1/Development
  Applications/Tracker   |   Keywords:  People files lacks attributes view
 Resolution:             |  in Tracker
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  x86
-------------------------+-------------------------------------------------
Changes (by anevilyak):

 * cc: bonefish (added)


Comment:

 This may relate to some of the changes that came about as a result of
 package management. When Tracker is enumerating the set of mimetypes in a
 folder in order to add their respective attributes to the menu, it breaks
 each one down into its supertype first, in order to add a top level menu
 for that (i.e. application, audio, video).

 However, one of the steps involved in that is checking if the type in
 question is actually installed, which involves reading the META:TYPE
 attribute on the corresponding folder/file. For mime_db/audio and
 mime_db/video, this is present, but for application it is missing (I
 should note, at least over here it's missing on both the system folder and
 its corresponding twin in ~/config/settings/mime_db/).

 As a consequence, these mime types wind up getting skipped, and their
 corresponding attributes don't get added. As of now, I'm uncertain as to
 who is responsible for populating/writing that attribute though.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10071#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: