Auto key repeat in wayland.

Pekka Vuorela pvuorela at iki.fi
Tue Mar 19 13:21:38 PDT 2013


On 19.03.2013 22:13, Bill Spitzak wrote:
> Yichao Yu wrote:
>
>> I am just wondering if those clients also don't want auto-repeat for
>> text input. If there is a way to turn off auto-repeat for a client,
>> should that also turn off the auto-repeat when the input method grab
>> the keyboard from the client?
>
> That is a good point, the input method api may need to indicate if the
> insertion is due to a repeated key, if it is possible to unambiguously
> identify this. Then the client can ignore it and not do the insertion.
>
> Isn't this sometimes done by password fields and some other small input
> fields? It may also be useful if the insertion is an error, in that it
> will only beep or flash on the first one, rather than blinking
> repeatedly if the user holds the key down.

Don't really see a need for this. Input method can decide not to use 
autorepeat consistently for password fields if password editors properly 
indicate with content type hints that they are such.



More information about the wayland-devel mailing list