You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
All of a sudden this morning QColormapComboBox is crashing on me. It's silent if I just run e.g. examples/colormap_combo_box.py, but it's much uglier downstream e.g. in ndv. I have no idea what caused this to begin.
Using the hard crash I pasted below, I found that adding painter.end() to the end of _cmap_utils.draw_colormap resolved my issue. I'm a bit confused on why this is necessary though, as the docs say that this method doesn't normally need to be called?
btw: was just able to reproduce this on the current superqt release ... but wanted to note that it requires that debugpy be running. which is an interesting detail :)
Describe the bug
All of a sudden this morning
QColormapComboBox
is crashing on me. It's silent if I just run e.g.examples/colormap_combo_box.py
, but it's much uglier downstream e.g. inndv
. I have no idea what caused this to begin.Using the hard crash I pasted below, I found that adding
painter.end()
to the end of_cmap_utils.draw_colormap
resolved my issue. I'm a bit confused on why this is necessary though, as the docs say that this method doesn't normally need to be called?To Reproduce
Steps to reproduce the behavior:
examples/colormap_combo_box.py
within VSCode.Expected behavior
You know...not crashing.
Screenshots
Soft crash coming out of
examples/colormap_combo_box.py
:Hard crash coming out of ndv:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: