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

QLocale::system() is not updated on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6, 5.9, 5.12, 5.13
    • None
    • Windows

    Description

       

      #include <QApplication>
      #include <QDoubleSpinBox>
      
      int main(int argc, char **argv)
      {
          QApplication app(argc, argv);
      
          QDoubleSpinBox spinBox;
          spinBox.show();
      
          return QApplication::exec();
      }

      Run this application and change the decimal separator using the Control Panel. It is expected that the spin box text will change but it doesn't.

      With Qt 4.8 it does change because the notification — WM_SETTINGCHANGE with null wParam and 'intl' lParam — is handled here; I don't see anything similar in Qt 5 code.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              a.khlyustov a.khlyustov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes