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

MultiEffects Shadow in repeater causes application to crash

    XMLWordPrintable

Details

    • macOS
    • 4375fff77 (dev), 0fde57231 (6.7), ed4bd942e (6.7.1), c7b1f2ca7 (tqtc/lts-6.5)

    Description

      This is very specific use case. I have a model that is changing in time and I have current index of selected item (int) from C++ class. I have found out that when delegate uses shadow effect it crashes after model change. Simplified example is attached.

      The example works following way. There are rectangles in repeater, if you click on any it is "selected". if you click outside it is deselected. The model changes every 3 seconds - increasing number of rectangles just for example. If you try to select and deselect after model change, application crashes. If you disable shadow effect or use Q5 compatibility module for shadow, it works. 

      Attachments

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

        Activity

          People

            kagro Kaj Grönholm
            kejpi Petr Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes