GNOME Bugzilla – Bug 554767
IRC tab completion only works with letters
Last modified: 2010-01-06 11:04:21 UTC
Please describe the problem: Only letters work with tab completion. If a name has numbers in it, it can't be completed. Steps to reproduce: 1. Try tab completion with a contact with a number in their name Actual results: It doesn't work Expected results: It should work (surprising) Does this happen every time? Other information: Out of interest, how do you switch off "easy" bug filing mode?
Actually, it may not work with only letters, but some names are impossible to get to work.
*** Bug 565589 has been marked as a duplicate of this bug. ***
Test cases: the nicknames [ae86] _bt |S3GA|
Created attachment 150687 [details] [review] Fix autocompletion for non-alphanumeric nicknames This bug is caused by the behaviour of gtk_text_iter_backward_word_start. It searches the text for delimiters, based on languages in pango. Numbers and characters as | and [ are not considered to be part of a word in most languages, while they are a part of nicknames. Therefore, empathy fails to get the typed part of the nickname. The attached patch will instead search backwards for a space character. The text that needs to be completed, is the text between the caret and the fist space before that.
Thanks a lot for your patch. I fixed coding style and pushed it to master. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.