Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29397

QString::localeAwareCompare doesn't respect LC_COLLATE environment variable with icu support enabled.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.4, 5.0.0
    • None
    • Arch Linux

    Description

      QString::localeAwareCompare is initialized according to current locale instead of LC_COLLATE with icu support enabled. This is one of the many reasons that case bugs in dolphin[1] which uses localeAwareCompare to sort items by default.

      [1] https://bugs.kde.org/show_bug.cgi?id=211531

      Attachments

        1. main.cpp
          0.3 kB
          Liang Qi

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              liaqi Liang Qi
              yyc1992 Yichao Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes