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

tst_qtranslator is broken and does not recognize language change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.0
    • 5.0.0
    • Core: Other
    • None
    • qtbase refactor 79df6d8e043d7c2c36334321ec1e13b4b85f5852
      Using QT_QPA_PLATFORM=xcb
      Qt configured with -no-pch -nokia-developer -qpa -xcb
      Ubuntu 11.04 64-bit
    • 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

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

        Activity

          People

            hihrig Holger Ihrig (Inactive)
            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