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

[REG 5.5->5.6] tst_qquicktextedit::mouseSelection failures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.3
    • 5.6.0 Alpha
    • Quick: Other
    • Windows,Linux
    • 55b9c7c1bdc7ccaf3126622e72843a3c247cbaf4

    Description

      Some subtests of mouseSelection() consistently fail. They were correctly blacklisted by "Blacklist unstable tests for now" (qtdeclarative/dev, 5.6.2015) https://codereview.qt-project.org/#/c/113715/ , but this is unfortunate since it uses QTRY_VERIFY which slows it down considerably.

      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (4,9)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "45678"
         Expected (selectedText)                      : "0123456789"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (2,13)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "23456789 AB"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (2,30)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "23456789 ABCDEFGHIJKLMNOPQRS"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (9,13)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "9 AB"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (9,30)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "9 ABCDEFGHIJKLMNOPQRS"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (13,2)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "23456789 AB"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (20,2)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "23456789 ABCDEFGHI"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (12,9)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "9 A"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BFAIL  : tst_qquicktextedit::mouseSelection(on double click (30,9)) Compared values are not the same
         Actual   (((textEditObject->selectedText()))): "9 ABCDEFGHIJKLMNOPQRS"
         Expected (selectedText)                      : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      tst_qquicktextedit.cpp(2008) : failure location
      BPASS  : tst_qquicktextedit::mouseSelection(on triple click (4,9))
      Totals: 2 passed, 0 failed, 0 skipped, 46 blacklisted
      ********* Finished testing of tst_qquicktextedit *********
      

      Is this caused by "Cleanup the mouse event handling in testlib" beef975f92e42143c464d68afa6b8cd4f7ef7389 (qtbase/dev, 20.5.2015) https://codereview.qt-project.org/#/c/112734/ ?

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes