Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308591 - >=gnome-extra/gtkhtml-3.28 is confused if "cursor_pos" is not zero
Summary: >=gnome-extra/gtkhtml-3.28 is confused if "cursor_pos" is not zero
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 07:04 UTC by peng shao
Modified: 2010-10-12 17:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch provided by ibus developers (remember_cursor_move_made_by_get_preedit_string.patch,2.18 KB, patch)
2010-03-09 07:04 UTC, peng shao
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peng shao 2010-03-09 07:04:04 UTC
I met this problem when using ibus-pinyin input method in evolution. The symptom is when I tried to input a long Chinese word which is not in the word pool of ibus, I have to choose one character by one character as usual. However if the cursor is not at the end of the text area, for example when I am replying an email, then the chosen word will be inserted to a weird position, rather than the cursor position. I filed a bug report to ibus and was confirmed to be a gtkhtml issue. The url I pasted is the bug report url(original google group url is too long so I used urlpaste.com, sorry for the inconvenience) The developer of ibus also kindly helped me file another bug report on 

https://bugzilla.gnome.org/show_bug.cgi?id=608225

(sorry I don't understand the details very well, I am not a coder)
However one and a half months have passed and the bug has even not been  confirmed yet by gnome. Since both ibus and evolution are popular among Chinese linux users I guess maybe we can consider to adopt the patch provided by ibus developers. I tested the patch and it works like a charm. 

By the way, in the ibus bug report page I also pasted a flv file to demonstrate the issue---I apologize for my English, this issue is really hard for me to explain clearly to those who don't speak Chinese. Sorry.


Reproducible: Always
Comment 1 peng shao 2010-03-09 07:04:37 UTC
Created attachment 222775 [details, diff]
patch provided by ibus developers
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-09 07:10:58 UTC
Is this a problem with gtkhtml-3.28.3 too ? I pushed it to the tree a couple of hours ago.
Comment 3 peng shao 2010-03-09 07:40:52 UTC
(In reply to comment #2)
> Is this a problem with gtkhtml-3.28.3 too ? I pushed it to the tree a couple of
> hours ago.
> 

I am going to try 3.28.3 right now but I am sorry about the patch, I just found another issue about the patch and it doesn't work perfectly here actually. I will keep communicating with the ibus guys. Sorry for that. 
Comment 4 peng shao 2010-03-09 07:48:21 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Is this a problem with gtkhtml-3.28.3 too ? I pushed it to the tree a couple of
> > hours ago.
> > 
> 
> I am going to try 3.28.3 right now but I am sorry about the patch, I just found
> another issue about the patch and it doesn't work perfectly here actually. I
> will keep communicating with the ibus guys. Sorry for that. 
> 

(In reply to comment #2)
> Is this a problem with gtkhtml-3.28.3 too ? I pushed it to the tree a couple of
> hours ago.
> 

Yes the problem is still there. Now I really have no idea what to do :(
Comment 5 Pacho Ramos gentoo-dev 2010-03-12 08:55:48 UTC
(In reply to comment #4)
> 
> Yes the problem is still there. Now I really have no idea what to do :(
> 

It doesn't look strange to me since patch hasn't been accepted by upstream yet
Comment 6 peng shao 2010-03-12 09:08:22 UTC
> It doesn't look strange to me since patch hasn't been accepted by upstream yet
> 
Well, looks like I have nothing to do but wait ;(
Anyway, thank you for your concern. 



Comment 7 Pacho Ramos gentoo-dev 2010-10-12 17:56:57 UTC
We will track this issue directly upstream since won't add this patch if upstream doesn't give his ok