Sublime Forum

Loose focus and bookmarks

#1

I am using build 2281 on debian, and I have the following problem when using sublime text 2:

The focus keeps going to the top of the file, when I switch from another application back to ST2, or even when I save…
And if I set bookmarks with ctrl+F2, they are deleted and one bookmark is automatically set at the top of the file.

Does someone know how I can fix this issue ?
Thanks in advance

0 Likes

#2

Maybe you are editing the file with an external application, and then you lose your file properties when switching to sublime text.
Maybe you have bufferscroll installed and are hitting a bug?

0 Likes

#3

The files are not opened with another application, but my working directory is mounted from another server.
I have tried with both bufferscroll installed or uninstalled.

0 Likes

#4

When happening, look at the console if you find something like:

Reloading /D/TOTO/TITI.TXT

It means that ST2 think that the file was modified externally and need to be reloaded.

0 Likes

#5

yes, that’s the case. Each time I select a buffer, the console shows that the file is reloaded.

Is there a workaround for my problem, or will it always happen if I work on a mounted directory ?

0 Likes

#6

Thank you for helping me understanding the issue. Now I know where it comes from, but I don’t know how to fix it!

I have found another thread https://forum.sublimetext.com/t/auto-reload-forced-on/2100/1 talking about the same problem, and there still doesn’t seem to be a solution for it …

There is also a feature request for this: http://sublimetext.userecho.com/topic/58156-/, where people can vote for it

0 Likes