Opened 4 years ago

Closed 2 years ago

Last modified 2 years ago

#1486302 closed Bugs (wontfix)

Wrong sortorder of foldernames

Reported by: roy Owned by:
Priority: 5 Milestone: later
Component: Core functionality Version: 0.3.1
Severity: normal Keywords:
Cc:

Description

I use the @ as a prefix to have important folder at the top of my folderlist.
Anyway, roundcube ignores the @ while it sorts the folder on each level.

OS/Browser: Win XP SP2 / IE7

Win XP SP3 / IE7
Win XP SP3 / FF 3.5
Linux 9.04/9.10 FF 3.x / FF 3.5

IMAP Server: Cyrus IMAP4 v2.2.13-Debian-2.2.13-10+etch4

Change History (6)

comment:1 in reply to: ↑ description Changed 4 years ago by roy

Replying to roy:

Linux 9.04/9.10 FF 3.x / FF 3.5

It is Ubuntu of course, the Desktop edition

comment:2 follow-up: Changed 3 years ago by alec

That's how unicode sorting works. Thunderbird uses the same method.

comment:3 in reply to: ↑ 2 Changed 3 years ago by roy

Replying to alec:

That's how unicode sorting works. Thunderbird uses the same method.

I'm sorry but all my Thunderbird instances put these folders at the top of the folder list.

comment:4 Changed 2 years ago by alec

  • Resolution set to wontfix
  • Status changed from new to closed

Probably because you're using Thunderbird on Windows where locale definition is different.

comment:5 Changed 2 years ago by roy

I use Thunderbird under Mac OS X w/ en-US locale, Windows 7 w/ de-DE locale and just tried Mac OS Mail with the same result:

all folder with an @ prefix are on top of my folder list, while roundcube jst ignores the @. That means it sorts the folder @waiting like waiting etc.

Here is another test with mysql:

create table test (txt varchar(16)) character set utf8 collate utf8_general_ci;
insert into test values('Inbox'),('Sent'),('@WAITING'),('Work'),('Tasks'),('@TODO');

The querty
select txt from test order by upper(txt);
put the @rows at the top.

comment:6 Changed 2 years ago by alec

As I've said, it's locale-definition dependent. It works different on linux. Try to install Roundcube on Mac and you'll see.

Note: See TracTickets for help on using tickets.