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

QStyleSheetStyle::pixelMetric using PM_TabBarBaseOverlap null ptr crash accessing w

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.1
    • 5.2.0
    • Quick: Controls 1
    • None
    • e4b94dd19cccd769f8326df20556a8900e7cfb3f

    Description

      qstylesheetstyle.cpp line 4713 attempts to use w->parentWidget() when w is null (which is its default value).

      An example that is crashing for me is:

      QQuickStyleItem::pixelMetric() [line 1072] calls QStyleSheetStyle::pixelMetric() with:
      m = QStyle::PM_TabBarBaseOverlap
      w = null (default param)

      Attachments

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

        Activity

          People

            bachewii Jens
            mattbolger Matt Bolger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes