enthought / traitsui

TraitsUI: Traits-capable windowing framework
http://docs.enthought.com/traitsui
Other
297 stars 96 forks source link

Qt simple ImageEnumEditor doesn't work #947

Open ievacerny opened 4 years ago

ievacerny commented 4 years ago

Issue found by checking Standard_Editors/ImageEnumEditor_demo.py.

With Qt simple style ImageEnumEditor, selecting an image in the combobox doesn't actually change the value of the trait. (wx editor works as expected)

kitchoi commented 4 years ago

Thank you for the report! Could you please provide the platform and toolkit information, ideally including versions. It will help diagnose whether it is a platform specific problem, or PySide/PyQt/4/5 specific problem. Thanks!

ievacerny commented 4 years ago

It doesn't seem to be toolkit specific (apart from it being qt) - the issue is seen with PySide2, PyQt4 and PyQt5. Platform I used is MacOS. I suspect this is a qt editor implementation bug.

kitchoi commented 4 years ago

Thanks. I haven't looked into the details, but I can confirm I observed this issue as well on a Linux machine (and Python 3.6)

pip list ``` Package Version ----------------- ------------ appdirs 1.4.3 apptools 4.5.0 chaco 4.8.0 configobj 5.0.6 coverage 4.3.4 distribute-remove 1.0.0 docutils 0.16 enable 4.8.1 fonttools 3.29.1 freetype 2.10.0 h5py 2.9.0 harfbuzz 2.6.4 hdf5 1.10.5 icu4c 50.2 kiwisolver 1.0.1 libjpeg 7.0 liblzma 5.2.4 libopenjpeg 2.3.0 libpng 1.6.36 libtiff 4.0.10 libxkbcommon 0.9.1 libxml2 2.9.7 MKL 2018.0.3 nose 1.3.7 numexpr 2.6.9 numpy 1.15.4 packaging 16.8 pandas 0.23.4 pillow 5.2.0 pip 20.0.2 pyface 7.1.0.dev20 Pygments 2.2.0 pyparsing 2.2.0 PyQt5 5.14.2 PyQt5-sip 12.7.2 pytables 3.5.1 python-dateutil 2.8.0 pytz 2018.9 Qt 5.12.6 setuptools 41.6.0 six 1.11.0 traits 6.0.0 traitsui 7.1.0.dev123 ```