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

QGuiApplication::inputMethod()->locale() reports the wrong locale

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.2
    • None
    • Linux/Wayland, Linux/X11

    Description

      With Ubuntu 24.04 and Ubuntu 22.04. The Qt
      QGuiApplication::inputMethod()->locale()
      returns the ibus input locale the same you get with

      ibus engine

      This does however not follow the setting you do via the Ubuntu desktop environment which mainly goes to

      /org/gnome/desktop/input-sources/current

      So we have the situation that for instance the German "ö" is displayed correctly in text based editors, but it is broken for short cuts, because the US keyboard is assumed like reported by ibus.

      https://github.com/mixxxdj/mixxx/issues/14838

      QGuiApplication::inputMethod()->locale() reports the keyboard layout that is used in edit boxes.
       

      Attachments

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

        Activity

          People

            liaqi Liang Qi
            daschuer Daniel Schürmann
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes