Lines to jump to and filenames are saved in different dictionaries. After reloading spyder they don't correspond to their initial ones.
Let's merge first the focus PR and then you'll work on this one :-)
@dalthviz, please work on this one. This refers to lines and filenames saved when Spyder is closed and reopened again.