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

QQuickItem::childAt does not necessarily return a visible item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            paherbst patrick herbst
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes