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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important 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

      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.

        For Gerrit Dashboard: QTBUG-41557
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes