[haiku-bugs] Re: [Haiku] #5821: [FileTypes] some images open in WebPositive

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Apr 2010 14:28:03 -0000

#5821: [FileTypes] some images open in WebPositive
----------------------------------+-----------------------------------------
 Reporter:  diver                 |       Owner:  axeld         
     Type:  bug                   |      Status:  new           
 Priority:  normal                |   Milestone:  R1/alpha2     
Component:  Kits/Application Kit  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
 Platform:  All                   |    Blocking:                
----------------------------------+-----------------------------------------

Comment(by stippi):

 Ok we agree it's a configuration issue. What I don't agree with is that
 it's always better to fall back to the preferred application of the super
 type, even if a supporting application exists that would handle the
 specific type better than the preferred application of the super type.
 Consider the example of image/svg+xml. The user has conveniently
 configured ShowImage for image/* even though there may actually be image
 types, such as image/svg+xml, which ShowImage doesn't even handle at all.
 So I believe the misconfiguration is at the application level, when
 applications claim to support a specific type, even though they don't have
 a good reason for this at all. Indeed WebPositive directly supports
 image/png, but there is no good reason to inject this information into the
 MIME type database resolving system, since WebPositive is a web browser,
 not an image viewer.

 To address your specific proposal for a solution, I don't believe it would
 solve the issue. That there is no preferred type configured for the sub-
 type should be the common case, so how would that be different to what I
 implemented? And there being a misconfiguration with the preferred app
 missing should be the minority of cases, which is again addressed by my
 change.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5821#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: