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

QPropery::takeBinding does not remove the binding during binding evaluation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2
    • Fix Version/s: None
    • Component/s: Core: Object Model
    • Labels:
      None

      Description

      If you set a new binding during binding evaluation, we detect this as a binding loop; just like a write of a value to a binding during is considered a binding loop.

       

      However, takeBinding is implemented as setting a default constructed binding. This might need some additional special casing - or alternatively, we consider it an error, too. In that case, it should however probably use a custom error.

        Attachments

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

          Activity

            People

            Assignee:
            fabiankosmale Fabian Kosmale
            Reporter:
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change