Sometimes a file does not open at the same line number as before

Jakob Heitz 10 years ago updated by Alexander Blach (Developer) 10 years ago 3
When I tap on a fille I was editing previously it often opens at the place I was before, but frequently it opens at a random location.
This shouldn't happen. Do you have any idea when exactly it behaves like that?

Currently, settings like this get lost when you copy or move a file. Maybe that's what happened to you?
Thanks for the quick reply.
I didn't move the file. I frequently edit multiple files, jumping between them using the file list on the left.
One thing I noticed is the file is long, over 7000 lines and over 220k bytes.
It seems to depend upon which other file I go to.
When I edit file1, then file2, then file1 again, it consistently goes to the wrong place in file1.
If I go file1, file3, file1, it works correctly.
Interesting, if I go file1, file2, file3, file1, it also works correctly.
Now, I did that with a different file and it was wrong again.
I think it keeps the position, it just doesn't always jump to it, because it remembers it again later.
I only noticed the problem on the long file.
I'll try to reproduce the problem. Thanks for the detailed description!