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

Using Canvas in dynamically created pages causes crash in repaint or destruction

    XMLWordPrintable

Details

    • e865df80a907ceb3354a3369f9467022f451d692

    Description

      (See attached project for sample project)

      If dynamically creating pages (similar to PageStack) and manually reparenting them, application will crash if the created page contains a Canvas element. It appears to be the getContext call in the onPaint handler that is the root source. The crash occurs sometime after popping a page off a stack and reparenting the previous page. If the getContext call is commented out (and subsequently the rest of the onPaint handler body) the crash does not occur and the application behaves as expected.

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            stevenhurd Steven Hurd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes