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

2015-12-13 Thread Zoltan Balogh
** Package changed: ubuntu-ui-toolkit (Ubuntu) => ubuntu-ui-toolkit (Ubuntu RTM) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1513933 Title: Page.head.sections.selectedIndex does not reset when cha

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

2015-12-11 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1513933 Title: Page.head.sections.selectedIndex does not reset whe

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

2015-12-08 Thread Tim Peeters
I implemented the desired behavior in the attached MR. However, that conflicts with this bug: https://bugs.launchpad.net/ubuntu/+source /ubuntu-ui-toolkit/+bug/1511839 Internally, the application header has a single Sections instance, and when the active Page changes, the PageHeadSections of that

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

2015-12-08 Thread Tim Peeters
Note that this bug is also blocking the fix for https://bugs.launchpad.net/ubuntu/+source/address-book-app/+bug/1489330 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1513933 Title: Page.head.section

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

2015-12-07 Thread Tim Peeters
When the model is changed, some times the selectedIndex is no longer valid (too large) and must be changed. However, the Sections does not know how the model was changed. Perhaps the model changed from ["one", "two", "three", "four"] to ["one", "two", "three"], with selectedIndex = 1 ("two"). It m

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

2015-12-07 Thread Launchpad Bug Tracker
** Branch linked: lp:~tpeeters/ubuntu-ui-toolkit/pageHead-sectionsIndex -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1513933 Title: Page.head.sections.selectedIndex does not reset when changing mod

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

2015-12-07 Thread Tim Peeters
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1513933 Title: Page.head.sections.selectedIndex does not reset when ch

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

2015-11-23 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1513933 Title: Page.head.sections.selectedIndex does not reset when changi

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

2015-11-23 Thread Bill Filler
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Zoltan Balogh (bzoltan) ** Changed in: canonical-devices-system-image Importance: Undecided => High ** Changed in: canonical

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

2015-11-11 Thread Zsombor Egri
** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Tim Peeters (tpeeters) ** Changed in: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided => High ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Confirmed -- You received this bug notification because you

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

2015-11-06 Thread Renato Araujo Oliveira Filho
** Description changed: 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