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

Slowness when right-clicking a function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 8.0.0
    • C/C++/Obj-C++ Support
    • None
    • Linux
    • All

    Description

      I'm reporting it for 8 but this has actually been an issue for a fairly long time.

       

      Sometimes (randomly) the right-click menu is extremely long to come up - takes a few seconds where the UI freezes.

      Some seemingly simple refactoring actions also easily get stuck.

       

      Here is a trace where the menu took 3/4 second to come up, followed by another 3/4 sec freeze when I hit the "Add method in CPP file" refactoring action. It seems that it also gets stuck in the classic C++ code model.

       

       

      Note that here I really have simple code in the file I wanted to do this - there's maybe 1200 lines of my own code total, plus a few standard C++ headers and nothing else: I tried to generate the body for the "update()" method here:

       

       

       

      Attachments

        1. slow-menu.png
          slow-menu.png
          613 kB
        2. that.png
          that.png
          118 kB

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              jcelerier Jean-Michaël Celerier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes