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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: