Re: [g-a-devel]AccessibleKeystrokeListener and keys logging



Le Mardi 26 Août 2003 15:19, Bill Haneman a écrit :
> Hi Bernard:
>
> You said, regarding KEYLISTENER sync types:
> > NOSYNC allows me to register my listeners, but I then steal the
> > event (I only want to log it and let the app consume it
> > afterwards)
>
> I am not sure I understand what you mean; if you aren't "consuming"
> the event, only snooping it, NOSYNC is probably what you want.  If
> you believe that the events are being consumed even though you have
> not specified CANCONSUME in your flags, then that would be a bug. 
> What exactly did you mean by your comment?  Perhaps we are
> misunderstanding each other here.
>

I opened and closed a bug on this. Turned out it was related to the 
return value of the AccessibleKeystrokeListenerCB and not CANCONSUME 
.

Lack of documentation prevents me from telling if it really was a bug 
or not.
returning true consumed the keystroke events (except with OpenOffice).

I'm sending this to the list so that this piece of knowledge is made 
public, because I couldn't find anything anywhere.

HTH.

Bernard




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]