After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346931 - Problems with two letter nicks in the "New Message" dialog
Problems with two letter nicks in the "New Message" dialog
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.12
Other All
: Normal normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-07 17:48 UTC by Keywan Najafi Tonekaboni
Modified: 2006-07-09 10:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Keywan Najafi Tonekaboni 2006-07-07 17:48:40 UTC
Please describe the problem:
I have some people with nicks like "xx" in my roster. If type xx in the search field of the "New Message" dialog and the results are not unique, than no one of results is selected. If you then press enter, you don't write to nick xx, you write to the JID "xx", which is of course malformed. So your message goes to nowhere. 

Steps to reproduce:
1. have a contac with nick "oo" and another with foobar in your roster
2. Open "New message" dialog
3. Search for "oo"
4. Press return

Actual results:
A chat with the not subscribed contact "oo" (this is the complete JID, not the nick) is opened.

Expected results:
If there is a contac with the exact nick like the query (in this example "oo") open a chat to this one. 

Does this happen every time?
yes

Other information:
I am not sure if it's possible to chat with people with just a string as JID without "@" and hostname. I guess not. So don't open chat's with not allowd JIDs, like "nsifgng", "hans" or "oo". 

With three letter nicks I don't have the problem, but if there is no result for the query, it will open a chat to the invalid JID.
Comment 1 Richard Hult 2006-07-09 09:53:46 UTC
Good catch. The problems happens no matter what the number of letters in the nicks/jids are of course, it took a while before I understood what the bug report really meant ;) Fixed in CVS, we now always select a match when there are any.
Comment 2 Keywan Najafi Tonekaboni 2006-07-09 10:07:55 UTC
Thank you, for the fix. It was even hard to explain this bug... I planned to show you this at the GUADEC, but I forgot it...