#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 Applications/Tracker | Keywords: People files lacks attributes view Resolution: | in Tracker Blocked By: | Blocking: Has a Patch: 0 | Platform: x86 -------------------------+------------------------------------------------- Comment (by anevilyak): After a bit more digging, the problem appears to be as follows, as best I can tell: For all the other top level mime types, we explicitly install an entry which defines attributes that all subtypes have in common (i.e. track and artist for audio). This in turn results in the supertype folder getting the full complement of attributes, including META:TYPE. However, we do no such thing for application/, as the types there don't really have anything in common. As such, that supertype folder is most likely simply created indirectly as a result of creating the first application/ subtype we come along. {{{ DatabaseLocation::_CreateType() }}} (storage/mime/DatabaseLocation.cpp) does this by simply creating the directory and nothing more, and as such, the application supertype never winds up being registered as installed. Assuming this analysis is correct, this presents two possible resolutions: 1) Add a dummy application supertype entry during the system package build simply to house the meta attribute, or 2) when DatabaseLocation is forced to create the supertype folder on a subtype's behalf, it always at least writes the type attribute for the respective supertype folder. Thoughts? -- Ticket URL: <https://dev.haiku-os.org/ticket/10071#comment:7> Haiku <https://dev.haiku-os.org> Haiku - the operating system.