Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21492

Qt Creator crashes when pressing enter and last line is not visible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 4.8.0-beta1
    • Editors
    • None
    • Linux/X11

    Description

      Qt Creator crashes when adding a newline (pressing Enter) between paranthesis if the last line of the source file is not visible.

      Steps to reproduce:

      1. Start Qt Creator
      2. create new cpp source file
      3. add newlines until the editor is filled
      4. add some function
      5. add an if statement in the function with opening paranthesis so Qt Creator will automatically add the closing one
      6. scroll down until the if statement is in the last visible editor line
      7. press enter with the cursor in between the paranthesis

      To be extra sure see the attached screenshot.

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              plus Thomas Pathmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes