After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344544 - Table of contents sort order should be case-insensitive
Table of contents sort order should be case-insensitive
Status: RESOLVED OBSOLETE
Product: yelp
Classification: Applications
Component: Directory
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-11 07:52 UTC by Joachim Noreiko
Modified: 2018-05-22 12:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Joachim Noreiko 2006-06-11 07:52:06 UTC
It appears that the sort order in a yelp table of contents is case-sensitive.

Looking at the list of documents under Accessories, bzip, gcalctool, and gedit come after Zenity. This isn't what a user might expect.

(I don't know if bzip should be in this category, and I'm not entirely sure about having manual titles begin with a lowercase letter, but I still think this should be fixed.)
Comment 1 Shaun McCance 2006-06-11 17:01:39 UTC
Yeah, the sorting happens inside XSLT (lines 130 and 144 of toc2html.xsl).  In libxslt, xsl:sort always gives you basic ("C" locale) sorting.  See bug #152501.

Doing proper locale-dependant sorting would be difficult in XSLT.  Even case-insenstive sorting for western language isn't trivial once you step outside of ASCII.  The best solution, I think, is to leverage the sorting routines we have access to in C, and sort the entries as we add them.  Then we'd remove the xsl:sort elements from toc2html.xsl.

(I also think it shouldn't be as big of an issue as it turns out to be (at least in English), because lowercase titles are evil.)
Comment 2 GNOME Infrastructure Team 2018-05-22 12:41:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/yelp/issues/14.