← Back to team overview

touch-packages team mailing list archive

[Bug 1513933] [NEW] Page.head.sections.selectedIndex does not reset when changing model

 

Public bug reported:

Changing Page.head.sections.model does not change the
Page.head.sections.selectedIndex  even when the model has different
size.


I have a page that I need to update the ' Page.head.sections.model ' dynamically and after change the model or make it empty the  Page.head.sections.selectedIndex still point to the initial value. 

Check attached example .

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

** Attachment added: "sections.qml"
   https://bugs.launchpad.net/bugs/1513933/+attachment/4514453/+files/sections.qml

-- 
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/1513933

Title:
  Page.head.sections.selectedIndex does not reset when changing model

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Changing Page.head.sections.model does not change the
  Page.head.sections.selectedIndex  even when the model has different
  size.

  
  I have a page that I need to update the ' Page.head.sections.model ' dynamically and after change the model or make it empty the  Page.head.sections.selectedIndex still point to the initial value. 

  Check attached example .

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


Follow ups