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

Widget crashes during setAttribute(Qt::WA_WindowPropagation)

    Details

    • Type: Bug
    • Status: In Progress
    • 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

        For Gerrit Dashboard: QTBUG-61213
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              richard Richard Moe Gustavsen
              Reporter:
              skycrestway Gary Holmlund
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There is 1 open Gerrit change