posit-dev / positron

Positron, a next-generation data science IDE
Other
1.19k stars 32 forks source link

Progress bar does not update, instead append at the end #3723

Open dkgaraujo opened 4 days ago

dkgaraujo commented 4 days ago

Positron Version:

Positron Version: 2024.06.1 (Universal) build 27 Code - OSS Version: 1.90.0 Commit: a893e5b282612ccb2200102957ac38d3c14e5196 Date: 2024-06-26T02:08:06.673Z Electron: 29.4.0 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin x64 23.5.0

Steps to reproduce the issue:

  1. Create new notebook
  2. in a python cell, pip install a package with !pip install package

What did you expect to happen?

the progress bar should update automatically, and not have a new version show up below the current one with every status update (see fig)

Screenshot 2024-06-28 at 23 05 36

Were there any error messages in the output or Developer Tools console?

No

petetronic commented 4 days ago

Thank you for reporting this, I was able to reproduce the issue. Note that the Console does not have this issue and correctly redraws the same line as the progress bar updates.

seeM commented 2 days ago

It works as expected in VSCode notebooks, so it's not an issue with the output views. I suspect it's in our notebook controllers.

Related to https://github.com/posit-dev/positron/issues/284, but not quite the same.