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. FramelessWindowHint freezes form with QAxWidget
Forum Updated to NodeBB v4.3 + New Features

FramelessWindowHint freezes form with QAxWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
qaxwidgetframelesswindowbug
24 Posts 3 Posters 10.3k 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

    @Tikitko
    Hi, np. That was what i wanted to test.

    So if we create it before windows is fully shown we get bug?

    But if you create in button_click , it works?

    TikitkoT Offline
    TikitkoT Offline
    Tikitko
    wrote on last edited by
    #13

    @mrjj Yes, once checked, it is so ...

    mrjjM 1 Reply Last reply
    0
    • TikitkoT Tikitko

      @mrjj Yes, once checked, it is so ...

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

      @Tikitko
      very strange!
      I though showEvent would been same as clicked.
      Try timer so that we first create after window fully shown.

      // in constructor
      QTimer *timer = new QTimer(this);
      connect(timer, SIGNAL(timeout()), this, SLOT(nowcreate()));
      timer->start(4000);
      }

      void MainWindow::nowcreate() << add this to .h also
      {
      qDebug() << "nowcreate";
      // create here
      QAxWidget *Test = new QAxWidget(this);
      ..
      }

      TikitkoT 1 Reply Last reply
      0
      • mrjjM mrjj

        @Tikitko
        very strange!
        I though showEvent would been same as clicked.
        Try timer so that we first create after window fully shown.

        // in constructor
        QTimer *timer = new QTimer(this);
        connect(timer, SIGNAL(timeout()), this, SLOT(nowcreate()));
        timer->start(4000);
        }

        void MainWindow::nowcreate() << add this to .h also
        {
        qDebug() << "nowcreate";
        // create here
        QAxWidget *Test = new QAxWidget(this);
        ..
        }

        TikitkoT Offline
        TikitkoT Offline
        Tikitko
        wrote on last edited by
        #15

        @mrjj This work!

        mrjjM 1 Reply Last reply
        1
        • TikitkoT Tikitko

          @mrjj This work!

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

          @Tikitko
          ok
          so window must be fully shown to make it happy.
          Good testing :)

          TikitkoT 1 Reply Last reply
          0
          • mrjjM mrjj

            @Tikitko
            ok
            so window must be fully shown to make it happy.
            Good testing :)

            TikitkoT Offline
            TikitkoT Offline
            Tikitko
            wrote on last edited by Tikitko
            #17

            @mrjj Thank you very much for your help! So show window, and then create a widget ... So still the question, it is a bug Qt or something else? The problem can be considered solved only in the bug tracker you need to add ...

            mrjjM 1 Reply Last reply
            0
            • TikitkoT Tikitko

              @mrjj Thank you very much for your help! So show window, and then create a widget ... So still the question, it is a bug Qt or something else? The problem can be considered solved only in the bug tracker you need to add ...

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

              @Tikitko
              You are most welcome.
              well I think its a bug but not sure.
              When bug comes, it seems to me it hangs. That seems like bug.

              Oh I forgot to ask.
              What is {8856f961-340a-11d0-a96b-00c04fd705a2} ?

              TikitkoT 2 Replies Last reply
              0
              • mrjjM mrjj

                @Tikitko
                You are most welcome.
                well I think its a bug but not sure.
                When bug comes, it seems to me it hangs. That seems like bug.

                Oh I forgot to ask.
                What is {8856f961-340a-11d0-a96b-00c04fd705a2} ?

                TikitkoT Offline
                TikitkoT Offline
                Tikitko
                wrote on last edited by
                #19

                @mrjj this is Internet Explorer but in any case, the error with any object in QAxWidget...

                1 Reply Last reply
                1
                • mrjjM mrjj

                  @Tikitko
                  You are most welcome.
                  well I think its a bug but not sure.
                  When bug comes, it seems to me it hangs. That seems like bug.

                  Oh I forgot to ask.
                  What is {8856f961-340a-11d0-a96b-00c04fd705a2} ?

                  TikitkoT Offline
                  TikitkoT Offline
                  Tikitko
                  wrote on last edited by
                  #20

                  @mrjj Hello, another mament noticed everything was decided widget loading after displaying the window, but if you minimize the window and deploy the freeze button again ...

                  mrjjM 1 Reply Last reply
                  0
                  • TikitkoT Tikitko

                    @mrjj Hello, another mament noticed everything was decided widget loading after displaying the window, but if you minimize the window and deploy the freeze button again ...

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

                    @Tikitko
                    Ehh. not sure I read that correctly.

                    You say that if made with button, then bug dont show, but if you minimize and maxi window again, bug comes back?

                    TikitkoT 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @Tikitko
                      Ehh. not sure I read that correctly.

                      You say that if made with button, then bug dont show, but if you minimize and maxi window again, bug comes back?

                      TikitkoT Offline
                      TikitkoT Offline
                      Tikitko
                      wrote on last edited by
                      #22

                      @mrjj If i minimize a window, and deploy it, the problem returns

                      mrjjM 1 Reply Last reply
                      0
                      • TikitkoT Tikitko

                        @mrjj If i minimize a window, and deploy it, the problem returns

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

                        Ok
                        Have you tried with Qt 5.5 ?
                        Maybe QAxWidget has bug in 5.6

                        1 Reply Last reply
                        0
                        • V Offline
                          V Offline
                          vmkan
                          wrote on last edited by
                          #24

                          Hello!

                          I faced a similar problem, tried hacks with single QTimer and showEvent: timer was a solution, and showEvent -- wasn't. I also use Win10, but Qt5.5.1. Have you succeeded?

                          1 Reply Last reply
                          0

                          • Login

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