Description of problem: Was wondering if the blinking cursor should be on the right hand side of the pre-edit buffer during input in oowriter. At the moment, its on the left, looks a bit strange. On gedit, there's no blinking cursor. Version-Release number of selected component (if applicable): scim-hangul-0.2.2-5.fc6 How reproducible: Always Steps to Reproduce: 1.start oowriter and activate scim 2.choose hangul and start input 3. Actual results: blinking cursor on the left of pre-edit buffer Expected results: should be on the right or no blink? Additional info:
Not really - There are no APIs to manage the application cursor. probably I should reassign this to OOo because preedit handling on the application really depends on that application. FWIW you can see a similar behavior with scim-anthy on during the conversion, though.
If I activate scim, choose hangul and then in writer press q I get a hangul symbol, highlighted in blue and a black cursor blinking to the right of the symbol in gedit press q I get a hangul symbol, highlighted in black and a black cursor blinking to the right of the symbol So both seem to behave the same for me except for the highlighting colour, which in gtk is the same as the cursor colour making it not so obvious. Perhaps there's a required locale setting ?
same behavior for me. this may be not a bug. Lawrence?
RE: Comment #1: Tagoh-san, yes you are right, the cursoring has similair behaviour to Anthy when the conversion is on. However, I find something very interesting today. The blinking cursor is determine by the GTK_IM_MODULE, ie. the behaviour differs between scim and scim-bridge. What was reported was default scim-bridge. Hence, I think it shuold be assign to scim-bridge for further investigation? Please see screenshot.
Created attachment 132407 [details] cursor position with GTK_IM_MODULE=scim GTK_IM_MODULE=scim oowriter
Created attachment 132408 [details] cursor position with GTK_IM_MODULE=scim-bridge GTK_IM_MODULE=scim-bridge oowriter
Ok, if I change the font color of gedit to be 0xFF0000 (bright red), and repeat the above tests under scim-bridge I find that oowriter and gedit also both behave the same under scim-bridge, it's just harder to see the cursor in gedit with the default colours. So we're consistent here in oowriter with the rest of the the gtk apps in relation to cursor positioning, both on the left with scim-bridge, and both on the right with scim. I presume that this is a "scim-bridge-gtkimm" issue.
I've been fixed this issue, but I cannot login cvs server for some reason. I'll notice you as soon as I upload it.
Fixed on the CVS latest.
I've found this causes an annoying cursor movements for Japanese. :( To fix both problems, we need to apply patches on scim, scim-gtkimm, and scim-hangl. (Don't worry, all of the patches are already written) now I'm discussing at scim-dev-list if it's correct way to fix this problem.
Fixed in current scim-bridge according to my testing.
Sorry I take back the last comment - seems as Dairiki-san also said in comment 10 this is not changed yet. However this only seems to affect scim-hangul and I don't see that the new behaviour is really worse than the old one.
Actually Krisna applied the following patch for this to scim-hangul in cvs, probably worth testing. * update preedit caret when updating preedit string Index: scim_hangul_imengine.cpp =================================================================== RCS file: /cvsroot/scim/scim-hangul/src/scim_hangul_imengine.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** scim_hangul_imengine.cpp 24 Jul 2006 13:42:15 -0000 1.10 --- scim_hangul_imengine.cpp 24 Jul 2006 15:03:57 -0000 1.11 *************** *** 638,641 **** --- 638,642 ---- show_preedit_string (); update_preedit_string (wstr, attrs); + update_preedit_caret (wstr.length()); } else { hide_preedit_string ();
Above patch does not seem to fix the problem for me with scim-bridge-0.4.1. Dairiki-san, is some patch also needed on scim itself (other than scim-gtkimm)?
Sounds strange. I'm now using the same patch on scim-hangul-0.2.2, with scim-bridge-0.4.2-rc1. It works fine; The cursor always shows on the right of the preedit string. I've rollback on 0.4.1 but nothing changed. Did you really patch on it? Please confirm that again.
Hmm, sorry after rebooting my test machine it works for me too. Strange. Thanks for the patch. :)
Ok, should be fixed in 0.2.2-7.fc6.
this problem is now fixed. Component Version tested : scim-hangul-0.2.2-7.fc6 scim-1.4.4-32.fc6 Arch : i386 - rawhide