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

tst_qtranslator is broken and does not recognize language change

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.0
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:
      qtbase refactor 79df6d8e043d7c2c36334321ec1e13b4b85f5852
      Using QT_QPA_PLATFORM=xcb
      Qt configured with -no-pch -nokia-developer -qpa -xcb
      Ubuntu 11.04 64-bit
    • Commits:
      db3418c10b7831db0e6c567ccf49c34698cad1ab

      Description

      Start testing of tst_QTranslator
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS : tst_QTranslator::initTestCase()
      PASS : tst_QTranslator::_q_showIfNotHidden()
      PASS : tst_QTranslator::load()
      PASS : tst_QTranslator::load2()
      PASS : tst_QTranslator::threadLoad()
      FAIL! : tst_QTranslator::testLanguageChange() Compared values are not the same
      Actual (languageChangeEventCounter): 0
      Expected (1): 1
      Loc: [tst_qtranslator.cpp(171)]
      PASS : tst_QTranslator::plural()
      PASS : tst_QTranslator::translate_qm_file_generated_with_msgfmt()
      PASS : tst_QTranslator::loadFromResource()
      PASS : tst_QTranslator::loadDirectory()
      PASS : tst_QTranslator::cleanupTestCase()
      Totals: 10 passed, 1 failed, 0 skipped
      Finished testing of tst_QTranslator

      Looks like the Language Change Event is currently not propagated correctly

        Attachments

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

          Activity

            People

            Assignee:
            hihrig Holger Ihrig (Inactive)
            Reporter:
            hihrig Holger Ihrig (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes