jisaacks / MaxPane

Sublime Text plugin to quickly maximize a pane in a multi pane layout without resetting the layout.
MIT License
78 stars 9 forks source link

Transient Views in ST2 #2

Open jisaacks opened 11 years ago

jisaacks commented 11 years ago

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 commented 7 years ago

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

deathaxe commented 5 years ago

Maybe related with: https://github.com/SublimeTextIssues/Core/issues/2919

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