Skip to content

Cell status incorrectly marked busy by widget in different cell #76

@miduncan

Description

@miduncan

Application or Package Used
@nteract/core
@nteract/outputs

Describe the bug
When interacting with a JupyterWiget, changing the value will mark the last-ran cell with the status of "Busy".

To Reproduce

  1. Start with a fresh notebook
  2. Create an IntSlider in the first cell
import ipywidgets
x = ipywidgets.IntSlider()
display(x)
  1. Create a new code cell underneath where you create a separate widget
ipywidgets.Button()
  1. Adjust the slider in the output of cell 1
  2. Note that the status of cell 2 is marked as "Busy" as the widget in cell 1 communicates with the kernel, while the status of cell 1 is unchanged

Expected behavior
Cell status should not be marked "Busy" when interacting with the unrelated output of another cell

Screenshots
e159d1b4-d8ff-4b5c-b7b8-1c7aec70569f

Proposed solution
We should not mark the status for a cell as busy for comm messages (which is what the jupyter widgets are using to talk to the kernel). Colab seems to follow this same behavior of widgets not changing the cell spinner, JupyterLab and Classic don't seem to show cell status.

Edit: Updated proposed solution

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions