[interfacekit] BRoster::FindApp()

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: "OpenBeOS Interface Kit" <interfacekit@xxxxxxxxxxxxx>
  • Date: Thu, 15 Jan 2004 00:59:16 +0100 CET

Hi,

I just noticed that the BeOS implemenation of BRoster::FindApp() and 
BRoster::Launch() just fail if the preferred application of a given 
MIME type is not existing anymore (I replaced the original ShowImage 
with our version).

Wouldn't it be more sensible to search a new default application 
instead of just failing? The system provides enough information for 
this, anyway; i.e. it could simply remove the preferred app signature 
and try again (so that the one from the super type can come into play).
If that also fails, it should have a decent explanation on how to fix 
it in the error message.

Bye,
   Axel.


Other related posts: