If you're developing targeting ubuntu-sdk-14.10 as toolkit, you could
use the workaround in the page definition:

        property Item __oldContents: null
        Connections {
            target: page.head
            onContentsChanged: {
                if (page.__oldContents) {
                    page.__oldContents.parent = null;
                }
                page.__oldContents = page.head.contents;
            }
        }

see also the attached file.

** Attachment added: "test.qml"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1400297/+attachment/4293091/+files/test.qml

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1400297

Title:
  PageHeadState doens't correctly update head.contents

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1400297/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to