Page 1 of 1

CTB/Script

Posted: 09 Feb 2023 00:04
by Nighted
This one has been bugging me for a year or two.

I have a custom toolbar button:
Snip [23-02-08-172620].png
It calls this script:

Code: Select all

"Restart without saving|Action-RestartNoSave.ico" #190;
"Exit without saving (Ctrl+Alt+F4)|Action-ExitNoSave.ico" #191;
Restart without saving often creates several clone process, though never more than three:
Snip [23-02-08-175143].png
Snip [23-02-08-175151].png

Exit without saving has a mind of it's own. Sometimes it takes several attempt for it to work.

I have neither issue using the menu or keyboard.

Re: CTB/Script

Posted: 09 Feb 2023 06:18
by highend
Restart with saving often creates several clone process, though never more than three:
you mean:
Restart without saving
?

This does happen even right after starting the normal XY instance?

Apart from that: Can't replicate any of those issues here with the current beta

Re: CTB/Script

Posted: 09 Feb 2023 23:59
by Nighted
highend wrote: 09 Feb 2023 06:18
Restart with saving often creates several clone process, though never more than three:
you mean:
Restart without saving? Yeah. Something glitched and had to re-write my original post from scratch. :om:

This does happen even right after starting the normal XY instance? No

Apart from that: Can't replicate any of those issues here with the current beta. With the 24.00.0701_beta also. ¯\_(ツ)_/¯

I'll reiterate, this behavior ONLY occurs when calling the script. Bizarre...

XY.mp4: https://pixeldrain.com/u/FGTdRGvZ

Re: CTB/Script

Posted: 10 Feb 2023 09:00
by admin
Ending the app via scripting can fail if there is code to be executed post mortem. I added a little thing that might make it work better next time.