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

Selecting a highlighted variable affects background of all occurrences of the variable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 13.0.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • Kubuntu 22.04
    • Linux/X11

    Description

      When the cursor is on a variable name, all visible mentions of that variable in the code become highlighted with a light-yellow border and no other color changes. However, when that variable becomes selected, this affects background of all mentions of the variable. See the attached video for an illustration.

      I can see the "Occurrences" entry in the "Font & Color" settings, that entry matches the light-yellow color used for the border. But I cannot see any setting that would match the background color of the occurrences when the variable is selected. In fact, I would prefer that change in the background color to be disabled (i.e. so that selecting the variable does not affect the presentation of the other occurrences of the variable).

      This is a regression in QtCreator 13.0.0 beta1.

      Attachments

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

        Activity

          People

            davschul David Schulz
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes