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

Cannot access outer component properties from nested component, on ARM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.2.1
    • None
    • Failing: ARM (armv7l), with gcc 4.6.4
      Working: x86_64, with gcc 4.8.1

    Description

      On running the attached example, I get this log:

      outer.foo undefined
      inner.bar inner.bar
      parent value outer.foo
      

      But, if I uncomment the commented line, then outer.foo gets defined.

      This happens running on ARM (armv7l). If I try the same version on desktop, with x86_64, it works as expected (both with the line commented and uncommented).

      But, if I add the following patch that got landed after 5.2.1 release:

      commit 5dc7649f5ad7dca6e13707e827d001c3f118a6ef
      Author: Simon Hausmann <simon.hausmann@digia.com>
      Date:   Tue Jan 28 14:04:58 2014 +0100
          [Regression] Fix lazy binding evaluation
      

      Then the result is reversed:

      • With the commented line, it works.
      • Uncommenting the line, it fails.

      Adding also this patch still doesn't fix the issue:

      commit 464bd2bf975797241213191a374e70431c5c3763
      Author: Simon Hausmann <simon.hausmann@digia.com>
      Date:   Fri Feb 14 14:18:01 2014 +0100
          Fix spurious binding loop errors in QtQuick Controls and other places
      

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              jdapena Jose Dapena Paz
              Votes:
              3 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes