linux input method over spot style not report the caret position correctly

UNCONFIRMED
Unassigned

Status

()

P3
normal
UNCONFIRMED
7 years ago
a year ago

People

(Reporter: dgod.osa, Unassigned)

Tracking

({inputmethod})

8 Branch
x86
Linux
inputmethod
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: tpi:+)

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 571311 [details] [diff] [review]
firefox-gtkim.patch

User Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111101213509

Steps to reproduce:

with input method in overspot style
type in firefox


Actual results:

the input method's candidate window not move correctly


Expected results:

the input method's candidate window move correctly
(Reporter)

Comment 1

7 years ago
the patch can work around the bug, but it should not be the real fix.

Updated

7 years ago
Component: General → Widget: Gtk
Product: Firefox → Core
QA Contact: general → gtk

Updated

7 years ago
Attachment #571311 - Attachment is patch: true

Comment 2

5 years ago
This bug bother me for many years.
It seem that Firefox doesn't tell input method the blink cursor (caret) position, 
thus the gtk window of input method (over the spot mode) can not appear aside the blink cursor (caret).
Please correct this bug.
Thank you.
Keywords: inputmethod

Updated

2 years ago
Priority: -- → P3
Whiteboard: tpi:+

Comment 3

a year ago
To be more accurate, firefox does not report caret position (in the sense of window offset) when there is no preedit text. Regardless XIM or custom im module is being used.

I used to force fcitx to always use client side preedit in all input method, but the situation becomes worse since I added a feature to display the name of current input method when input method is triggered. Similar feature exists on pinyin input method for windows and works properly (Shows 中/英 when switch between English/Pinyin mode with shift).

The problem is firefox does not report the position caret of input method, this makes fcitx always display the window at wrong location ("last reported location of the caret"). The caret location is being updated regularly in any other program on linux, no matter user is composing text or not.
You need to log in before you can comment on or make changes to this bug.