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

Don't check the Window, check the Page #256

Merged
merged 1 commit into from
Apr 17, 2020
Merged

Don't check the Window, check the Page #256

merged 1 commit into from
Apr 17, 2020

Conversation

JobJob
Copy link
Member

@JobJob JobJob commented Apr 16, 2020

Fixes JuliaGizmos/WebIO.jl#357 and JuliaGizmos/Interact.jl#344

I don't know why exactly, I'd like to know though if anyone knows the difference between active(comm.window) and active(comm.window.content)? Is there a possibility of deadlock or some other funny business if active(comm.window) is called from two different tasks/threads?

Nonetheless I think we should probably just merge this since:

a) this PR just restores the code from before the WebIO integration was moved here (and was probably just accidentally changed then)
b) WebIO, and thus PlotlyJS, Interact, etc. are somewhat broken in Blink without this for more complex UIs (see linked issues)

(fyi @travigd)

@JobJob JobJob changed the title Don't ~hate~ check the Window, ~hate~ check the Page Don't check the Window, check the Page Apr 16, 2020
Copy link
Member

@twavv twavv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Feel free to merge!

@JobJob JobJob merged commit f922a90 into master Apr 17, 2020
@JobJob
Copy link
Member Author

JobJob commented Apr 17, 2020

Can someone make a new release? I'm scared 🙀

@twavv
Copy link
Member

twavv commented Apr 17, 2020

JuliaRegistries/General#13169

@twavv twavv deleted the jb/fix-isopen branch April 17, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamically created widgets are not updated in Blink
2 participants