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

flickable clip can't work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.1
    • None

      when displaying QQuickItem with custom QSGRenderNode,
      the clip of parent flickable can't work as expected.

      QQuickItem::clipRect():
      flick inner: clipRect() is as expected
      flick outer: clipRect() is keep same

      when I try to use scissorRect when rendering:
      flick inner: the scissorRect is keep same
      flicking outer: scissorRect will change, but the value is not same as expected, it looks like is the intersect of two flickable rect in the whole window.

      but the official control (blue plus button in the center of custom item) can be clipped as expected, so how to do like that in custom QSGRenderNode?

      or some example code?

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            niqingliang2003 niqingliang2003
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes