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

When pasting a large block into a small file while in split mode it can cause an assert in QPlainTextEdit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.6.0-rc
    • Qt Creator 2.5.2
    • FakeVim
    • None

    Description

      When pasting a large block into a small file it can cause an assert in QPlainTextEdit. This happens when loading the attached file and having a blank one. First of all ensure that you have a split view, with the attached file shown and the blank file in the other one. Click at the top of the file with the content and do:

      SHIFT+v
      SHIFT+g
      y
      

      So that everything is selected and copied. Then click in the blank file view and press p to paste and then it will assert in QPlainTextEdit with !line.isValid().

      Attachments

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

        Activity

          People

            hjk hjk
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes