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

[REG 12.0.2 -> 13.0.0] Highlighted text is not cleared when search string is not found during search in editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 13.0.0-beta1
    • Editors
    • None
    • Windows

    Description

      Highlighted text is not cleared when search string is not found.

      Not sure if this is a feature. Couldn't find anything mentioning this as feature in changes-13.0.0.

       

      STEPS:

      • Open some file in Qt Creator 13 (widgets\calculator\calculator.cpp used for testing)
      • Press 'Ctrl + F' to start search
      • Enter keywords where it matches text in the file (lets call this search text as MATCH)
        (MATCH = main, used as example)
      • After the matching text, enter character which makes the word not found in the file (lets call this search text as MATCHx)
      • Observe the highlighted text in the text editor

      OBSERVED : 

      • The highlighted text is not cleared when MATCHx is entered
      • The highlight color seems to be mix of search text(yellow) and selection text(lightblue)
      • The search is also triggering selection which seems to cause the highlight issue.
        Observe that after entering 'maink',  'main' is shown as selected text (blue)
      • Selection also triggers search. 
        For e.g select 'Button' with mouse.

       

      EXPECTED:

      • The highlighted text should be cleared as MATCHx is not found in the file
        (ie, when 'maink' was entered as search, the highlight should have been removed)
        e.g from Qt Creator 12.0.2 - 
      • The matched search text should be highlighted in yellow as in previous Qt Creator version 12.0.2

      Attachments

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

        Activity

          People

            davschul David Schulz
            aamershaikh23 Aamer Shaikh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes