-
Notifications
You must be signed in to change notification settings - Fork 86
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
Regression: Since release 1.21.0, switching notes results in a loss of focus of the editor #969
Comments
Hey @chrisgrieser , do you use custom commands? If so, this may be expected behavior since I have to open the file you were just in in order to run the custom commands against it. Though this could be completely unrelated. |
Could you provide your |
Yeah, I have a custom command added |
I am not sure the Linter refocuses on the file you were just in after running the custom command. That is likely the problem, but I will have to test to be sure though. I am not sure why this would not happen in the prior version of the Linter. |
Here is my guess as to what is happening (I will have to test it later): Two things likely need to happen that currently probably do not:
This should tackle several of the problems. |
okay, I am back at the desk and have removed the custom command, and can confirm that it now works as it should |
Thanks for the update. I will have to see about fixing this. |
I can reproduce this scenario. I will have to see about fixing it to remember where to go back to once the custom command finishes for the custom commands that run in the side bar. |
I plan to tackle this one after the custom command issue for beautifying tables. |
Hey @chrisgrieser . I believe I have a fix for this issue. If you could test the attached |
Can confirm, this fixes the issue. Many thanks for the quick fix! 😊 |
This change has been merged into master. It should go out with the next release. Please let us know if there is an issue with this on master or in the next release. |
Describe the Bug
Since release 1.21.0, switching notes results in a loss of focus of the editor. You need to click with the mouse into the editor to have it focussed again.
How to Reproduce
Testing with all plugins disabled other than linter. Only disabling/enabling linter changed that behavior. Rolling back to 1.20.1 fixes the issue.
Expected Behavior
No focus loss when switching notes
Device
The text was updated successfully, but these errors were encountered: