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
Respect the 'run tasks in background' setting for triggers as well #1501
Conversation
Weird problem I ran into. My trigger for What's especially weird is that I can't reproduce it on this branch alone, but if I merge this with several other pending branches, it starts showing the incorrect behavior. Haven't had time to investigate further. |
Strange, I guess running on a background thread could theoretically cause problems resolving the proxy, but I don't see how… unless ScriptingBridge has to be run on the main thread? I'll let you figure it out, since it might be a problem somewhere else On 25 Mai 2013, at 02:12, Rob McBroom notifications@github.com wrote:
|
Yeah, like I said, this alone won't do it, but |
It happens when you mix this with |
OK, nice detective work. That would make sense, since (I'm assuming) this line is called on the main thread, and as such it works, but by doing stuff in the background it messes it up. From the docs about that method:
Have you tried running it on the main thread using Personally, I still think the |
2 similar comments
OK, nice detective work. That would make sense, since (I'm assuming) this line is called on the main thread, and as such it works, but by doing stuff in the background it messes it up. From the docs about that method:
Have you tried running it on the main thread using Personally, I still think the |
OK, nice detective work. That would make sense, since (I'm assuming) this line is called on the main thread, and as such it works, but by doing stuff in the background it messes it up. From the docs about that method:
Have you tried running it on the main thread using Personally, I still think the |
Yeah, I agree that what you've done here is correct and doesn't need to be changed to work-around something that isn't merged (or even agreed upon) anyway. Merging, even though it breaks my precious cache. |
Respect the 'run tasks in background' setting for triggers as well
From #1477 I realised QS doesn't currently run triggers in the background, ever. That's not so good :/
I've fixed this now. It would have been nicer to tie it into the existing code that checks for this setting, but that's related to the interface, and this is related to triggers (which don't use the interface, so they'll have to be independent