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

Closing a dialog via mouse click on a button causes an XCB error

    XMLWordPrintable

Details

    • 373392eeb4199654e954f70ce919850f090d59bd 12b1ec4b30 (qt/qtbase/6.4) 12b1ec4b30 (qt/tqtc-qtbase/6.4) fe0dd828ab (qt/qtbase/6.3) fe0dd828ab (qt/tqtc-qtbase/6.3) 37b7e5ecb2 (qt/tqtc-qtbase/5.15) 439ab9e9c8 (qt/tqtc-qtbase/6.2)

    Description

      We have upgraded from Qt 5.6 to Qt 5.6.2. After this, each dialog that is closed by clicking on a button produces this XCB error:

      QXcbConnection: XCB error: 3 (BadWindow), sequence: 540, resource id: 14183585, major code: 40 (TranslateCoords), minor code: 0

      When the dialog button is triggered by a key press, the XCB error does not occur.

      Relevant changes "xcb: Deliver mouse enter event to window when closing modal window" 7091be1b7999d93fe2126042161dcd1d8fd20026 https://codereview.qt-project.org/#/c/146627/

      Attached is a simple application that always produces this error message when I click the "ok" button of the message box.

      Attachments

        1. qtbug56893_510_log.txt
          1 kB
        2. qtbug56893_diag_510.diff
          13 kB
        3. qtbug56893_windowdump.txt
          0.6 kB
        4. qtbug56893.zip
          2 kB

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              barann Marcus Barann
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              16 Vote for this issue
              Watchers:
              41 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d