Closed Bug 291233 Opened 20 years ago Closed 19 years ago

user list in left panel top-down ever since version 0.9.64g

Categories

(Other Applications :: ChatZilla, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cynical, Assigned: bugzilla-mozilla-20000923)

Details

(Whiteboard: [cz-patch][cz-0.9.69])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050319
Build Identifier: 	Chatzilla 0.9.64g+ [Mozilla rv:1.7.6/20050319]

In any version of CZ starting from 0.9.64g the user list in the left panel
reverses user mode sort so that ops end up on the bottom of the list.

Reproducible: Always



Expected Results:  
Normal sorting order.

This happens on all of my XP Pro SP1 (updated to SP2) systems whether old or new
installations. All software on the system and system itself is English US, but
in Control Panel - Regional and Language Options - Standards and Formats &
Location are Estonia (decimal separator is comma, time format is hh:mm:ss, date
format dd/mm/yyyy). Known problems (that come to mind) on similar systems have
been associated with usage of comma, period and semi-colon as list separators
when created on systems with different locale settings.
The sorting is not done by ChatZilla, it is done by the RDF 'stuff'. Also,
commas are not involed.

The sorting works by prepending the nickname with a single character, and "-",
so you get "a-" prefixed on all ops, "b-" on all halfops, etc... and the sorting
is specifically hard-coded as "ascending".

Does changing your locale settings to the normal English US settings make any
difference? What does /supports output on any of the servers you use? (what
servers do you use?)
Changing Control Panel - Regional and Language Options - Standards and Formats &
from Estonian to English US and restarting Chatzilla fixes the list in 0.9.68a.

Again 0.9.64f doesn't exhibit this behavior.

Servers I have visited are irc.aniverse.com, irc.hkm-net.org,
irc.chatsociety.net and irc.mozilla.org.
I can't try this specifically due to not having Estonia in my locale choices,
but I have tried switching all the separator (decimal to "," and group/list to
"."), and it does not happen here.
Hm, I now have a Windows XP 64bit (Win2003 kernel) which has Estonian in it. And
yes, the sorting goes oddly. As far as I can see, the XUL sort service is simply
sorting things in a stupid order. I have no idea if the alphabetical sort it is
doing is anywhere near right for Estonian. Needless to say, using numeric
prefixes seems to make it work.
Glad to know it wasn't me. :) I sorta freaked out in the meanwhile figuring it
might have had something to do with how I've been setting up my PCs.
Assignee: rginda → silver
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Attachment #194101 - Flags: review?(rginda)
Whiteboard: [cz-patch][cz-0.9.68.6]
Comment on attachment 194101 [details] [diff] [review]
Use numeric prefixes

r=rginda
Attachment #194101 - Flags: review?(rginda) → review+
Checked in --> FIXED.

http://twpol.dyndns.org/mozilla/chatzilla/nightly/ will host a build with the
fix automatically, in approximately 15 minutes.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
This indeed fixes my problem. Thanks.
Whiteboard: [cz-patch][cz-0.9.68.6] → [cz-patch][cz-0.9.69]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: