[Sugar-devel] [DESIGN] Read: focus after launching

Lucian Branescu lucian.branescu at gmail.com
Thu Oct 14 18:37:54 EDT 2010


On 14 October 2010 09:38, Sascha Silbe
<sascha-ml-reply-to-2010-3 at silbe.org> wrote:
> Excerpts from Simon Schampijer's message of Wed Oct 13 12:45:09 +0200 2010:
>
>> when working on the issue in Read that the dpad keys do not work
>> directly when in ebook mode [1], I postulated that Read when it comes up
>> should always grab the focus on the view so scrolling using the arrow
>> keys is directly possible.
>
> +1
> This is quite annoying (especially so since I usually scroll using the
> cursor keys, not a pointing device). I consider it a bug, but haven't
> bothered reporting it yet since there were more important ones (not
> working at all on recent distros for a start).
>
> Like Daniel I think that all activities (or all applications for that
> matter - I have the same problem with non-Sugar applications as well)
> should start with a sensible focus selected.
>
> We should check where focus gets assigned by default in activities that
> don't set it explicitly. Depending on the outcome (e.g. if it's in the
> tool bar by default), setting the focus in
> sugar.activity.activity.Activity.set_canvas() might be a good idea.

+1 on adding this to Read, don't know about other activities.

I'll do it as soon as I get time to fix Read.


More information about the Sugar-devel mailing list