klembot / twinejs

Twine, a tool for telling interactive, nonlinear stories
https://twinery.org
GNU General Public License v3.0
2k stars 295 forks source link

Attempting to delete an open passage causes program to freeze #1004

Closed Philip-Sutton closed 2 years ago

Philip-Sutton commented 2 years ago

Describe the bug.

When working in the passage map window, and a passage is open, and the focus is on the top of the passage window to the left or the right but NOT in the title field or the tag field, and then the user presses the delete key on their keyboard, then a delete dialogue box is triggered. (If the cancel option is clicked then everything is fine) but if the delete option is clicked then there's a problem - the delete dialogue box closes and then nothing else happens at all. It is impossible to be the passage window to close. The only way to break the freeze is to close the program window and reboot the program.

Steps to reproduce:

The problem always occurs in the trigger situation (described in the previous section of the bug report.

Expected behavior:

The open passage should close and then the passage should no longer be in the passage map.

Additional context on this problem.

No response

Twine version number

2.3.15

Does this problem occur with the web version of Twine or the desktop app?

Desktop app

What operating system does this problem occur on?

Windows

If this problem is occurring with the web version of Twine, what browser does it occur on?

No response

Presubmission checklist

klembot commented 2 years ago

This looks like a bug with Twine 2.3 or earlier, and because of that I'm closing it. Please re-open or create a new issue if you find this is still a problem in 2.4.