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

[regression] javascript array binding not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.2.1
    • None
    • Qt 5.2.1

    Description

      Works in 5.0.2, messes your settings in 5.2.1

      import QtQuick 2.2
      import QtQuick.Controls 1.0
      import QtQuick.Window 2.1
      import GSettings 1.0
      
      Window {
          id:window;
          title:qsTr("TEST")
          width:640 ;height:480;
          color:"black"
          MouseArea{anchors.fill: parent;onClicked: window.testCase()}
      
      function testCase()
      {
          var a = test.activePlugins
            a.push('vier')
          test.activePlugins = a
      
          console.log(a)
          console.log(test.activePlugins)
      }
          GSettings {id:test;
              schema.id:"org.gnome.gedit.plugins";
              schema.path:"/org/gnome/gedit/plugins/";
          }
      
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              aalpert Alan Alpert
              damianatorrpm Damian Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes