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

QGuiApplication::inputMethod()->locale() returns a wrong locale

    XMLWordPrintable

Details

    Description

      According to the documentation this method should return a current input locale, but it does not.

      I have in my system installed two languages Finnish and English. However, with the default language set to Finnish, this method returns always en_US.

      This bug can be reproduced with this code:
      qDebug() << QGuiApplication::inputMethod()->locale().name();

      Was reported by the client first.

      Attachments

        1. testProject.zip
          2 kB
        2. qtbug48772.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard Richard Moe Gustavsen
            dmnikola Dmitry Nikolaev
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes