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

[Reg 5.11 -> 5.12] [Win10] Double-click a QTableWidget or QTreeWidget minimizes all windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.12.2, 5.14.0 Alpha
    • Component/s: QPA: Windows
    • Labels:
      None
    • Environment:
      Windows 10 Pro 1803 (build 17134.472), Qt 5.12.0
    • Platform/s:
      Windows
    • Commits:
      38504041148f2d1cffea6520ea448dd4171adb0b (qt/qtbase/5.12)

      Description

      If a QTableWidget or QTreeWidget is linked with a slot "cellDoubleClicked(int, int)" or "itemDoubleClicked(QTreeWidgetitem*, int)" and in the slot function a new dialog is executed, all windows will get minimized when a user double-clicks that widget.

       A sample code would look like this:

      void MainWindow::on_tableWidget_cellDoubleClicked(int row, int column)

      { QDialog dig; dig.exec(); }

       

      During my test, this bug only appears in Windows 10 together with Qt 5.12. You won't see this bug in either Windows 7 or Qt 5.11.

       

      I tested both MSVC 2017 x64 and MinGW 7.3.0 x64 and found the same problem.

       

      I'm not sure if different Windows 10 builds affect this. My test environment is Windows 10 Pro 1803 (build 17134.472).

        Attachments

        1. qtbug72801.zip
          4 kB
        2. Test.zip
          5 kB

          Issue Links

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

            Activity

              People

              Assignee:
              anrocha André De La Rocha
              Reporter:
              hydroblade Yuji Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes