Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Double-click a QTableWidget or QTreeWidget makes the new dialog minimized
Forum Updated to NodeBB v4.3 + New Features

Double-click a QTableWidget or QTreeWidget makes the new dialog minimized

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 2 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrjjM mrjj

    Hi
    I tried with

    
    void MainWindow::on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
    {
        InfoDialog d;
        d.exec();
    }
    
    

    windows 10, Qt5.12 and VS2015
    I could not reproduce it.

    Is it possible to create a minimal example that shows this behavior ?

    M Offline
    M Offline
    MasterBlade
    wrote on last edited by MasterBlade
    #3

    @mrjj said in Double-click a QTableWidget or QTreeWidget makes the new dialog minimized:

    Hi
    I tried with

    
    void MainWindow::on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
    {
        InfoDialog d;
        d.exec();
    }
    
    

    windows 10, Qt5.12 and VS2015
    I could not reproduce it.

    Is it possible to create a minimal example that shows this behavior ?

    Thanks for the reply.

    I also created a new project similar to yours and it did get minimized. I'm using Windows 10, Qt 5.12 and MSVC 2017 x64.

    mrjjM 1 Reply Last reply
    0
    • M MasterBlade

      @mrjj said in Double-click a QTableWidget or QTreeWidget makes the new dialog minimized:

      Hi
      I tried with

      
      void MainWindow::on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
      {
          InfoDialog d;
          d.exec();
      }
      
      

      windows 10, Qt5.12 and VS2015
      I could not reproduce it.

      Is it possible to create a minimal example that shows this behavior ?

      Thanks for the reply.

      I also created a new project similar to yours and it did get minimized. I'm using Windows 10, Qt 5.12 and MSVC 2017 x64.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #4

      @MasterBlade
      Hi
      Ok. so even a plain project does it.
      I have no idea what it could be.
      Do you have mingw installed ?
      could be something with VS2017 so could be interesting to try other compiler.

      Would it be possible to test same mini project on other pc ?

      M 2 Replies Last reply
      0
      • mrjjM mrjj

        @MasterBlade
        Hi
        Ok. so even a plain project does it.
        I have no idea what it could be.
        Do you have mingw installed ?
        could be something with VS2017 so could be interesting to try other compiler.

        Would it be possible to test same mini project on other pc ?

        M Offline
        M Offline
        MasterBlade
        wrote on last edited by
        #5

        @mrjj said in Double-click a QTableWidget or QTreeWidget makes the new dialog minimized:

        @MasterBlade
        Hi
        Ok. so even a plain project does it.
        I have no idea what it could be.
        Do you have mingw installed ?
        could be something with VS2017 so could be interesting to try other compiler.

        Would it be possible to test same mini project on other pc ?

        OK I'll install MinGW and see if it works.

        1 Reply Last reply
        0
        • mrjjM mrjj

          @MasterBlade
          Hi
          Ok. so even a plain project does it.
          I have no idea what it could be.
          Do you have mingw installed ?
          could be something with VS2017 so could be interesting to try other compiler.

          Would it be possible to test same mini project on other pc ?

          M Offline
          M Offline
          MasterBlade
          wrote on last edited by
          #6

          @mrjj said in Double-click a QTableWidget or QTreeWidget makes the new dialog minimized:

          @MasterBlade
          Hi
          Ok. so even a plain project does it.
          I have no idea what it could be.
          Do you have mingw installed ?
          could be something with VS2017 so could be interesting to try other compiler.

          Would it be possible to test same mini project on other pc ?

          Oh, no. I tried MinGW 7.30 x64 and still having the same problem...

          mrjjM 1 Reply Last reply
          0
          • M MasterBlade

            @mrjj said in Double-click a QTableWidget or QTreeWidget makes the new dialog minimized:

            @MasterBlade
            Hi
            Ok. so even a plain project does it.
            I have no idea what it could be.
            Do you have mingw installed ?
            could be something with VS2017 so could be interesting to try other compiler.

            Would it be possible to test same mini project on other pc ?

            Oh, no. I tried MinGW 7.30 x64 and still having the same problem...

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #7

            @MasterBlade
            Hi
            hmm so seems not to be Qt related as such.
            What windows version ?
            Would it be possible to test same code on other pc ?

            M 2 Replies Last reply
            0
            • mrjjM mrjj

              @MasterBlade
              Hi
              hmm so seems not to be Qt related as such.
              What windows version ?
              Would it be possible to test same code on other pc ?

              M Offline
              M Offline
              MasterBlade
              wrote on last edited by
              #8

              @mrjj

              My office and Home PC are both Windows 10 1803. I'll try other PCs.

              Do I need to install Qt on other PCs or just bring those exe files to them?

              1 Reply Last reply
              0
              • mrjjM mrjj

                @MasterBlade
                Hi
                hmm so seems not to be Qt related as such.
                What windows version ?
                Would it be possible to test same code on other pc ?

                M Offline
                M Offline
                MasterBlade
                wrote on last edited by
                #9

                @mrjj

                I tried Windows 7 and it works out just fine... It may be a problem related to Windows 10.

                mrjjM 1 Reply Last reply
                1
                • M MasterBlade

                  @mrjj

                  I tried Windows 7 and it works out just fine... It may be a problem related to Windows 10.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  @MasterBlade
                  Yes it could be
                  but i tested on win 10 also and could not make it do so.

                  But BOTH you pcs in office does it ?

                  so it could not be just that one pc that had odd issue ?
                  (some dll mixup or something odd)

                  M 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @MasterBlade
                    Yes it could be
                    but i tested on win 10 also and could not make it do so.

                    But BOTH you pcs in office does it ?

                    so it could not be just that one pc that had odd issue ?
                    (some dll mixup or something odd)

                    M Offline
                    M Offline
                    MasterBlade
                    wrote on last edited by
                    #11

                    @mrjj
                    Both my office and home pc have the same issue. I tested on another office pc which runs Windows 7. It's working fine.

                    I have been working on this project for a long period. It didn't have such problem in an earlier Qt version. It may possibly be a Qt bug.

                    mrjjM 1 Reply Last reply
                    0
                    • M MasterBlade

                      @mrjj
                      Both my office and home pc have the same issue. I tested on another office pc which runs Windows 7. It's working fine.

                      I have been working on this project for a long period. It didn't have such problem in an earlier Qt version. It may possibly be a Qt bug.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      @MasterBlade
                      Yes if 5.11 worked on the same pc it could be something in Qt5.12 and windows 10. (maybe with newer update)
                      But i didnt find anything in https://bugreports.qt.io/
                      Would it be possible to verify on same pc that Qt5.11 do not have such issue and
                      if that works, you should open bug report. With the small sample you made.

                      M 1 Reply Last reply
                      0
                      • mrjjM mrjj

                        @MasterBlade
                        Yes if 5.11 worked on the same pc it could be something in Qt5.12 and windows 10. (maybe with newer update)
                        But i didnt find anything in https://bugreports.qt.io/
                        Would it be possible to verify on same pc that Qt5.11 do not have such issue and
                        if that works, you should open bug report. With the small sample you made.

                        M Offline
                        M Offline
                        MasterBlade
                        wrote on last edited by
                        #13

                        @mrjj I downloaded Qt 5.11 on my office PC again and there is no minimal problem with it. So I'm now 100% sure it's a Qt 5.12 bug.

                        mrjjM 1 Reply Last reply
                        1
                        • M MasterBlade

                          @mrjj I downloaded Qt 5.11 on my office PC again and there is no minimal problem with it. So I'm now 100% sure it's a Qt 5.12 bug.

                          mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #14

                          @MasterBlade
                          ok, sounds like it. if on same pc.
                          please open ticket at https://bugreports.qt.io/
                          and provide the test code.

                          M 1 Reply Last reply
                          0
                          • mrjjM mrjj

                            @MasterBlade
                            ok, sounds like it. if on same pc.
                            please open ticket at https://bugreports.qt.io/
                            and provide the test code.

                            M Offline
                            M Offline
                            MasterBlade
                            wrote on last edited by
                            #15

                            @mrjj Done https://bugreports.qt.io/browse/QTBUG-72801

                            1 Reply Last reply
                            2

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved