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

Linguist freezes when trying to open a translation key with HTML tags.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.7.0
    • Tools: Linguist
    • None
    • Windows 10 Pro 64bit

      Sorry if I selected a wrong Project.

      This issue is happening in all Qt Linguist versions.

      If you try to open a ts file that has HTML tags in any of translation keys, Qt Linguist will become unresponsive and needs to be killed.

      Repro:

      • Create a new Qt project.
      • Put QString test = tr("<html><body>test</body></html>"); anywhere in the code, e. g. in MainWindow constructor.
      • Put TRANSLATIONS = trans_en.ts in the application pro file.
      • Generate the translation file.
      • Open it in Qt Linguist.

        1. qtbug56615_nonrepro.diff
          0.4 kB
          Friedemann Kleint
        2. LinguistFreezeTest.zip
          5 kB
          berzeger
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            berzeger berzeger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes