Thanks for your suggestions, the problem was caused by plugin. After reading your comments, I disabled all the plugins, restarted Geany, and it worked fine. Then I started re-enabling plugins one after one and found that Overview plugin causes this problem. Once I disable it, autofocus starts working. Enable - no autofocus again.
In case you need more details, I'm running latest version of Geany on antergos KDE. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1925#issuecomment-414254565
