mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

After executing a query the cursor has its focus in the result windows and does not stay in the original place #183

Closed matthiasmast closed 6 years ago

matthiasmast commented 6 years ago

Bug/Error

Description

After executing a query the cursor has its focus in the result windows and does not stay in the original place. With this I need to use the mouse to set the cursor focus back to the original place to continue editing

Version

Steps to Reproduce (For bugfixes)

  1. Execute any query

Expected behavior: Cursor focus staying at the original place where it was before executing the query

Actual behavior: cursor focus jumped to the result window

javidbu commented 6 years ago

This also happens on Mac with MySQL. They added Window().focus_view(resultContainer) with the version 0.9.8, and I don't see the point on this. There should be a setting like focus_on_result so we can decide if it changes focus or not because it's really annoying