Sort channels by name option

Discussion in 'Implemented' started by Donkey, Dec 12, 2011.

Thread Status:
Not open for further replies.
  1. Donkey

    Donkey Banned

    Joined:
    Jun 30, 2011
    Messages:
    251
    Likes Received:
    0
    Another nice feature to have. Its annoying scrolling through all the channels...so yeah, I'd like to see this.
     
  2. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    This is actually a simulator suggestion, so moving.

    If people want this, it's easy to implement and will definitely make checking the channel list easier.
     
  3. Blastcore

    Blastcore Developer

    Joined:
    Jul 19, 2010
    Messages:
    763
    Likes Received:
    1
  4. Mystra

    Mystra Active Member

    Joined:
    Jul 12, 2010
    Messages:
    1,389
    Likes Received:
    4
    I think it's… reasonable.
     
  5. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    Would be handy, probably worth doing either way, but to make it easier to find the chan you're looking for on a large server we really could do with being able to by how many users are in each chan.
     
  6. Recker

    Recker Member

    Joined:
    Jun 25, 2011
    Messages:
    106
    Likes Received:
    0
    Really shouldn't be hard. Makes me wonder though why this wasn't implemented earlier.
     
  7. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    Become a programmer and do it yourself before saying things like this :p
     
  8. Donkey

    Donkey Banned

    Joined:
    Jun 30, 2011
    Messages:
    251
    Likes Received:
    0
    Well, assuming you have a clean design it shouldn't be that hard to make small changes, right?
     
  9. Mystra

    Mystra Active Member

    Joined:
    Jul 12, 2010
    Messages:
    1,389
    Likes Received:
    4
    Clean design or not you can't do everything with finite resources.
     
  10. Viderizer

    Viderizer Admin/Developer

    Joined:
    Mar 12, 2011
    Messages:
    277
    Likes Received:
    0
    It is easier said than done. JS. (I tried to do it myself but...)
     
  11. Blastcore

    Blastcore Developer

    Joined:
    Jul 19, 2010
    Messages:
    763
    Likes Received:
    1
    It's easy just the policy of how things are sorted is what you maybe wont like.

    If you have:

    A
    X
    c
    B
    z
    J
    y

    It'll sort it to:

    A
    B
    J
    X
    c
    y
    z

    When we want it to be like this:

    A
    B
    c
    j
    X
    y
    z
     
  12. Viderizer

    Viderizer Admin/Developer

    Joined:
    Mar 12, 2011
    Messages:
    277
    Likes Received:
    0
    I'm suprised how we need to make our own widget, and convert existing code to that, just to make it sort incasesensitively.
     
  13. Donkey

    Donkey Banned

    Joined:
    Jun 30, 2011
    Messages:
    251
    Likes Received:
    0
    That makes sense, I noticed a while back that the same channel with a different case was treated as a different channel.
     
  14. Blastcore

    Blastcore Developer

    Joined:
    Jul 19, 2010
    Messages:
    763
    Likes Received:
    1
    Since it uses QString::localeAwareCompare to sort we can override the default by changing the channels widget to the client locale (Making it sort according to their locale.)
     
  15. Viderizer

    Viderizer Admin/Developer

    Joined:
    Mar 12, 2011
    Messages:
    277
    Likes Received:
    0
    The converting was the part where I got stuck :} (inb4 devtalk)
     
  16. Blastcore

    Blastcore Developer

    Joined:
    Jul 19, 2010
    Messages:
    763
    Likes Received:
    1
    Feature added. (Though, there seems (If it's not me) a small lag issue, maybe it's me.)

    Close this, please.
     
Thread Status:
Not open for further replies.