Python Console closes unexpectedly when inserting from Python Procedure Browser after clearing Console window.
GIMP version: 2.10.2
Operating System: Windows 10
Package: Windows installer from gimp.org
Description of the bug
The Python Console disappears unexpectedly after clearing the console then inserting from the Python Procedure Browser.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Filters > Python-Fu > Console
- From the Python Console window, click Clear Note that doing this doesn't put in a >>> prompt...
- Click Browse... to access the Python Procedure Browser window
- Double-click to insert a function. e.g. "file-bmp-load"
Expected result:
I expected a prompt in the Python Console that read:
image = pdb.file_bmp_load(filename, raw_filename)
Actual result:
Both the Python Procedure Browser window and the Python Console window disappear.
Additional information
If you have a backtrace for a crash or a warning, paste it here.
" GIMP Error Plug-in crashed: "python-console.py" (C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\python-console\python-console.py)
The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side."