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

qdeclarativepropertycache not correctly cleared.

    XMLWordPrintable

Details

    Description

      Attached is an example application to reproduce the issue. It creates two dialogs (the second dialog is created after the fist one has been destroyed) that have QDeclarativeView as a child. Overloaded C++ slots are called from the
      QDeclarativeView's QML component.

      1) Run the example: you get a dialog with a label and a QML rectangle element.
      2) Click the rectangle, it turns red and the label will get the last value that is set from QML.
      3) Close the dialog.
      4) The second dialog is created and executed.
      5) Click again the rectangle and you will see the error: wrong slot is called (it never should be called because the overloaded parameter (QTime) is never used) and the label shows the error message.

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes