[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: comboboxes - sorted lists in KDE4 - idea
From:       Thomas Zander <zander () kde ! org>
Date:       2007-02-22 12:27:00
Message-ID: 200702221327.00873.zander () kde ! org
[Download RAW message or body]


On Thursday 22 February 2007 10:21, Ferdinand Gassauer wrote:
> Unfortunaltely a lot of application return the items in a combobox/drop
> down list unsorted and/or ungrouped
> While it make sense for some lists not to be sorted because the list is
> short and / or some other reasoning is valid - (default item should be on
> the first place, To/CC/BCC in addresses New Mail) for all lists with a big
> number of items - alphabetical sorting is a must IMHO.

Some points;

As Ferdinand said; long lists should be typically be a listview.
For most comboboxes sorting can very well be based on usage. Since you 
mentioned KMail, I made the ordering in the combobox that filters which 
messages there are to be based on most used.  'any' at top, 'unread' next. 
etc.
More importantly; there is no generic method in KDE to store items that can be 
translated in a combobox and get the untranslated 'key' back when a user 
selects something. This is the main reason people insert items in a static 
ordering.

So, your idea to sort items goes wrong on many levels, as stated above.
If you have some code to back your proposal that solves these issues, please 
don't hold back.

-- 
Thomas Zander

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic