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
Operating system: Ubuntu Linux 20 & 22 wxPython version & source: 4.1.1 & 4.2.1 & 4.2.2, pypi Python version & source: 3.8 & 3.10, distro
Description of the problem:
Starting to edit a wx.lib.gizmos.TreeListCtrl item label via EditLabel() and canceling edit with Escape crashes the program.
Steps to reproduce:
run sample program
double-click on a tree item label
press Escape in opened editbox
Expected behavior: editbox closes and tree item label remains unchanged.
Actual behavior: program crashes every time, with command-line printing:
GLib-GObject-WARNING **: 20:55:58.964: ../../../gobject/gsignal.c:2665:
instance '0x646d59502be0' has no handler with id '110420807703312'
Segmentation fault (core dumped)
Does not crash with wxPython 4.0.7, btw. And in Windows, works fine with any version.
I can reproduce this bug using wxPython 4.2.2 gtk3 (phoenix) wxWidgets 3.2.6 + Python 3.12.3 + Linux Mint 22.
TreeListCtrl is subclassed from HyperTreeList. When I run the HyperTreeList example in wxPython Demo and enable the TR_EDIT_LABELS option, then double-clicking on a label followed by pressing the Esc key crashes the demo application.
An issue for this bug was raised in 2021, see #1938
Operating system: Ubuntu Linux 20 & 22
wxPython version & source: 4.1.1 & 4.2.1 & 4.2.2, pypi
Python version & source: 3.8 & 3.10, distro
Description of the problem:
Starting to edit a
wx.lib.gizmos.TreeListCtrl
item label viaEditLabel()
and canceling edit with Escape crashes the program.Steps to reproduce:
Expected behavior: editbox closes and tree item label remains unchanged.
Actual behavior: program crashes every time, with command-line printing:
Does not crash with wxPython 4.0.7, btw. And in Windows, works fine with any version.
Code Example (click to expand)
The text was updated successfully, but these errors were encountered: