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

Flickering When Using Multiple Editors #99

Open
Remodor opened this issue Oct 8, 2024 · 1 comment
Open

Flickering When Using Multiple Editors #99

Remodor opened this issue Oct 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Remodor
Copy link

Remodor commented Oct 8, 2024

Describe the bug
When enabling the gitConfigUser.selectMatchedProfileAutomatically setting and using multiple editors the extension causes a flickering of unsaved for a file. It doesn't matter whether it is actually unsaved or not. The flickering has a frequency of roughly 1s. This alone is not a major issue, but together with other extensions, like Error Lens this causes horrendous flickering of the code highlighting.

It seems like something gets repeatedly refreshed causing a reload or similar.

Disabling the setting removes all flickering!

To Reproduce
Steps to reproduce the behaviour:

  1. Enable the setting.
  2. Open a second editor.
  3. Check the OPEN EDITORS tab and observe an opened file. A flickering of the unsaved label should be visible.

Desktop (please complete the following information):

  • OS: Windows 10

Additional Remarks
Could this be related to #95

@Remodor Remodor added the bug Something isn't working label Oct 8, 2024
@AzzouQ
Copy link

AzzouQ commented Oct 30, 2024

Same problem here.

To complete @Remodor report, opening 2 editors configured with the same profile is fine.

Opening 2 editors which each have a different profile configured causes the problem. The file that gets repeatedly refreshed is simply the settings.json, where properties selected of the 2 differents gitConfigUser.profiles will switch to false or true constantly.

A workaround is indeed disabling selectMatchedProfileAutomatically, but it will be nice to benefit from it and avoid having 2 profiles conflicting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants