@b4n, looking at notebook.c it appears that the scintilla widget is focussed on the `button-release` event. And it is easier to provoke the problem by clicking on the tab and holding the button down, ie artificially delaying the `button-release`. Then sometimes when the button is released it seems to get ignored and the widget does not get focus and so does not update.
If the `button-release` can get lost in normal operation too then that would explain it.
Why is the focus on `button-release` which is an indeterminate time in the future, instead of when the switch signal happens?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/807#issuecomment-164640671