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

Crash with QWidget if setAttribute(Qt::WA_StaticContents) is set

    XMLWordPrintable

Details

    • All
    • deab54f84f5771755c714e52b4587f152de09446 (qtbase/5.12, 7.9.2018,5.12)

    Description

      There is a crash when user set Qt::WA_StaticContents to widget. 

      Steps to reproduce:

      1. Execute the attached program
      2. close the small window. 
      3. It will crash after it. If not, trying resizing main window, you will see crash. 
      4. If you move line no. 12 after mainwnd->show(); (i.e. line 14), it works fine. 

       

      Attachments

        1. qtbug70085.zip
          0.9 kB
          Shveta Mittal
        2. qtbug70085_stack.txt
          10 kB
          Friedemann Kleint
        3. qtbug70085_diag.diff
          3 kB
          Friedemann Kleint
        4. qtbug70085_log.txt
          4 kB
          Friedemann Kleint
        5. qtbug70085.zip
          1 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-70085
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes