Bug 190567 - Regressions in nick completion list sorting behavior
Summary: Regressions in nick completion list sorting behavior
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: tabcompletion (show other bugs)
Version: Git
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks: 187307
  Show dependency treegraph
 
Reported: 2009-04-24 23:53 UTC by Frank
Modified: 2009-05-30 21:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2009-04-24 23:53:16 UTC
Version:           SVN (using KDE 4.2.2)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Unspecified Linux

When trying to complete nicks, it seems the completion box goes by alphabetical order rather than last spoken order. This is very annoying more most users as - like in my case - often the person they actually want to complete to is at the bottom of this list.
Comment 1 Eike Hein 2009-04-25 00:01:36 UTC
Note: The intended behavior, and the behavior we had in Konveration 1.x, is to display the most recently active nickname matching the given prefix in the first slot of the list, and sort the following nicknames alphabetically. If the full list were to be sorted by activity, cycling through the completion list would become unpredictable and thus cumbersome and slow; the intended behavior strikes a solid balance between the common case and predictable behavior for the rest.

Now, this report is about the most-recently-active-nick-in-first-slot mechanic not working in the "Shell-Like with Completion Box" completion mode in the KDE 4 port. It does continue to work with "Cycle Nicklist", however. Most likely the completion box listview automatically going alphabetical rather than doing sort-by-insert is the problem here.
Comment 2 Peter Simonsson 2009-05-30 21:44:33 UTC
SVN commit 975708 by psn:

Fix the order of the nicks in the completion box the the last active is
first.
BUG: 190567


 M  +3 -3      channel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=975708