Sublime Forum

[Bug] goto anything fails with option save_on_focus_lost

#1

Hi,
when the Option save_on_focus_lost is set true the File will save when pressing the Keys for a goto anything Shortcut and anything else will happen. (Like pressing cmd+S)
Since I’m not leaving the file when jumping to a function focus shouldn’t be lost at all.

The file is also saved when calling the command palette but the command palette is opened on the first keypress.

Reproduce the problem:
Set Option save_on_focus_lost to true
Change File
Press: cmd+R / cmd+P / ctrl+G to jump to File etc.
The File will save and nothing else will happen.

Workaround:
Press goto anything Keys twice

System: Mac OS X Lion 10.7.1
Sublime 2 Build: 2131
This Problem has been in all Builds I tested.

The Files all lie on a Samba Share.

0 Likes