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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Component/s: Tools: Linguist
    • Labels:
      None
    • Environment:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes