Closed Bug 281339 Opened 20 years ago Closed 19 years ago

gtk_im_context_set_cursor_location() is not used so the candidate window for Input method is not shown correct position.

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hiro, Assigned: hiro)

Details

(Keywords: inputmethod)

Attachments

(4 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050116 Debian/1.7.5-1.im
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050116 Debian/1.7.5-1.im

gtk_im_context_set_cursor_location() is not used so candidate window for Input
Method does not shown correct position.



Reproducible: Always

Steps to Reproduce:
1. load the page which has textare.
2. focus to the textarea
3. turn on input method ( not kinput2, use uim<http://freedesktop.org/Software/uim>)
4. type some characters
5. press space key to convert it.


Actual Results:  
the conversion window is shown on top left of the rendering region.


Expected Results:  
the conversion window is shown under the caret.


compiling with --enable-default-toolkit=gtk2
Attached patch the patch to fixSplinter Review
I am a substitute of the creator (Takuro Ashie) of this patch.

This patch works fine as much as I confirmed.
Please review it.

Thanks.
I'm sorry. I made a mistake.

the conversion window is wrong. I mean the candidate window.

a screenshot of wrong candidate window position
Same problem is reporoduced when I using IIIMF
(http://www.openi18n.org/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=30&page=1)
and SCIM (http://www.scim-im.org/).

This patch will fix these problems.
Attachment #173597 - Flags: superreview?(bryner)
Attachment #173597 - Flags: review?(blizzard)
Attachment #173597 - Flags: superreview?(bryner)
Attachment #173597 - Flags: superreview+
Attachment #173597 - Flags: review?(blizzard)
Attachment #173597 - Flags: review+
Assignee: smontagu → poincare
Checked in.  Thank you for the patch!
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
still wrong preedit position on Sun JDS chinese locale, see bug 283136. a
snapshot is attached in that bug.

on Sun JDS chinese locale, the preedit string will be shown with an IIIM
auxiliary window, and will not be rendered by applications, so IMEComposeStart()
and IMEComposeText() will not be called in such situations.
 
I have attached a new patch in bug 283136, could you whether the patch is also
fixed your cases.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: