[haiku-bugs] Re: [Haiku] #10071: No attributes of MIME "application/*" in Tracker's "Attributes" menu

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 13 Apr 2014 19:12:05 -0000

#10071: No attributes of MIME "application/*" in Tracker's "Attributes" menu
   Reporter:  Giova84    |      Owner:  axeld
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:             |    Version:  R1/Development
  Kits/Storage Kit       |   Keywords:  People files lacks attributes view
 Resolution:             |  in Tracker
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  x86

Comment (by bonefish):

 We do already add an application super type to the system package. The
 problem is that other packages that include an application MIME sub type
 may will include the directory as well and will shadow the system package
 one, if theirs is newer.

 Not sure what the best solution is. I see two possible approaches: 1.
 Change how the super types are stored in the MIME DB, i.e. use a separate
 file (e.g. ".super") instead of attaching the attributes to the directory
 itself. 2. Solve the directory shadowing issue at the packagefs level.

 For the latter there are different options: a) For a directory the
 attributes of all the merged directories from the respective packages
 could be merged, similar to how the contents of the directories are
 merged. b) Instead of choosing the newest directory as a representative
 for the merged directory node, we could choose the one with the most
 attributes. c) We could introduce a special marker attribute to override
 the time criterion and tag the super type directories in the system
 package accordingly.

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

Other related posts: