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

[shell] clean up toDisposeOnActiveChanged properly #7894

Merged
merged 1 commit into from
May 26, 2020

Conversation

akosyakov
Copy link
Member

What it does

How to test

  • test that focus transfered from closed editor to another for different layouts
  • rename a file via the navigator context menu while an editor is opened, check that the navigator does not get closed, but an editor is renamed

Review checklist

Reminder for reviewers

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@akosyakov
Copy link
Member Author

cc @corneliusludmann

@akosyakov akosyakov requested a review from spoenemann May 26, 2020 12:07
@akosyakov akosyakov added the shell issues related to the core shell label May 26, 2020
Copy link
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look fine to me, I was however unable to reproduce the issue on master
(I tried multiple times).

@jankeromnes
Copy link
Member

jankeromnes commented May 26, 2020

It indeed seems to be a bit hard to reproduce. I tried renaming files about 20 times, and only saw the bug 2 or 3 times. (Seems to be easier when it's the right-most editor, and/or when you select the file in the navigator before renaming, not quite sure.)

@akosyakov
Copy link
Member Author

I can reproduce it quite reliably:

  • focus editor
  • then trigger rename of this file from the navigator via the context menu

@akosyakov akosyakov merged commit 1bc44b3 into master May 26, 2020
@akosyakov akosyakov deleted the ak/shell_clean_up branch May 26, 2020 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shell issues related to the core shell
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the explorer view collapses spontaneously
4 participants