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

Translations: Window titles display multiple Length Variants instead of selecting a single one

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.0
    • Widgets: Main Window
    • None
    • Windows 10 22H2, MSVC 2019 x64

    Description

      See attached project, which is a modified version of the Hello tr() Example (https://doc.qt.io/qt-6/qtlinguist-hellotr-example.html ). It  contains 2 length variants of the translated text, and echoes the same translation to the window title.

      While the QPushButton correctly selects the variant based on the widget size, the window title shows BOTH variants concatenated.

       

      Notes

      Qt Quick window titles are also affected.

      Attachments

        1. hellotr_modified.zip
          2 kB
          Sze Howe Koh
        2. length-variants-runtime.gif
          124 kB
          Sze Howe Koh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes