[sugar] [PATCH] fix #6753 Activities should be able to specify "mime_types = */*"

Michael Stone michael
Mon Apr 28 18:31:00 EDT 2008


On Mon, Apr 28, 2008 at 10:32:48PM +0100, Martin Dengler wrote:
> On Mon, Apr 28, 2008 at 01:11:47PM -0400, Michael Stone wrote:
> > What sort of activity can handle */*?
> 
> Distribute.  The journal ;).  Possibly others; I don't know.  I'm not
> really the best person to justify #6753.

Distribute is an excellent example; thanks.

> > Can you think of any nasty things that activities might be able to
> > do by advertising suppport for '*/*'?

> Besides social-engineering/tricking kids into sending their data to
> someone maliciously?  

Well, what would happen if people installed lots of activities
supporting '*/*'? 

 * What happens if those are funky hidden activities like Read?

 * Would our Palettes scroll, or scale, or run off screen, or ...? 
 
 * Would the Journal be okay if all entries can be opened by, say, ten
   activities?

 * Does the Journal/DS's "default activity for this mime-type" selection
   mechanism function correctly with "*/*", "*", "*/foo", "foo/*", etc.
   mimetypes?

> [other comments]

Please keep submitting patches. You're doing a good job. I'm just using
your work to try to provoke discussion about how well our designs cope
with corner cases.

Best,

Michael



More information about the Sugar-devel mailing list