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

tst_QWindow::positioning() fails on Mac OS X

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes