Re: mime aliases and inheritance vs. removed associations

2014-11-09 Thread Jerome Leclanche
Agreed on aliases. As far as inheritance goes... Let's look at it on a case by case basis. The user opens an HTML file. It opens with Firefox. They set notepad as the app for HTML -> Notepad can now read HTML files. Notepad should not implicitly be suddenly interested in all text files. Let's im

mime aliases and inheritance vs. removed associations

2014-11-09 Thread Ryan Lortie
hi, One more nag about the mimeapps spec, while we're at it. We didn't take any care to think about aliases and inheritance. Aliases are probably relatively easy: I think we should aim to only ever store the canonical mime type names in the file, and if we are processing a file with non-canonica

Re: small nag about mime apps spec

2014-11-09 Thread Ryan Lortie
hi, On Sun, Nov 9, 2014, at 11:41, Ryan Lortie wrote: > There is one other case, though, that is not exactly equivalent, no > matter what we do. In the case that the removed association is the > _only_ default app available, then what? I suppose we select one other > non-default app at random to

Re: small nag about mime apps spec

2014-11-09 Thread Ryan Lortie
hi, On Fri, Nov 7, 2014, at 02:51, David Faure wrote: > Well, either you have to resolve this question at the time of marking the > application as removed (moment 1), or you have to resolve this question > at the > time of launching a file of that type (moment 2). In essence it's the > same > q