← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1620991] [NEW] Anchoring warnings in Buttons page in UITK Gallery

 

Public bug reported:

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

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Medium
     Assignee: Zsombor Egri (zsombi)
         Status: New

** Summary changed:

- Anchoring warnings in ComboButton page in UITK Gallery
+ Anchoring warnings in Buttons page in UITK Gallery

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

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

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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:
  New

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