enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 320 forks source link

Triggering recomputation in live environment closes all visualizations #7189

Closed hubertp closed 6 months ago

hubertp commented 1 year ago

Discord username

No response

What type of issue is this?

Permanent – Occurring repeatably

Is this issue blocking you from using Enso?

Is this a regression?

What issue are you facing?

Triggering a recomputation in live execution environment (with a play button) closes visualizations for all nodes and never brings them back automatically.

Expected behaviour

Either not close them or reopen automatically. It is impractical if the whole project suddenly closes all visualizations and user has to manually reopen them.

How we can reproduce it?

Use the same example as for #7140, just ignore the node with dataflow error.

Screenshots or screencasts

https://github.com/enso-org/enso/assets/292128/82ca1c3e-b89b-4467-beaf-e4a3ea0e92fb

Logs

No response

Enso Version

b78a7e74e890bbc573178e5e856c65e6e8c83052

Browser or standalone distribution

Chrome

Browser Version or standalone distribution

110.0.5481.100

Operating System

Linux

Operating System Version

No response

Hardware you are using

No response

vitvakatu commented 1 year ago

Not sure what happens here, most probably an IDE bug:

  1. IDE initiates recompute
  2. IDE receives DataflowError
  3. IDE detaches visualization
  4. ... and attaches it back immediately
  5. Execution completes, IDE receives expression update (without errors)
  6. IDE detaches visualization.

log.har.zip

image

Assigning to IDE team for further investigation.

farmaazon commented 6 months ago

No longer reproducible in GUI2