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

Widget crashes during setAttribute(Qt::WA_WindowPropagation)

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.9.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      The following lines will crash Qt:

      QWidget* w = new QWidget(nullptr);

      w->setAttribute(Qt::WA_WindowPropagation);

      Crashes with Qt 5.9, but not previous versions. Adding a parent to the widget will eliminate the crash. See attached project. 

       widgetbug.tar

        Attachments

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

          Activity

            People

            • Assignee:
              mmutz Marc Mutz
              Reporter:
              skycrestway Gary Holmlund
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes