Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70735

QQuickItem::childAt does not necessarily return a visible item

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.5.1
    • None
    • Linux/X11

    Description

      QQuickItem::childAt is described to return the first visible item at the specified location.

      It returns the first applicable child item in childItems regardless of paint order.  This means there are cases where it can return a child item that is not currently visible.

      The function should probably return the first applicable child out of the sortedChildItems list instead.  This would ensure the returned item is the best possible match.

       

      This bug was found in 5.5.1, but it looks like the source code is still the same in later versions (most recent in git repo as of 09/25/2018)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            paherbst patrick herbst
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes