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

ActiveQt: constructor/deconstructor are called two times, but these two are not really usable objects, only one.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.2.1
    • ActiveX Support
    • Windows 7, 64bit, Visual Studio 2012 all SPs

    Description

      [Edit, see comments; this bug seems to be within testcon.exe]

      When I create a absolutely small example of an in-process ActiveX application, the provided Controls are instantiated two times by Qt. The example is attached.

      The constructor is called two times, the deconstructor as-well, but without the implemented debugging message.

      [TERMINAL]
      ChristianRi@ChristianRi-nb ~
      $ testcon.exe
      <RiesAxAddress> Constructor
      <RiesAxAddress> Constructor
      External WM_DESTROY received for QWidgetWindow(0x1067b58, name = "RiesAxAddressWindow") , parent: QObject(0x0) , transient parent: QObject(0x0)
      <RiesAxAddress> Deconstructor
      External WM_DESTROY received for QWidgetWindow(0x5b55f88, name = "RiesAxAddressWindow") , parent: QObject(0x0) , transient parent: QObject(0x0)
      [/TERMINAL]

      Attachments

        1. qtbug38419.zip
          4 kB
        2. RiesActiveX01.png
          RiesActiveX01.png
          16 kB
        3. RiesActiveX01.zip
          5 kB
        4. RiesActiveX02.png
          RiesActiveX02.png
          67 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            cbries Christian Benjamin Ries
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes