From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.4.1)
Description of problem:
When the preedit line is placed on the bottom of screen say, and the
candidate window are realized, some candidate words on the window is
out of screen. if it happens, it should consider to show over the top
of the preedit line, but not always under the preedit line.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run gedit and move it to the bottom of screen say.
2.type a lot of enter to move the cursor to the bottom of widget.
3.press Ctrl+space,a space on LANG=ja_JP.UTF-8.
Actual Results: the users can't looks at the candidate words outside
Expected Results: the users can looks at all of the candidate words.
Made a patch, will be in latest build 11.4-28 in fc2-HEAD.
Created attachment 98771 [details]
fixes a bit
Although it's better than original behavior, the location which is set by
(*set_cursor_location)(GtkIMContext *, GdkRectangle) is relative to the client
y = y - context_iiim->cursor.y - win_height - context_iiim->cursor.height;
isn't correct. it should be
y = y - win_height - context_iiim->cursor.height;
Yeah, win_height and cursor height should be enough, thanks Tagoh.
it's much better now. Thanks!