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

QGraphicsTextItem crashes when you delete the complete text interactivly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.15.7
    • GUI: Text handling
    • None
    • * Ubuntu 20.04
       * QtCreator build for Qt 5.15.7

       
    • Linux/X11

    Description

      To reproduce the issue do the following:

       Open QtCreator build with Qt 5.15.7 (other reversions may also work). Create a new Model diagram (New File : Modeling : Scratch Model), drag an "Item" on the diagram. Klick into name field (on the diagram, not the right panel). Move cursor to end of name. Press backspace to delete all characters -> QtCreator crashes when the last character is deleted.

      Running with debugger clearly shows that this happens on handling the "backspace" key event in QGraphicsTextItem (.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            gilead Jochen Becher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes