Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Highlighting color in editor is different and unpredictable #44227

Closed
dpetratsch opened this issue Feb 22, 2018 · 3 comments
Closed

Bug: Highlighting color in editor is different and unpredictable #44227

dpetratsch opened this issue Feb 22, 2018 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)

Comments

@dpetratsch
Copy link

dpetratsch commented Feb 22, 2018

  • VSCode Version: 1.20.1
  • OS Version: Win10

Steps to Reproduce:

  1. Search for text in files and cycle through the results
  2. Found occurences are highlighted in an unpredictable manner althouh the text is 1:1 the same

highlight-bug

When cycling between the results with F4 / Shift +F4 some elements get highlighted with different colors. In this case the first result is darker, all following colors are light as in the screen.

its definitely not a theme problem as this is the same in whatever theme is selected.

@RMacfarlane
Copy link
Contributor

RMacfarlane commented Feb 22, 2018

Currently, all results are highlighted in one color, in this case yellow, and the current selection has a different highlight color, in this case grey. Are you seeing different behavior than that/do you expect different behavior? Here's a reference of the theme colors: https://code.visualstudio.com/docs/getstarted/theme-color-reference

The two colors should be editor.findMatchBackground and editor.findMatchHighlightBackground

@dpetratsch
Copy link
Author

Yes, the strange thing is that the first occurence got the active focus and the following not when cycling through the results. I can't give you any further hints for reproducing the problem as the positions are changing in a random manner.

Here is another example:
Line 79 the active and matched highlight, but there are also 4 lines more having the active color, this is just strange and not reproducible in any way:

highlight2

@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Sep 5, 2018
@rebornix
Copy link
Member

rebornix commented Sep 5, 2018

Let's track this issue in #11354

@rebornix rebornix closed this as completed Sep 5, 2018
@rebornix rebornix added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 5, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants