Is there any possibility of breaking the system in this way?
I don’t think so. IIRC there is a current limitation on the grace notes: it’s either all before the barline, or none of them.
Oh, it turns out that grace notes and acciacatura in the next bar are illegal for Dorico?! But this happens everywhere in baroque music. Looks like we have a big problem.
What’s not possible (yet) is to have some both before and after the barline. I know, it’s a PITA. You can fake it with hidden nested tuplets (it’s the main trick for so many things with Dorico). Hope it helps!
I’d choose to work on the “before the barline” 16th notes. Apply a 5:4y tuplet to the D (5 32nd notes in the time of 4), write your D as an 8th note. There remains the time for a 32nd, so enter a new tuplet 4:1y, (4 32nd notes in the time of 1) and write your two 16th notes. In the properties, change their size to grace notes and that is done. Oh, of course, make sure everything related to tuplets (brackets, numbers) do not appear thanks to the properties (I have a very useful macro that fixes that for me in a click).
Oh, that’s not a solution in this case. I have a 20 minute baroque concerto at a fast tempo where this happens multiple times on each page of the score.
So far, many of the problems I’ve encountered have been solved with various workarounds. This is the first time I’ve encountered Dorico’s inability to handle a regular score.
update: I thank you for the detailed guide, it’s an ingenious solution. I won’t be able to use it because of the number and variety of such junctions on the barlines.
You only need to set it up once, then copy/paste it wherever you need it (and use lock duration to repitch)
I added to my answer to Mark just about this