Cancelling unfold still opens simulation

Bug #1984066 reported by Lena Ernstsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAPAAL
Fix Committed
Undecided
Lena Ernstsen

Bug Description

When verifying a query with a trace, a dialog will appear informing that the unfolded net will be opened in a new tab. If you press cancel, then it will not unfold, but still go into simulation mode with the trace.

See attached net and press verify.

Revision history for this message
Lena Ernstsen (lsaid) wrote :
Revision history for this message
Jiri Srba (srba) wrote :

The correct behaviour is
1: first display the popup with the query results
2: then ask if you want to see a trace (which will rerun the engine but only if it is not canceled)

This can be perhaps tricky to do, so if you get stuck try to ask Kenneth.

Changed in tapaal:
milestone: none → cpn
Lena Ernstsen (lsaid)
Changed in tapaal:
assignee: nobody → Lena Ernstsen (lsaid)
Revision history for this message
Lena Ernstsen (lsaid) wrote :

I fixed the behaviour by moving the call to show the unfold dialog till after the verification results have been shown. However, the program will no matter what create the unfolded tab and add this to the verification result object, but it will not be shown until the unfold dialog has been displayed and accepted. If unfolding is cancelled then the unfolded tab will just be ignored.

Changed in tapaal:
status: New → In Progress
Jiri Srba (srba)
Changed in tapaal:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.