Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 4.2.1 (or 4.x.x) Ctrl + K feature opens files very slowly
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 4.2.1 (or 4.x.x) Ctrl + K feature opens files very slowly

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • napajejenunedk0N Offline
    napajejenunedk0N Offline
    napajejenunedk0
    wrote on last edited by
    #1
    1. Freshly installed the aforementioned version of Qt Creator on Windows - AppData already clear from any files left from previous Qt Creator versions
    2. Hit Ctrl + K to activete the locate functionality
    3. Typed part of a given file's name
    4. Hit enter on the found file's name - there's a delay of 9-10 seconds (counted them) until the given file is opened and until then Qt Creator is blocked and the mouse cursor is showing the waiting indicator

    The same happens when using the function "Follow Symbol Under Cursor". Reproduced the same behavior using previous 4.x.x versions.

    Any ideas for fixing aside from logging it as a bug?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      In the plugin menu you can try to disable the new code model.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • napajejenunedk0N Offline
        napajejenunedk0N Offline
        napajejenunedk0
        wrote on last edited by
        #3

        Disabling both C++ -> ClangCodeModel and Code Analyzer -> ClangStaticAnalyzer doesn't result in any change.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What OS are you on ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • napajejenunedk0N Offline
            napajejenunedk0N Offline
            napajejenunedk0
            wrote on last edited by
            #5

            Windows 8.1 64-bit. There's an already filed issue by another user.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              You should add details like the size of the project, its organisation (e.g. subdirs project, all files in one folder etc.) as well as where it is located (local hard drive, remote disk like Dropbox, Google drive) if you have any anti-virus running etc. Anything that might help recreate the same environment.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              napajejenunedk0N 1 Reply Last reply
              0
              • SGaistS SGaist

                You should add details like the size of the project, its organisation (e.g. subdirs project, all files in one folder etc.) as well as where it is located (local hard drive, remote disk like Dropbox, Google drive) if you have any anti-virus running etc. Anything that might help recreate the same environment.

                napajejenunedk0N Offline
                napajejenunedk0N Offline
                napajejenunedk0
                wrote on last edited by napajejenunedk0
                #7

                @SGaist As mentioned in the comment of the bug report the problem is reproduced with project of any size. Here is a video of what happens even with the simplest template Qt project. Notice in the provided screen capture that there is the same or probably even greater slowdown when creating a new project and more specifically when specifying its name and directory path. The slowdown when creating a new project is reproduced only once per Qt Creator application session. One should restart Qt Creator to reproduce it again. The slowdown resembles the one experienced when building some kind of cache or locating a directory or file(s) for the project that is about to be created. The Qt Creator stalling observed when going to a class' definition e. g. opening a file using go to definition or through the locate functionality (Ctrl + K) is observed only the first time the file is opened in a single Qt Creator application session.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  That's the kind of small detail that should be added to the report, even if it seems unimportant. As you know, the devil might be in the details.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved