Closed pelemarse closed 3 years ago
Would suggest reporting at https://github.com/sublimehq/sublime_text
ST should never crash, no matter what plugin does.
I've tried this but it doesn't reproduce for me in safe mode:
https://user-images.githubusercontent.com/153197/115072638-1b2dda80-9ef8-11eb-8eec-9d17728ee9ea.mov
Maybe there is something extra in your setup that causes this to trigger.
(It didn't crash on closing the last tab BTW. The window was only hidden.)
Ok. I found that the program crashes when more than one file is opened.
Still can't reproduce. Can you actually reproduce it in safe mode (cmd+click the ST icon)? You are using some terminal package here which could play a role.
Actually reproduced now. Had to close the tab in the bottom pane with a mouse click rather than cmd+w.
So the steps are:
"origami_auto_close_empty_panes": true,
in global preferencescmd+k, down
to create the bottom paneAs far as Origami, it does something like this (don't have time to minimize):
class AutoCloseEmptyPanes(sublime_plugin.EventListener):
def on_pre_close(self, view):
sublime.set_timeout(lambda: window.run_command("destroy_pane"), 0)
class DestroyPaneCommand(sublime_plugin.WindowCommand):
def run(self):
# blablalbal
window.set_layout(...)
Origami 2.2.3 Sublime Text 4 dev 4116
This issue no longer occurs after upgrading to Sublime Text dev 4 build 4116.
Can't reproduce either.
If Settings is set to "origami_auto_close_empty_panes": true and try to close the last item, Sublime Text will crash.
Origami 2.2.0 Sublime Text 4 dev 4102
https://user-images.githubusercontent.com/29234307/114958378-89788b80-9e6b-11eb-936a-4755edd940b7.mp4