[Konversation-devel] [Bug 256829] <TAB> auto-completes a nick even if the person has left the channel if you don't specify the beginning of the nick

Eike Hein hein at kde.org
Sat Nov 13 19:28:35 CET 2010


https://bugs.kde.org/show_bug.cgi?id=256829


Eike Hein <hein at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hein at kde.org




--- Comment #2 from Eike Hein <hein kde org>  2010-11-13 19:28:35 ---
Your steps to reproduce are slightly wrong; what's going on is slightly
different from what you think is going on.

What happens is that <TAB> at the beginning of the line when no prefix has been
typed repeats the last successful completion. So there has to have been a
successful completion based on a prefix first; whether the person was the last
poster or not isn't relevant.

Now it's true that while a prefix-based completion obviously operates on the
list of nicknames attending a channel at the time, merely repeating the last
successful completion by pressing <TAB> without typing a prefix first does not
- because in that case, that data isn't actually needed. Repeating the last
completion doesn't require a lookup in the nickname list.

Whether it *should* check for whether the nickname is still in attendance and
do nothing if it isn't is debatable. On the one hand I see your conundrum. On
the other hand, the nickname leaving isn't strictly speaking cause to throw
away data about the last successful completion. Someone who is familiar with
the mechanic might expect it to work regardless of whether the nickname just
left or not.

Another way to look at it though is that the mechanic is obviously designed
with the objective of addressing someone in mind (as evidenced by the fact that
it only works on the line start and not mid-line, limiting the sort of sentence
structures in which you can tap into it) and once the addressee leaves
addressing him or her becomes pointless.

So I'd lean toward your "side", but I'm still somewhat unsure. Does anyone else
have an opinion?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list