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

tst_QWindow::positioning() fails on Mac OS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.0
    • 5.0.0
    • GUI: Window management
    • None
    • OS X Lion, Xcode 4.3.2, clang 3.1
    • macOS
    • bdd3ead8270dfde12b0b4eb57125a22e51ee88ce

      The fullscreen transitions in this test function cause a Cocoa warning and a test failure:

      2012-06-06 11:21:16.627 tst_qwindow[42211:703] not in fullscreen state
      FAIL! : tst_QWindow::positioning() Compared values are not the same
      Actual (originalPos): QPoint(0,1010)
      Expected (window.pos()): QPoint(0,0)
      Loc: [tst_qwindow.cpp(198)]

      When this happens, isActive() also fails:

      FAIL! : tst_QWindow::isActive() Compared values are not the same
      Actual (window.received(QEvent::Resize)): 4
      Expected (1): 1
      Loc: [tst_qwindow.cpp(255)]

      Note that isActive() does not fail if positioning() is skipped.

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

            liaqi Liang Qi
            bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes