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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.12.2, 5.14.0 Alpha
    • 5.12.0
    • QPA: Windows
    • None
    • Windows 10 Pro 1803 (build 17134.472), Qt 5.12.0
    • Windows
    • 38504041148f2d1cffea6520ea448dd4171adb0b (qt/qtbase/5.12)

      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).

        1. qtbug72801.zip
          4 kB
          Friedemann Kleint
        2. Test.zip
          5 kB
          Yuji Liu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes