FR 3929 then FR 878 at Barcelona
Trieste → Barcelona → Venezia
Timetable, Barcelona time
10:50FR 3929 from Trieste at the gate
08:30FR 878 to Venezia leaves the gate
21 h 40 apart on the timetable, overnight
FR 878 leaves 21 h 40 after FR 3929 arrives on the timetable: more than half a day, so not a connection we count.