[Bug 1493040] Re: PageHeadSections: changes selection when adding/removing items

2016-01-21 Thread Tim Peeters
As requested in this bug https://bugs.launchpad.net/ubuntu-rtm/+source
/ubuntu-ui-toolkit/+bug/1513933 I made these changes:
https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/pageHead-
sectionsIndex/+merge/279834 to reset the sectionIndex to -1 when the
model changes. The motivation is that the UITK cannot tell which section
should be selected after the model changes. The app can tell however, so
it can update the selectionIndex after changing the model.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: Confirmed => Won't Fix

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

Title:
  PageHeadSections: changes selection when adding/removing items

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

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


[Bug 1493040] Re: PageHeadSections: changes selection when adding/removing items

2015-09-11 Thread Christian Dywan
** Changed in: ubuntu-ui-toolkit (Ubuntu)
 Assignee: (unassigned) => Tim Peeters (tpeeters)

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => High

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

Title:
  PageHeadSections: changes selection when adding/removing items

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

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


[Bug 1493040] Re: PageHeadSections changes selection when adding/removing items

2015-09-08 Thread Sam Bull
** Description changed:

  When adding/removing an item from the model, the item selected by the
  PageHeadSections changes. Selecting the next item along when removing an
  item before the selection, and the previous item when adding an item
  before the selection.
  
  Note that this behaviour works correctly in the Picker component (except
  for bug #1344883). Basically, the element should pay attention to
  changes in the model and update it's selectedIndex appropriately in
  order to continue selecting the same element after updates.
  
- A minimal example is attached to demonstrate this.
+ A minimal example is attached to demonstrate the problem.

** Summary changed:

- PageHeadSections changes selection when adding/removing items
+ PageHeadSections: changes selection when adding/removing items

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

Title:
  PageHeadSections: changes selection when adding/removing items

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

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