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

Qt assumes any XCompose file not ending with 'Compose' is an invalid compose file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 RC
    • 5.4.0 Alpha
    • QPA: X11/XCB
    • None
    • Linux Kernel 3.16.3
      qt-base 5.3.2
    • b4d3f9bd82afed69036015fbfe71526050e0effb

    Description

      The warning `Qt Warning: XCOMPOSEFILE doesn't point to a valid Compose file` is generated when the compose file does not explicitly end with 'Compose'.

      The code responsible for this test is `src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp:93`:
      `if (composeFile.endsWith(QLatin1String("Compose")))`

      Currently my setup complies with the XDG Base Directory specifiction but uses `XDG_CONFIG_HOME/X11/xcompose` instead of `HOME/.XCompose`

      Due to this requirement on explicitly ending filenames with 'Compose' my compose file is deemed invalid and rejected.

      Attachments

        Issue Links

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

          Activity

            People

              peppe Giuseppe D'Angelo
              earnestly Earnest
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes