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

QGuiApplication::inputMethod()->locale() returns a wrong locale [again]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9.1
    • None
    • iBus for Linux
    • Linux/Wayland, Linux/X11, Windows

      The same issue as QTBUG-48772, but it seems revived in recent Qt's in Linux and Windows (not macOS).

       

      As reported in the above bug report, simply 

      QGuiApplication::inputMethod()->locale().language();

      always returns QLocale::English. Also, the change of locale on the platform does not emit QInputMethod::localeChanged() signal.

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

            Unassigned Unassigned
            koji211 Koji Yokota
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes