← Back to team overview

touch-packages team mailing list archive

[Bug 1400297] Re: PageHeadState doens't correctly update head.contents

 

** Branch linked: lp:~gcollura/ubuntu-ui-toolkit/staging-
fix-1341814-and-1400297

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1400297

Title:
  PageHeadState doens't correctly update head.contents

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Committed

Bug description:
  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

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


References