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

Excessively slow when opening a "large" file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.6.1
    • Editors
    • None
    • Windows 10

      ClangCodeModel plugin active

    Description

      I am working on a project for which I need to generate a cpp file.

      To check if my file is right, I drag and drop it on QtCreator, but it completely froze. The file is less than 400kb.

      I suspect that the issue doesn't come only from the file size, but also from the bad formatting,...

       

      Expected behavior:

      Fast loading, be able to scroll in the editor view correctly. QtCreator freeze so much that it is hard to close the file.

       

      PS: The zip contains my first try, same file serialized with a QDataStream instead of a QTextStream

      Attachments

        1. api_entry2_nl.cpp
          374 kB
        2. api_entry2.cpp
          370 kB
        3. api_entry2.zip
          58 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            flamaros Xavier Bigand
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes