Public bug reported:

See this small example code: http://paste.ubuntu.com/9426167/
As you can see, I set both PageHeadState to change their 'contents' property 
when changing state. The expected behavior would be to have in the page head a 
Label when state is "default" and a TextEntry when in "search" state. However 
after some interactions (switching state 2 times) both the Label and the Entry 
are shown.
As this doesn't happen with other properties, this should not happen with 
contents.
I can set a 'visible' property to each component as workaround though.

Thanks,
Giulio

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "testqml.qml"
   
https://bugs.launchpad.net/bugs/1400297/+attachment/4276096/+files/testqml.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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to