The Flickable and the Scrollbar could be replaced with a ScrollView. The
Flickable stays inactive if the ComboButton content is set to be an
other Flickable. Having a ScrollView we could reparent it to the
visual's dropdown holder.

And we need to do this reparenting. The style's dropdown holder
specifies the area and the place of the dropdown, and the way it expands
(i.e. size expansion or overlay).

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

Title:
  Anchoring warnings in Buttons page in UITK Gallery

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

Bug description:
  ubuntu-ui-toolkit/staging, r2090

  1) Build uitk
  2) run gallery with ./gallery.sh
  3) Open Buttons page

  Expected outcome: 
  no warnings

  Actual outcome:
  A few "QML Scrollbar: Cannot anchor to an item that isn't a parent or 
sibling."

  Explanation:
  That happens because Scrollbar anchors to the flickable item, but the 
ComboButton code has a hack that changes the parent of the Flickable to 
actually be Flickable's child. As a consequence  Flickable is not a sibling of 
the scrollbar anymore, thus producing the anchor-related warning.

  See http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
  toolkit/staging/annotate/2090/src/Ubuntu/Components/1.3/ComboButton.qml#L354

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to