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

View state still restored when two editors for the same file are opened in two editor groups #59407

Closed
mjbvz opened this issue Sep 25, 2018 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Sep 25, 2018

Testing #24394

  1. With "workbench.editor.restoreViewState": false
  2. Create two editor groups.
  3. Open a copy of a long file readme.md in both editor groups.
  4. Scroll part of the way down each copy of readme.md
  5. Now close the copy of readme.md in the second editor group and then re-open the file in the same group

Bug
In some cases, the scroll position will be restored. This should not happen since "workbench.editor.restoreViewState": false is set.

(My repo steps are not 100% reliable. If you can't get this working, try closing and reopening readme.md in either group a few times)

@bpasero bpasero added this to the September 2018 milestone Sep 26, 2018
@bpasero bpasero closed this as completed Sep 26, 2018
@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Sep 26, 2018
bpasero added a commit that referenced this issue Sep 26, 2018
@mjbvz mjbvz added the verified Verification succeeded label Sep 28, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 10, 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 verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants