FR 3077 then W6 2096 at Barcelona
Stockholm → Barcelona → Krakow
Timetable, Barcelona time
19:50FR 3077 from Stockholm at the gate
19:05W6 2096 to Krakow leaves the gate
23 h 15 apart on the timetable, overnight
W6 2096 leaves 23 h 15 after FR 3077 arrives on the timetable: more than half a day, so not a connection we count.