Opened 6 years ago

#14886 new enhancement

Way to obtain cursor coordinate even preedit is empty

Reported by: hanya Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: User Interface Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Recent input method provides way to show current state of the input method. Such as hiragana, katakana or direct input mode as icon or text shown near the current cursor position.

But there is no way to obtain current cursor position in the display coordinate if the preedit is empty. We have way to obtain input location while input through an input method. This is one of B_INPUT_METHOD_EVENT with be:opcode == B_INPUT_METHOD_LOCATION_REQUEST. If there is no character in the preedit of the input, any location information is contained in the return message.

We should not change the behaviour of the event above. Alternativelly, how about to provide way to obtain cursor location as one of properties?

Change History (0)

Note: See TracTickets for help on using tickets.