MaxPane icon indicating copy to clipboard operation
MaxPane copied to clipboard

Transient Views in ST2

Open jisaacks opened this issue 12 years ago • 2 comments

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.

jisaacks avatar May 22 '13 19:05 jisaacks

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

jrappen avatar Mar 03 '17 21:03 jrappen

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?

deathaxe avatar Aug 09 '19 15:08 deathaxe