This (edit_line keyboard focus blocking keyboard listeners) is a bug
in the current Windows and OSX versions of shoes.  I believe it is
prioritized for a later release.

In the meantime, I believe it works in Linux.

On Wed, Mar 4, 2009 at 11:04, Thibaut Barrère <[email protected]> wrote:
> Hi,
>
> I'm working on a shoes app that scans barcodes. The barcode reader
> exposes itself as a keyboard interface, so it basically types in
> characters that I intercept using keypress in shoes.
>
> At some point though, I need to enter data on the page (using edit_line).
>
> As soon as the edit_line has the focus, there's no way to unfocus it
> (so my keyboard intercepter doesn't work anymore).
>
> Is there a way to remove the focus or to indicate keystrokes should be
> intercepted by the page again ?
>
> (A work-around would be to use a dummy input box that keeps the
> barcode reading busy).
>
> any idea will be most welcome,
>
> cheers,
>
> Thibaut
>



-- 
alexander rakoczy
http://arakoczy.com

Reply via email to