Bug 1173810 - Character select window does not follow cursor in firefox. It shows at bottom left corner.
Summary: Character select window does not follow cursor in firefox. It shows at botto...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-cangjie
Version: 21
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Mathieu Bridon
QA Contact: Fedora Extras Quality Assurance
URL: https://plus.google.com/u/0/106073399...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-13 06:48 UTC by andy
Modified: 2015-09-03 07:50 UTC (History)
1 user (show)

Fixed In Version: ibus-cangjie-2.4-1.fc22
Clone Of:
Environment:
Last Closed: 2015-04-09 09:10:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description andy 2014-12-13 06:48:18 UTC
Description of problem:
Character select window does not follow cursor in firefox.  It shows at bottom left corner.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Start firefox
2. Change to Cangjie
3. Type chinese

Actual results:
The select character window shows at bottom left thus not all characters are displayed

Expected results:
The character select window should follow cursor.

Additional info:
Does not happen in F20 gnome. I just upgraded to F21 gnome and hit the problem

Comment 1 Mathieu Bridon 2014-12-13 12:20:36 UTC
Thanks for the bug report.

I've known it for a while now, but it's always good to have it written down somewhere. :)

> Does not happen in F20 gnome.

Well, yes, it does, I reproduce it there all the time.

-----

A bit more context on this issue.

As far as I can tell, the issue is not in IBus Cangjie. I **think** it is either in Firefox, or maybe even in Gtk2.

IBus Cangjie does NOT use preedit text, which is what is triggering this issue.

I once locally patched my IBus Cangjie to added a dummy preedit text, and the issue wouldn't happen any more.

So it seems to me that Firefox (or is it Gtk2?) does not properly position the candidates popup when an input method engine does not use preedit.

Most engines do use preedit though, which makes IBus Cangjie stand out here. :(

Comment 2 Mathieu Bridon 2015-03-29 18:48:01 UTC
We found a workaround (thanks to Frédéric Péters for the idea) upstream, and I just made a new 2.4 release including it.

It isn't the fix for the issue: the issue still lies in the applications/toolkits which get confused when an engine doesn't use preedit.

But with the workaround, at least you will get the candidate popup at the right location, and we can drop the workaround when the real issue is fixed properly.

Updates are coming to Fedora shortly.

Comment 3 Fedora Update System 2015-03-29 18:49:48 UTC
ibus-cangjie-2.4-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/ibus-cangjie-2.4-1.fc22

Comment 4 Fedora Update System 2015-03-29 18:55:49 UTC
ibus-cangjie-2.4-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ibus-cangjie-2.4-1.fc21

Comment 5 Fedora Update System 2015-03-31 21:49:39 UTC
Package ibus-cangjie-2.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-cangjie-2.4-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-5134/ibus-cangjie-2.4-1.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-04-09 09:10:42 UTC
ibus-cangjie-2.4-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-04-21 18:52:38 UTC
ibus-cangjie-2.4-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 andy 2015-09-03 07:50:18 UTC
very nice.


Note You need to log in before you can comment on or make changes to this bug.