ColinPitrat/caprice32

GUI crashes when selecting all the text and hitting backspace

Opened this issue · 2 comments

For example in load/save, select save, type "a" as the filename then select it with shift-left, then press backspace.
The GUI crashes.

Interestingly, shift-home then backspace works fine.

Fixed in ffe05f8

Will keep this issue open to consider:

  • adding tests on this code
  • factorizing wg_editbox and wg_textbox
  • looking for similar bugs with this code: the handling of selection is fishy and may hide other issues. Refactoring may be desirable.