There's preedit string bug in nick completion(or channel completion) with tab.. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 34908 [details] net-irc/xchat/xchat-2.0.10-r1.ebuild
Created attachment 34909 [details, diff] net-irc/xchat/files/xchat-2.0.10-preeditstring.patch here's the patch for the bug..
net-irc takes most care of xchat lately
Which bug does this patch exactly fix?
In cjk environment.. we need more than one input to make one CJK character.. so Input Module has pre-edit buffer to save incomplete character.. thus gtk_entry_get_text miss the last character (it's completed when typed tab..) to avoid missing the last character, we need force IM context reset to commit the pre-edit string to gtk_entry_buffer..
As you're the reporter of the upstream bug report at http://sourceforge.net/tracker/index.php?func=detail&aid=986958&group_id=239&atid=100239 you already received zed's reply. I'm waiting for his decision how to fix this.
here is zed's new patch :D
Created attachment 36503 [details, diff] net-irc/xchat/files/xchat-2.0.10-preeditstring.patch zed's new patch
Commited to CVS, please test.