Page 1 of 1

Deleting a Side-Branch ends in a crash

Posted: March 29th, 2018, 4:30 pm
by davidh
Ref: PWP 8 release 03/29/2018 - Win 7

1. Open an image
2. Click on its thumbnail with right mouse button and choose Add Side-Branch
you get:
"Splitter"
"Branch 1" "Branch 2"
3. Close "Branch 1" using its "x" button and confirm in Close File
4. Close "Branch 2" using its "x" button and confirm in Close File -> PWP8 crahses

Some additonal observation:
if "Branch 2" is deleted, both "Branch 1" and "Splitter" are also removed although they do not seem to be dependent on it
but if "Branch 1" is deleted, "Branch 2" is not removed although it looks as if it is dependent on it

However, I cannot rule out that I do not understand the relations correctly.

Re: Deleting a Side-Branch ends in a crash

Posted: March 29th, 2018, 5:11 pm
by jsachs
Thanks for the concise report, as usual.

Deleting the last branch of a splitter is supposed to delete the splitter too, but clearly something is wrong. Should not be too hard to find.

Re: Deleting a Side-Branch ends in a crash

Posted: March 29th, 2018, 10:50 pm
by jsachs
Actually, I misspoke in the previous message and need to "walk it back" as they say.

Deleting the next to last branch of a splitter removes the splitter (and the other branch marker), leaving the images below it -- with only one branch left, the splitter serves only to clutter the display and you can add it back in anyway if you need to add another branch again.

I also fixed the bugs that were causing the crash for the next release.