Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RIDE crash during test case name editing #2718

Open
JFoederer opened this issue Feb 12, 2024 · 1 comment
Open

RIDE crash during test case name editing #2718

JFoederer opened this issue Feb 12, 2024 · 1 comment
Labels
bug Malfunctions that should be fixed to comply with the expected behavior help_wanted If you have suggestions on how to fix, they are welcome prio-low Nice to haves, if we have time and aren't working on something else ThirdParty Not RIDE's fault, but wxPython, Python, other libraries...
Milestone

Comments

@JFoederer
Copy link
Collaborator

  • From the tree view select a test case and press F2 or click rename to start a rename action
  • Press Escape

On Windows nothing happens
On Linux RIDE crashes (No logs available)

RIDE v2.1dev19

Work around: Use enter or point and click elsewhere in the suite.

@HelioGuilherme66 HelioGuilherme66 added the analyze Analyze, Research or Investigate: solutions, complexity, reproducibility, ... label Feb 12, 2024
@HelioGuilherme66 HelioGuilherme66 added prio-medium Behaving incorrectly, but still somewhat usable bug Malfunctions that should be fixed to comply with the expected behavior and removed analyze Analyze, Research or Investigate: solutions, complexity, reproducibility, ... labels Sep 4, 2024
@HelioGuilherme66
Copy link
Member

This error occurs in wx library, CustomTreeControl. I did not find a way to avoid the problem.
In my Fedora Linux 40, Python 3.12.7 and wxPython 4.2.2 the crash does not happen, but the editing of tree labels will stop working.
Below is the output observed on PyCharm:

(__init__.py:12298): GLib-GObject-CRITICAL **: 21:36:42.654: ../gobject/gsignal.c:2585: instance '0x55a1ca3d2de0' has no handler with id '65536'
Traceback (most recent call last):
  File "/home/helio/.local/lib/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 1499, in OnChar
    self.StopEditing()
  File "/home/helio/.local/lib/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 1557, in StopEditing
    self.Finish()
  File "/home/helio/.local/lib/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 1474, in Finish
    self._owner.ResetEditControl()
  File "/home/helio/.local/lib/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 4978, in ResetEditControl
    self._editCtrl.Destroy()
wx._core.wxAssertionError: C++ assertion "m_inKeyPress" failed at /tmp/pip-install-kc7u3hr7/wxpython_3a72f56fd7374f9595ccde3ffa23404e/ext/wxWidgets/src/gtk/textentry.cpp(77) in EndHandlingKeyPressAndCheckIfPending(): 

Users should be aware of this bug, and not press Escape to interrupt editing.

@HelioGuilherme66 HelioGuilherme66 added prio-low Nice to haves, if we have time and aren't working on something else help_wanted If you have suggestions on how to fix, they are welcome ThirdParty Not RIDE's fault, but wxPython, Python, other libraries... and removed prio-medium Behaving incorrectly, but still somewhat usable labels Nov 2, 2024
@HelioGuilherme66 HelioGuilherme66 added this to the Future milestone Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Malfunctions that should be fixed to comply with the expected behavior help_wanted If you have suggestions on how to fix, they are welcome prio-low Nice to haves, if we have time and aren't working on something else ThirdParty Not RIDE's fault, but wxPython, Python, other libraries...
Projects
None yet
Development

No branches or pull requests

2 participants