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

Mac: Crash when clearing a style sheet on a QTableView

XMLWordPrintable

    • macOS
    • 6c10e72fc838f8f9f5c3a3e4a297088b1725262c

      1) Build the attached qtbug17333.tgz on Mac
      2) Press Clear button to the right of the table view
      3) Observe crash

      Summary: Setting the style sheet "background-color: rgb(34, 34, 34); border-radius: 0px; height: 16px;"
      "border: 1px solid rgb(102, 102, 102); color: rgb(153, 153, 153);" and afterwards
      clearing it causes a crash (endless recursion in QHeaderView).

      This was reported as a Qt Creator/Designer bug:

      1) Open attached .ui file with QtCreator on OS X
      2) Select the large dark tableview widget (titlesTableView)
      3) In the properties pane, click the reset button next to the stylesheet property
      4) crash .....

      When doing the same in the stand-alone designer, no crash occurs.
      Tested also with qtcreator 2.1.0-rc1 on Linux, no crash.

        1. qtbug17333.tgz
          1 kB
          Friedemann Kleint
        2. titleinputwidget.ui
          6 kB
          Arthur Dobbe
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            dedietri Gabriel de Dietrich (drgvond)
            arthurd Arthur Dobbe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes