-
Notifications
You must be signed in to change notification settings - Fork 39
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
ST hangs during file search - Discord Rich Presence #6459
Comments
Following up in sublimelsp/LSP-ruff#75 since this is likely not an ST issue. |
I've since found that the issue indeed replicates with all plugins disabled (and ST restarted): So LSP-ruff is no longer implicated. Yet, if I start in safe mode, I can scroll up and down all day long with no hangs. I'm now beginning to think the issue might be related to how I have the User directory stored in Dropbox:
I do that so I can take my settings with me and don't have to maintain configurations on machines separately. |
No, it's not that. I removed the symlink and replaced it with a copy of the files, but the issue still occurs. |
At this stage, I think I'm going to rebuild my profile from scratch incrementally and check the issue periodically through the process. Still, I'd appreciate any insight on what sorts of things might cause ST to hang when scanning through files when all plugins are disabled. |
Closing this according to the comment in sublimelsp/LSP-ruff#75 |
Please re-open. The issue persists. I've excluded LSP-ruff as the cause, but the issue still exists and I'm still investigating the cause. I'm hoping to rebuild my profile from scratch, but it takes time and I haven't had the time yet. I'm still getting crashes several times a day (on my original profile). |
Okay. I think I've solved the problem. First, it helped to have a reliable reproducer. Trying to type and delete characters until the issue occurred was tedious and error-prone. Once I found that simply holding the down button to scroll through hundreds of files would readily reproduce the issue, it became easier to diagnose. Second, I thought I was disabling packages when I wasn't. I had added a I was then able to bisect the packages once again and using the reliable reproducer determine which subsets of packages triggered the issue. It turns out the offending package is Discord Rich Presence, which I'd installed recently (around the same time as I upgraded to Sublime Text 4080). That explains why I thought it was the upgrade and why downgrading did not help (although I thought at first it did). When I installed that package, I didn't think too much about it. Disabling that package, I can scroll up and down any project without any hangs. I'll report the issue with that project. |
Description of the bug
As reported in tech support 73201, ST hangs when preview-opening files during a file search.
I'm reporting the issue here also, as it now appears to be more of a bug than a support issue.
Steps to reproduce
http --follow https://github.com/python/cpython/archive/refs/tags/v3.12.5.zip | bsdtar -x cpython-3.12.5/Lib/*.py
)subl cpython-3.12.5/Lib
)Expected behavior
Sublime Text should avoid race conditions and be resilient to race conditions in plugins.
Actual behavior
The app hangs.
Sublime Text build number
4180
Operating system & version
macOS 14.6.1
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response
The text was updated successfully, but these errors were encountered: