GUI attempts to autolayout empty nets after unfolding

Bug #1960000 reported by Nicolaj Østerby Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAPAAL
Fix Committed
Medium
Kenneth Yrke Jørgensen

Bug Description

Use the cpn-gui-dev branch to reproduce:

- Make a net with color semantics
- Add a single place
- Unfold it (press m)
- The resulting net is empty, but the GUI will ask if you want to autolayout

If the user presses 'yes', then the Smart Draw window cannot proceed and can only be closed.

Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :

I added a fix for cpn branch, it check for an empty net before showing the layout popup. It does not handle what happens when you unfold into a empty net with verification + trace, it better but not perfect.

Changed in tapaal:
status: New → In Progress
assignee: nobody → Kenneth Yrke Jørgensen (yrke)
importance: Undecided → Medium
Jiri Srba (srba)
Changed in tapaal:
milestone: none → cpn
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.