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

Application crash in connection with Qt::StaticContents and Qt::WA_StaticContents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 4.5.3, 4.7.1, 4.7.2, 5.4.2
    • None
    • Windows XP
    • deab54f84f5771755c714e52b4587f152de09446

    Description

      If a Q3Table is used in a dialog, it crashes, when changing the windowflags of its parent window. However this doesn't happen, if Qt::StaticContents and Qt::WA_StaticContents are turned off for all widget children of the Q3Table.
      Attached is a small example demonstrating this issue:

      1. run the application
      2. click on the button 'open dialog', a dialog window appears
      3. click on the button 'set window flags', the flags of the parent window will be reset
      4. close dialog, program crashes

      If you run this example with the workaround uncommented (lines 29-35), the application doesn't crash.

      Attachments

        1. QtGuiCrash.rar
          1 kB
        2. crash.tar.gz
          1 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kleint Friedemann Kleint
              mawiesma Martin Wiesmann (closed Nokia identity) (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes