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.7k 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.
  • M mrjj
    4 May 2016, 13:44

    @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);
    ..
    }

    T Offline
    T Offline
    Tikitko
    wrote on 4 May 2016, 13:47 last edited by
    #15

    @mrjj This work!

    M 1 Reply Last reply 4 May 2016, 13:48
    1
    • T Tikitko
      4 May 2016, 13:47

      @mrjj This work!

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 4 May 2016, 13:48 last edited by
      #16

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

      T 1 Reply Last reply 4 May 2016, 13:52
      0
      • M mrjj
        4 May 2016, 13:48

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

        T Offline
        T Offline
        Tikitko
        wrote on 4 May 2016, 13:52 last edited by Tikitko 5 Apr 2016, 13:53
        #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 ...

        M 1 Reply Last reply 4 May 2016, 13:55
        0
        • T Tikitko
          4 May 2016, 13:52

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

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 4 May 2016, 13:55 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} ?

          T 2 Replies Last reply 4 May 2016, 13:57
          0
          • M mrjj
            4 May 2016, 13:55

            @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} ?

            T Offline
            T Offline
            Tikitko
            wrote on 4 May 2016, 13:57 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
            • M mrjj
              4 May 2016, 13:55

              @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} ?

              T Offline
              T Offline
              Tikitko
              wrote on 5 May 2016, 12:33 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 ...

              M 1 Reply Last reply 5 May 2016, 12:34
              0
              • T Tikitko
                5 May 2016, 12:33

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

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 5 May 2016, 12:34 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?

                T 1 Reply Last reply 5 May 2016, 12:52
                0
                • M mrjj
                  5 May 2016, 12:34

                  @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?

                  T Offline
                  T Offline
                  Tikitko
                  wrote on 5 May 2016, 12:52 last edited by
                  #22

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

                  M 1 Reply Last reply 5 May 2016, 12:57
                  0
                  • T Tikitko
                    5 May 2016, 12:52

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

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 5 May 2016, 12:57 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 25 Jan 2017, 17:57 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