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

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

XMLWordPrintable

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

      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.

        1. crash.tar.gz
          1 kB
        2. QtGuiCrash.rar
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes