FR 574 then FR 777 at Barcelona
Bologna → Barcelona → Venezia
Timetable, Barcelona time
20:15FR 574 from Bologna at the gate
13:25FR 777 to Venezia leaves the gate
17 h 10 apart on the timetable, overnight
FR 777 leaves 17 h 10 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.