FrancescoCeruti / linux-show-player

Linux Show Player - Cue player designed for stage productions
https://linux-show-player.org
GNU General Public License v3.0
205 stars 49 forks source link

[develop] Removing a page in Cart Layout has unintended side-effects #167

Closed s0600204 closed 5 years ago

s0600204 commented 5 years ago

Expected Behavior

When deleting a page in Cart Mode, one would expect all cues on the page to be erased, and the page removed, with no effect to the other pages.

Actual Behavior

Page is removed (as are all the cues on it). However, some cues on subsequent pages are also removed.

Step to reproduce

  1. Use LiSP from the develop branch
  2. Create a fresh showfile with the Cart Layout
  3. Add two new pages.
  4. To the first page, add a single cue.
  5. To the second page, add more than one cue.
  6. To the third page, add more cues than are on the second page.
  7. Return to the first page.
  8. Choose to "Remove Current Page".
  9. Note that a single cue is removed from the formerly-second page.
  10. Note that as many cues that were on the formerly-second page are removed from the formerly-third page.

Further notes

FrancescoCeruti commented 5 years ago

This was caused by to different bugs :man_facepalming:

Now it should work as expected, thanks for the reporting the issue :smile: