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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Apr 2010 14:11:24 -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 axeld):

 StyledEdit is fine as a generic text/ handler IMO. What you tried to solve
 was what should happen when the preferred handler is missing in action,
 but ultimately this is a configuration issue. Your change weakens the
 preferred application meaning for no good reason; you are making the user
 configuration of this a lot harder than necessary this way, as one has to
 choose a preferred application for all sub-types now to prevent some
 random application from coming up.

 If you want to have a smart solution, I think the best would be to only
 fall back to an application supporting the type instead of a preferred
 one, if a) there is no preferred app, or b) if the sub-type already
 overrides the preferred super-type application (but the override couldn't
 be opened). IMO this would neatly solve your problem without the drawbacks
 your solution introduced.

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

Other related posts: