← Back to team overview

touch-packages team mailing list archive

[Bug 1144288] Re: It should be possible to search the object tree recursively starting from a given node

 

raring has seen the end of its life and is no longer receiving any
updates. Marking the raring task for this ticket as "Won't Fix".

** Changed in: autopilot (Ubuntu Raring)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to autopilot in Ubuntu.
https://bugs.launchpad.net/bugs/1144288

Title:
  It should be possible to search the object tree recursively starting
  from a given node

Status in Autopilot:
  Fix Released
Status in autopilot package in Ubuntu:
  Fix Released
Status in autopilot source package in Raring:
  Won't Fix

Bug description:
  There are two main functions used in autopilot to search for objects:

  - select_single()
  - get_children_by_type()

  select_single() does recursion, but it always searches the whole tree.
  get_children_by_type() starts at the given node, but does not recurse.

  In my opinion all object search methods should be capable to recurse
  starting from a certain node. It would be very useful to be able to
  call select_single() on a node to search a child node. Especially with
  QML that would ease things up a lot. Also, it'd be useful to get a
  nodes children by type, but recursing.

  This has been the very first thing I missed in autopilot and every
  developer I introduced to autopilot asked this as the very first
  question (after setting up the environment)

  Adding this should not remove the possibility to only search for
  direct children without recursion as that is sometimes needed as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot/+bug/1144288/+subscriptions