If I open a new file temporarily to look at something and then close it immediately, the new file will open on a tab on the right of the current one, and when I close it Geany will focus on the tab on the right of this one, not on the one I originally had open which is the one on the left. This could be solved if Geany defaulted to moving to the tab on the **left** when I close the currently active tab, instead of the tab on the right as it does now.
(This is assuming the user has their preferences set to "Open new tabs on the right of the current tab"; if they set them to open new tabs on the left, then the behavior should be mirrored and Geany should switch to the tab on the right.)
Alternatively, it could simply switch to the last open tab (emulating the behavior of Ctrl-Tab).