need input method API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
Wishlist
|
Unassigned | ||
mir (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
We should probably start talking about what the interaction between the toolkit and Mir will be when it comes to input methods.
We had a brief chat about this in Washington.
We will need:
- a way for the toolkit to feed the 'current word' to the input method
- a way for the input method to tell us to type uncommited text
- a way for the input method to cancel the uncommited text
- a way for the input method to delete/modify the 'current word' that was told to it by the toolkit
- a way to commit text
I'm pretty sure we convinced ourselves in Washington that the cookie based approach (each word entered got a cookie that could be used to refer to it later) wasn't going to work. We need a way for the toolkit to feed words back to Mir.
tags: | added: enhancement |
Other nice things:
- we should be able to tell Mir the location of the cursor (for positioning of the IM window on desktop)
- we should be able to tell Mir the type of text expected (email address, url, etc.) for customisation of a software keyboard