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

Sascha Silbe sascha-ml-reply-to-2010-3 at silbe.org
Thu Oct 14 04:38:57 EDT 2010


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.

Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101014/56d2e7fd/attachment.pgp>


More information about the Sugar-devel mailing list