Skip to content

Graph Duplication Bug (delete graph also stops working) #48

@shishir03

Description

@shishir03

Attempting to change the type of graph (for instance, from a PDA to an NFA) while the add edge dialog box is still open results in the dialog box still showing up in the "new" graph, as shown below.

Screenshot from 2023-05-12 20-17-32
Screenshot from 2023-05-12 20-13-59

While the box goes away if you move any of the edges on the new graph, deleting the graph does not clear the screen if there was a previous graph, and instead reverts to this previous graph. Pressing the delete button on any other graph type also duplicates this graph as shown below.

Screenshot from 2023-05-12 20-17-32

Meanwhile, pressing "delete" on the dialog box results in the graph from the previous machine type getting duplicated, overwriting the old graph. Pressing the delete key on this old graph does not work either.

Screenshot from 2023-05-12 20-15-47

This probably has to do with some weird stuff with the history stack.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions