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

Transient Views in ST2 #2

Open
jisaacks opened this issue May 22, 2013 · 2 comments
Open

Transient Views in ST2 #2

jisaacks opened this issue May 22, 2013 · 2 comments

Comments

@jisaacks
Copy link
Owner

When a view gains focus, it might be in a pane other than the currently maximized pane. So it automatically switches the maximized pane to the one containing the view that just gained focus (otherwise you would be editing a view you cannot see)

If the view that just gained focus is a transient view, there is some odd behavior, that is hard to explain. It seems to get stuck on which view has focus and jump back and forth.

This is not a problem in ST3 because it changed how it does transient views.

Not exactly sure the root cause of the issue in ST2 though, or how to fix it. Would love to hear any suggestions.

@jrappen
Copy link

jrappen commented Mar 3, 2017

@jisaacks You can from collections import defaultdict and store window.id() with its status.

@deathaxe
Copy link
Collaborator

deathaxe commented Aug 9, 2019

Maybe related with: sublimehq/sublime_text#2919

Probably fixed by explicitly calling window.set_focus() after window.set_layout() which has been introduced in the recent commits?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants