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

The 'compose' platform input plugin doesn't detect locale aliases

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.1.0
    • None

    Description

      According to the source code, the 'compose' plugin reads "compose.dir" to get locale - compose mappings. On my system the file contains this line for my language (Slovak):

      en_US.UTF-8/Compose sk_SK.UTF-8

      As you can see, my locale is sk_SK.utf8 (without the dash), so it doesn't find the compose file and it's not possible to use dead keys at all.

      I noticed there's a file called "locale.alias" in the same directory as "compose.dir". I wrote a patch that reads this file to resolve aliases, but I'm not sure if this is the right solution.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            lubomirr Ľubomír Remák
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes