Sublime Forum

Dev Build 3049

#14

[quote=“facelessuser”]It seems there is constantly stuff behind the scenes going on with plugin handling. About a month ago one of my personal plugins stopped working 100% of the time. And now on this update, it caused ST to freeze completely so I had to disable it now.

I wish I understood better what was going on behind the scenes so I could get it working again.[/quote]

Would this be ScopeHunter?

I spent the better part of an hour banging my head on the table, trying to figure out why ST crashes when I try to alter Package Control’s settings. I’ve narrowed it down to ScopeHunter on my Windows machine, but everything works fine on Linux.

Oh, dear me…

Edit: it does crash Linux as well. I can reliably crash ST 3050 on Windows XP, Ubuntu x64 & x32.

0 Likes

#15

[quote=“quodlibet”]Would this be ScopeHunter?

I spent the better part of an hour banging my head on the table, trying to figure out why ST crashes when I try to alter Package Control’s settings. I’ve narrowed it down to ScopeHunter on my Windows machine, but everything works fine on Linux.

Oh, dear me…

Edit: it does crash Linux as well. I can reliably crash ST 3050 on Windows XP, Ubuntu x64 & x32.[/quote]

No, ScopeHunter is causing no problems for me at all.

The plugin I was referring to was a personal scheme modification plugin that freezes ST as soon as it loads. It used to work fine, then a month or so ago, if I locked or sleep my system and came back and logged in again, it would no longer update things. Then on the recent upgrade, ST freezes when the module gets loaded. Something behind the scene as changed, and I haven’t spent any time trying to debug it yet. It is one of those things that if I had a vague idea of what changed in the plugin system, maybe I could quickly resolve the issue, but right now I don’t know where to start looking, and I don’t have time to right now to fix a plugin whose use is for aesthetics only.

I will try ScopeHunter on some more systems, but I can’t imagine why it would be crashing things for you, and I honestly doubt I am going to be able to reproduce this. But if I do, I will let you know.

0 Likes

#16

I’ve been getting a bunch of freezes too

0 Likes

#17

3051 is out now, addressing a crash introduced in 3050. I’m not sure if it’s related to the freezing seen above, but it may be.

0 Likes

#18

@facelessuser

I had some plugin that was a remnant of an experimentation in xplatform settings that misused the settings.add_on_change stuff

This was causing the freeze for me

0 Likes

#19

On 3051, I still have the freezing that seem to be caused by ScopeHunter.

(I mispoke earlier when I said it crashed; it does actually freeze. Sorry it was late.)

Removing ScopeHunter stops the issue, which seems to be triggered by changes in the settings.

@facelessuser If I can help with the ScopeHunter issue, let me know.

Edit: are .dmp files useful to anyone?

0 Likes

#20

@quodibilet

It’s due to a change in the settings.add_on_change in build 3049, where it’s looping over an ever growing list, due to adding a new listener inside a listener callback.

Jon’s tweaking it to allow our old tomfoolery.

(edit: well, not really growing so much as in perpetual flux (well at least in the case that i hit ))

0 Likes

#21

github.com/facelessuser/ScopeHu … er.py#L264

0 Likes

#22

@castles @quodibilet !@#$ I do that in a lot of plugins. Now anytime the preference gets saved…#$%!..I have to patch a bunch of plugins…I’m done for the night… :imp:

0 Likes

#23

@faceless

I think the old behaviour will be restored soon enough

0 Likes

#24

@castles your probably right. I hope so, because I am not in the mood to patch any of these plugins right now. I figure if the behavior still stands by the end of the week I’ll start doing something.

0 Likes

#25

Moving the addition to a set_timeout ought to do the trick if it comes to that

0 Likes

#26

The solution isn’t a big deal. I’m just a little irritated that in one update so many plugins just went up in flames. Its not really Jon’s fault either because he doesn’t really know how everyone uses the API.

0 Likes

#27

The settings change issue should be fixed now in 3052

0 Likes

#28

I can confirm that Phpcs does not freeze anymore. Thanks jps!

0 Likes

#29

I can confirm this as well. The freezing issue triggered by ScopeHunter when the settings changed is resolved with 3052 (tested on Windows).

One of these days @jps will remove the menu bar on Linux and I will be the happiest monkey in the jungle :smiley:

0 Likes

#30

That’d make two happiest monkeys. We could start a happy tribe :smiley:

0 Likes

#31

Nice, 3052 fixes it. Now I don’t have to go on a rampage :smile:.

0 Likes

#32

Not sure when this was introduced but when I restart SublimeText it reorders the tabs in alphabetical order. For me this is not a desired behaviour (I get used to the position a certain files is at). Is it possible to turn this off?

0 Likes

#33

Can you please look at this BUG. It prevents me from being able to use “Open Recent” list and I would really like to be able to use the Recent list.
- Files not added to Open Recent list on App Close

0 Likes