[Tfug] Virtual Keyboard

jblais joe.blais at pti-instruments.com
Fri Feb 22 09:09:59 MST 2008


Don -


> In practice, many "widget" implementations don't
> react to *touches* (key DOWN events) but, rather,
> actuate on *releases* (key UP events).  And, further,
> they tend to ignore the key UP event if it wasn't
> immediately preceded by a key DOWN event OF THE SAME
> "key"!  So, user can wipe screen as long as he lifts
> the towel off someplace *other* than where he
> initially touched the screen...
>


Right - this is a bit of a problem.  We are using wxWidgets, and both in
Linux (Fedora 5), and Winders, the buttons have a tendency to be "debounced"
(?) too much.  That is, because we are using a touch screen, the mouse isn't
always moving. No touch - no movie! So If you touch a button (leave the
button) the mouse stays there.  Then if the screen is redrawn (?or not? or
perhaps buttons disabled after the "click" and then re-enabled after the
event, and you touch the same button where the "mouse" pointer is already
at, nothing happens.  So you need to touch another place, or even touch the
button, then slide your finger off the button, and then back onto the
button, and then lift your finger in order to get the "click" event.

I notced this first with the touch screen on Linux, and thought it was an X
thing, but the same happens, sometimes, on my desktop with a real mouse when
doing the same "action". Is there anything to fix that?

Does this happen to any other Linux, or windowing environment?

Joe








More information about the tfug mailing list