[QGIS-Developer] QgsCheckableComboBox setEditable makes QGIS crash

Benjamin Jakimow benjamin.jakimow at geo.hu-berlin.de
Fri Feb 11 08:45:46 PST 2022


I can confirm this for QGIS 3.23 master on OSGEO4W.

On 2022-02-11 16:42, matteo wrote:

> Hi all,
> 
> I'm using a QgsCheckableComboBox in an UI of a plugin. If I use the
> flag setEditable = False, bot from UI or from code, QGIS simply
> explodes (3.16 from package, 3.23 compiled on a Debian sid OS).
> 
> What is strange, at least for me, is that even by using in a python
> console the following code, QGIS explodes:
> 
> c = QgsCheckableComboBox()
> c.setEditable(False)
> c.show()
> 
> while without the c.setEditable(False) no problem and also the
> following code is working nice:
> 
> c = QComboBox()
> c.setEditable(False)
> c.show()
> 
> Not sure if it is something related to my system. Should I file a 
> ticket?
> 
> Thanks!
> 
> Matteo
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
--
Benjamin Jakimow, Doctoral Researcher
Earth Observation Lab | Geography Department | Humboldt-Universität zu 
Berlin

e-mail: benjamin.jakimow at geo.hu-berlin.de

phone:  +49 (0) 30 2093 6894
mobile: +49 (0) 157 5656 8477
fax:    +49 (0) 30 2093 6848
mail:   Unter den Linden 6 | 10099 Berlin | Germany
room: 2'222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20220211/0f0e3d72/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2e9b9446.png
Type: image/png
Size: 64881 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20220211/0f0e3d72/attachment-0001.png>


More information about the QGIS-Developer mailing list