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

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 18 Apr 2014 18:56:08 -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):

 Replying to [comment:15 axeld]:
 > What to do if there are two special markers? Newer one wins?

 Sure. I don't think this will really happen in practice, though. The only
 cases I can think of are when one package provides a directory structure
 with extra attributes on some directories and other packages provide
 additional entries within the structure.

 > Anyway, I would prefer 2a), but that's not surprising, isn't it? :-)

 Yeah, it would be natural to merge all aspects of directories, i.e. not
 only entries, but also attributes. It's just relatively expensive to do
 that. I don't think it is reasonable to do the attribute merging live --
 for some directories many or even all packages will take part, and the
 management of indices needs to be taken into account as well -- so that
 needs to happen at package activation time and an additional layer of
 objects is needed for the (directory) attributes.

 Since I can't think of any situation where we actually need the attribute
 merging, I don't think it's worth the overhead.

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

Other related posts: