Skip to content

Positron can't render progress bar powered by ipywidgets #9208

@ZhimingYe

Description

@ZhimingYe

System details:

Positron and OS details:

Positron Version: 2025.08.0 build 130
Code - OSS Version: 1.102.0
Commit: 76ddce5
Date: 2025-08-01T20:08:51.894Z
Electron: 35.6.0
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.6.0

Session details:

-----
ipywidgets          8.1.7
positron            NA
session_info        v1.0.1
-----
-----
IPython             8.18.1
jupyter_client      8.6.3
jupyter_core        5.8.1
-----
Python 3.11.13 (main, Jun  5 2025, 13:12:00) [GCC 11.2.0]
Linux-6.8.0-51-generic-x86_64-with-glibc2.39
-----
Session information updated at 2025-08-28 12:43

Describe the issue:

Some Python packages, when developed, default to using the progress bars provided by ipywidgets if ipywidgets is present (some analysis package developers mainly use jupyter notebook previously in our research field (bioinformatics) seem rather obsessed with these kinds of progress bars). In such cases, Positron does not render these progress bars well. Normally, these progress bars should appear in the console rather than the plotting pane. At the same time, the plotting pane throws errors.

Although this is not an important issue, it can potentially lead to a poor user experience.

Steps to reproduce the issue:

import time
import ipywidgets as widgets
from IPython.display import display
import session_info
session_info.show()

progress = widgets.IntProgress(value=0, min=0, max=100, description='Progress:')
display(progress)

for i in range(101):
    progress.value = i
    time.sleep(5)
Image

You can see the progress bar is rendered in FIGUREs rather than Console. In Figure window, Positron throw an error.

Expected or desired behavior:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions