Closed Bug 347542 Opened 19 years ago Closed 19 years ago

Sort-order in "Move to" or "Copy to" different under Windows/Linux f

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
All
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mozilla.org, Assigned: mscott)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5 Build Identifier: I have prefixed a few IMAP-folders with underscores. Okay, that's a lame solution for sorting folders :-) but anyway ... Those folders with an underscore appear above all other folders in the "Move to"/"Copy to"-context menu. However under Linux they seem to be ignored from sorting, and instead foldernames are just sorted by the first letter in the folder-name. Why is sorting different under Linux/Windows, and what could be done to keep the order between both platforms? With a lot of folders on one hierarchy level this is quite bad to work with :-( Reproducible: Always Steps to Reproduce: 1. Use TB on Windows/Linux with folder-names that begin with underscores. Actual Results: Windows: Sorted as expected - Folders with underscores appear above the others Linux: Sorted by first letter. So folders beginning with underscores might appearr somewhere between "D" and "F" or the like. Expected Results: Same sorting under Linux as under Windows. (I think the Windows-sorting is like most people would expect sorting to be.)
Any ideas why this happens and what could possibly done about it? This prevents a few people here to migrate to Linux because it makes mail-handling less convenient and that's daily business :-(
you don't see the odd order in folder pane, correct? Andrew/mozilla.org@neufeind.net, do you see this in seamonkey+linux?
Severity: normal → trivial
Summary: Sort-order in "Move to" or "Copy to" different under Windows/Linux → Sort-order in "Move to" or "Copy to" different under Windows/Linux f
What is your LC_COLLATE environment variable set to in linux? mail might follow that setting.
...or if it's not set, what is LANG set to?
LC_COLLATE is not set in the standard user-environment LANG=en_US.UTF-8 This is a standard Fedora Core 5 installation with Thunderbird from Fedora, working with an IMAP-account. I see this problem when opening the context-menu of a message and selecting "Move to". Screenshots can be provided if needed - but I think you got the picture.
try closing all seamonkey windows and then do env LC_COLLATE="C" seamonkey
Tried with thunderbird, and it works a whole lot better. Great! But still I don't get the exact same sorting as under Windows (and which I expected). Agreed, the foldernames are strange - but here is what it looks like. with LC_COLLATE=C under Linux: _0abc _1abc __def __ghi _def _ghi Windows (and expected): __def __ghi _0abc _1abc _def _ghi (foldernames starting with one or two underscores each!)
yes, the sort order for C is numbers, underscore, letters. en_US ignores underscores. Mozilla just passes off sorting functions to the system using the LANG or LC_COLLATE settings (that's why Linux and Windows are different). If you don't like how it gets sorted, then you'll have to complain to GNU or something. resolving INVALID -- not our fault :)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.