need input method API

Bug #1398846 reported by Allison Karlitskaya
12
This bug affects 2 people
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.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

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

Revision history for this message
Chris Halse Rogers (raof) wrote :

If I remember the conversation correctly we need slightly more than just being able to feed the ‘current word’ to the input method; we also need to be able to feed context?

Changed in mir:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Allison Karlitskaya (desrt) wrote :

> If I remember the conversation correctly we need slightly more than
> just being able to feed the ‘current word’ to the input method; we also
> need to be able to feed context?

This is what I was trying to (crudely) say by saying "current word". More or less we need 'enough for the IM to find its place again', whatever that ends up being.

tags: added: enhancement
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.