[Sugar-devel] Use ObjectChooser filtering by activity

Daniel Narvaez dwnarvaez at gmail.com
Mon Jun 17 09:37:40 EDT 2013


I like the idea of disabling the filter in this objectchooser.


On 17 June 2013 15:34, Simon Schampijer <simon at schampijer.de> wrote:

> On 06/13/2013 06:35 PM, Daniel Narvaez wrote:
>
>> On 13 June 2013 18:26, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
>>
>>  On 13 June 2013 18:23, Gonzalo Odiard <gonzalo at laptop.org> wrote:
>>>
>>>
>>>> That is the reason is better modify the behavior of the activity filter,
>>>> than allow any random list of mime types.
>>>>
>>>>
>>> I'm not sure to understand this. You are proposing to show all the files
>>> with mime types the activity can open right? That's pretty much a list of
>>> random mime types as far the filtering combo is concerned... You can't
>>> select "Anything", you can't select a generic type and you can't select
>>> an
>>> activity (this might actually be the nearest to accurate, but it's not
>>> quite because the files are not necessarily created by the activity).
>>>
>>>
>> Oh I see, you are talking about the approach in your patch. That's still
>> quite tricky though... Would you keep the current filtering behavior for
>> journal? Would it apply to object chooser only? To certain object choosers
>> only?
>>
>>
> Yes, the trickiest bit is how to display that in the UI. Non of the
> current filters does match this case here, using the activity icon would
> confront with what it currently means in the filter, as it means an object
> of that activity.
>
> Maybe this special objectchooser has just no filter sub-toolbar? And the
> message when no matching object could be found reads as "No entry found
> that can be opened with Activity [Name of activity]."
>
> Simon
> ______________________________**_________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.**org <Sugar-devel at lists.sugarlabs.org>
> http://lists.sugarlabs.org/**listinfo/sugar-devel<http://lists.sugarlabs.org/listinfo/sugar-devel>
>



-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130617/d7ac9ba6/attachment.html>


More information about the Sugar-devel mailing list