Triple might work on the 40:28 chainset. It didn’t on the 38:26.
The gap between the cage plates is contoured.
If the triple mech was positioned to clear the chainrings, then the chain rubbed on one or other of the cage plates – depending on which gear you are in at the rear as the chain entry angle changes (adjusting indexing just changed which plate it rubs).
Adjusting the mech height up/down so chain didn’t rub the cage meant the mech fouled the chainrings or the chain rode off the top of the outer ring.
With HT2 bbs, the chainline is fixed and shimano have fiddled with the mechs to match them. So you are also in a different bit of the intended parallelogram arc if running the wrong mech / chainset combo.
Have a look at pictures of the double and triple specific front mechs on Merlin etc – the cage lengths and shapes are different.
Sack all this and bring back old style mechs and micro index friction front shifter 🙂