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

Qt.locale().groupSeparator defaults to comma

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.14.2, 5.15.0 Alpha
    • 5.12.5
    • Core: Locales (i18n)
    • None
    • macOS 10.13.6
      import QtQuick 2.12
    • macOS
    • 71fa90a37c4f250aa4a6ae8e6bd957dd372566c8 (qt/qtbase/5.14)

    Description

      When I set the digit grouping separator to "none" in the OS, Qt.locale().groupSeparator reports "," instead. This happens even when decimalPoint ist set to "," resulting in the forbidden constellation groupSeparator === decimalPoint.

      I don't see why groupSeparator should silently default to Anglo usage when I've explicitly set it to "none". At a minimum, it needs to check that it doesn't default to the character that is used as decimalPoint.

      Attachments

        For Gerrit Dashboard: QTBUG-80459
        # Subject Branch Project Status CR V

        Activity

          People

            Eddy Edward Welbourne
            linoleo Lino Schraudolph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes