FS#4605 - Gcin (1.1.8 - 1.1.9) and Mozilla

Attached to Project: Arch Linux
Opened by Do CHANG (whisky) - Tuesday, 09 May 2006, 19:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

From version 1.1.8, Gcin is using a new gtk_im module by default that requests a new patch to Mozilla products (FF & TB).

Using the default "new" gtk_im module with no patched Mozilla products will result in a input focus mismatch between the URL input line and the gcin input buffer line. (The focus keep changing between Mozilla-FF and gcin.)

Also, choosing a URL from the URL history in Mozilla-FF is broken, because the focus will jump back to the URL input line each time you try to select a item from the history (using up/down keys)

To resolve this, the author of gcin is suggesting to

1. patch the Mozilla with this patch (the best solution) :
http://www.csie.nctu.edu.tw/~cp76/linux/mozilla/

2. for GCIN 1.1.8 and 1.1.9 - add --new_gtk_im='N' to ./configure
BTW, the new 1.2.0 just released, and the new_gtk_im is now by default off.. but someone still report encounting the same problem.

3. put the gcin input box in a fixed position (using gcin-setup) - this only helps when you are using a --new_gtk_im='N' gcin

relative discussion can be found in : (in Chinese_Traditional - sorry)

http://cle.linux.org.tw/gcin/readcomment.php?comment_id=283&current_page=1
http://cle.linux.org.tw/gcin/readcomment.php?comment_id=301
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 17 June 2006, 14:55 GMT
Reason for closing:  Implemented
Comment by Do CHANG (whisky) - Tuesday, 09 May 2006, 19:56 GMT
a little explanation (translated 'badly' from previous discussion)

in east asian input, we have to use a IME to type in C(hinese)/J(apanese)/K(orean) characters.

And there are 2 ways to have the input dialog box, one is called - over the spot - that means, the input box will follow the cursor. And for many, this is the most convenient way to use their IME.

Mozilla has a bad gestion on Over-the-spot, and doesnt send back the actual position of the cursor automatically. You have to type a character first, and then Mozilla will send back the cursor position.

And, this is kinda annoying when we use IME for the first time, because we want that input box just below the cursor when the IME is invoked.

That's where this patch comes to help - --new_gtk_im will, in case of Mozilla, sends a empty string "mozilla string" to Mozilla and try to get back the cursor position from it. But Mozilla, again, has problem with "empty string display". So that's why we also have to patch the Mozilla (libwidget_gtk2.so)

Loading...