Errors in playback with swung timing and triplet ties

I just noticed some unusual behavior with swing timing. If I make a quarter note triplet, then tie the first note to an eighth note directly before it, playback treats that eighth note as an unswung eighth, i.e., it’s too long and the note starts too early. Tying an eighth note triplet to a sixteenth note directly before it causes similar behavior.

However, tying the last note of a triplet works fine!

If the swing timing is 66%, there’s a workaround by making the eighth note part of its own triplet, but this doesn’t work if the swing timing is hard or soft.

To summarize: the examples on the first line are bugged; the examples on the second line are fine; the example on the third line is fine as long as swing timing is 66%. If you want to replicate this, the chords are a handy baseline to check the timing against, and I recommend setting BPM as low as possible.

Thank you for your detailed description. I guess that there just isn’t any logic there to account for this special scenario where triplets are tied to swing eighth notes. I’ll have to investigate.
Dennis