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

canceling a folder refresh operation freezes sublime_text #312

Closed
kurazsi opened this issue Apr 26, 2016 · 6 comments

Comments

Projects
None yet
5 participants
@kurazsi
Copy link

commented Apr 26, 2016

I am running ubuntu 15.10 using i3 as a launcher.
I have a project with a lot of folders.. and subfolders
If i use the mouse to rightclick and delete a folder that causes a slide up of the folder's displayed
(for example if the folder was opened and it occupied let's say 5 lines, and after deletion the entire displayed folder list needs to move up 5 lines) then sublime hangs, and i need to kill it and relaunch it.
The changes (deletion) has been completed. I presume there is a bug with handling the sudden change in the folder structure and where the selected item was, rightclick-ing selects the folder that i want to delete...

How can i debug this ?

@kurazsi

This comment has been minimized.

Copy link
Author

commented Apr 29, 2016

this issue can be reproduced each time, also with the Sublime Dev Build 3111
It happens if a large folder structure is used.
It happens each time there is a significant change of the folder sidebar items. And only if this plugin is installed.

Can someone help me investigate it ?

@kurazsi

This comment has been minimized.

Copy link
Author

commented Apr 29, 2016

@titoBouzout
SOLUTION:
change this:
def refresh(self): try: sublime.set_timeout(lambda:sublime.active_window().run_command("refresh_folder_list"), 200); sublime.set_timeout(lambda:sublime.active_window().run_command("refresh_folder_list"), 1300); except: pass
to this:
def refresh(self): try: sublime.active_window().run_command("refresh_folder_list") except: pass

@kurazsi kurazsi changed the title deleting a folder crashes sublime canceling a folder refresh operation freezes sublime_text Apr 29, 2016

@sandy1890

This comment has been minimized.

Copy link

commented May 13, 2016

@kurazsi

same problem for me
can you point out where to change the code? thanks

@axez85

This comment has been minimized.

Copy link

commented May 20, 2016

@kurazsi
I experienced same problem.

@titoBouzout

This comment has been minimized.

Copy link
Owner

commented Jul 7, 2016

see
#323
#312

@titoBouzout titoBouzout closed this Jul 7, 2016

@lavaldi

This comment has been minimized.

Copy link

commented Aug 2, 2016

@sandy1890 the file to change is SideBarAPI.py in SideBarEnhancements.sublime-package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.