prompt-toolkit / prompt-toolkit/python-prompt-toolkit

3.0.40 causing interactive gui to not work from ipython console

Open
#1,809 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

When starting the qt apps from ipython console, those apps are not working properly. This can be reproduced by following code in the ipython console:

import matplotlib.pyplot as plt

%matplotlib qt6

plt.plot([0,1])

The plot window is opened but frozen, the qt app is not properly started

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem in an IPython console using the shown matplotlib Qt6 example, then inspect how prompt-toolkit interacts with the Qt application startup. Done means the plot window opens and remains responsive when launched from the IPython console.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.