[haiku-development] Re: MimeType aliases.

Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote:
 ...
> MimeType aliases

+1 (How many years has this idea been around!)

I like the listview subitem design Stephan suggested.

> supertype    (eg. audio/)
  > subtype    (eg. mpeg)
      alias 1  (eg. x-mpeg)
      alias 2  (eg. mp3)
    subtype b
    subtype c

Behavior: 
On selection of aliases, skip to subtype.

There are already buttons "Add..." and "Remove" below the listview, 
which could be used for aliases too, so there's no pressing need for a 
context menu.

There's a tiny issue with the items in the list view: visual comparison 
of the MIME strings of the subtype and its alias(es) can not be done 
directly if the subtype has a short description (AKA Type name), which 
is shown in place of its MIME substring. Not without double-clicking 
the subtype to open the  floater window displaying the type's internal 
name. But this probably doesn't matter all that much, and I can't think 
of a cleaner user interface anyway.

If there was an option to "Show internal names", listing every type by 
its MIME substring, it would be easier to directly compare aliases to 
their real types. I think I've missed such a "naked MIME" feature on a 
few occasions, when searching the list for a specific one.

/Jonas.


Other related posts: