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

Crash with ScrollView + TextArea + Item when the app is closing

    XMLWordPrintable

Details

    • macOS, Windows
    • 4cba29c38cb1b610bf896130050b6c14b7e10c71 (qt/qtquickcontrols2/dev) f3377bd4d790fb07bdcac06ac9f803856fee07d9 (qt/tqtc-qtquickcontrols2/5.15) 5c057b7676cabd05cf342d0a3907c0ce70816172 (qt/qtquickcontrols2/6.1)

    Description

      The following code causes a crash when the application is closing (e.g. by close bottom).

      import QtQuick 2.15
      import QtQuick.Controls 2.15
      import QtQuick.Window 2.15
      
      Window {
          id: window
          width: 640
          height: 480
          visible: true
      
          ScrollView{
              anchors.fill: parent
               Item {
                  id: name
              }
              TextArea{
              }
          }
      }
      

      How to reproduce :
      Use the sample code above.
      Start the app and press close button.

      The message is shown.
      "SampleApplication.exe crashed."

      Attachments

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

        Activity

          People

            andysh Andy Shaw
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes