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

Documentation pop-ups show even when the mouse is not over a typename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 3.2.0-beta1
    • Qt Creator 2.7.1, Qt Creator 2.8.0-beta
    • Editors, Help System
    • None
    • Gentoo Linux AMD64, Qt 4.8.4, KDE 4.10.3.
    • db5f2f1411806d6b6d9984576a4fa8efa0a75b08

    Description

      When using a coding style where function definitions look like this:

      QTime
      getTime()
      {
          // ...
      }
      

      That is, the return type is on its own line, then Creator will show a doc pop-up even if the mouse cursor is not currently hovering over the "QTime" string in the editor. Instead, it shows it when the mouse is anywhere on the same line as the typename. Visualizing this in ASCII:

      QTime                                     -> M <-
      

      If you place the mouse where the "M" is above, you get a pop-up. The result of this is that with that particular coding style, the chances of getting a pop-up when you don't actually want one are pretty high. Very often I park the mouse somewhere out of the way and want to start typing, and a distracting pop-up shows up. Of course one can ignore it since it goes away after a while if you continue typing, but a mouse is usually very close to the keyboard and typing on it very often results in micro-movements of the mouse, which trigger the pop-up again.

      It is only a minor annoyance, but still, it looks like a bug.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-9437
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            realnc Nikos Chantziaras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes