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

QtQuick: Clipped items within a non-drawing item are not painted (REGRESSION)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.3.1
    • 5.2.1, 5.3.0 Beta1
    • None
    • Linux, Windows
    • a6ebd47a340a73a498f9ad06bbf7e4169c2da6fb

      A parent item that doesn't draw (i.e. an Item or a Rectangle with color: "transparent") and has clip set to true will not cause child items to redraw when its height/width changes to "reveal" them.

      I've attached a basic example to demonstrate this. Running this file using 5.2.0, clicking the button will animate revealing the full square. In 5.2.1 and the 5.3 beta, clicking the button appears to have no effect, despite the Item's height

        1. ClipBug.qml
          0.8 kB
          Eric Magnuson
        For Gerrit Dashboard: QTBUG-38473
        # Subject Branch Project Status CR V

            sletta Gunnar Sletta
            emagnuson Eric Magnuson
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes