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

Delegate updateEditorGeometry crash with QFontDialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.8.4, 5.0.1
    • Widgets: Itemviews
    • None
    • Windows

    Description

      Creating QFontDialog delegate editor will make the application crash with some styles on Qt 4.8.4. With Qt 5 the application takes 100% CPU. The crash can be seen at least with QWindowsStyle and QMotifStyle, the application works fine with QCommonStyle.

      It looks like there’s something wrong with the QItemDelegate::updateEditorGeometry.

      Attached an application that reproduces the issue. Attached also the call stack of the crash.

      Attachments

        1. callstack.txt
          410 kB
        2. delegateCrash.zip
          2 kB
        3. qtbug30283.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            frederik Frederik Gladhorn
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes