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

[Text Editor]Using undo function causes the app to crash

    XMLWordPrintable

Details

    • Linux/X11, macOS
    • 8a7250843 (dev), 3999908ae (6.7), adb47b7f7 (6.6), 090aad60d (tqtc/lts-6.5), d93cea7cb (tqtc/lts-5.15)

    Description

      Steps to reproduce:

      1. Open text edit example https://doc.qt.io/qt-6/qtquickcontrols-texteditor-example.html 
      2. Build and run the app desktop
      3. Add some text to end of the list. Keep it short (under 5 chars)
      4. Cut out all the text
      5. Paste the text twice
      6. Select all text and delete it
      7. Press cmd+z 

      Expected: The previous state is displayed.

      Actual: The app crashes.

      Reproducibility:  100%

       

      Attachments

        Issue Links

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

          Activity

            People

              santhoshkumar Santhosh Kumar Selvaraj
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: