PR https://github.com/geany/geany/pull/3267 removed the special handling of the situation when no tab change happens after setting an active document after session load. This happens in the situation where
1. There's just a single document 2. Depending on the tab opening logic, the active tab saved into the session file corresponds to the already active tab
This patch tries to restore the previous behavior where switch-page" was synthetically emitted in such situations.
Fixes #3684. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3870
-- Commit Summary --
* Fix emission of document-activate signal and various related GUI glitches
-- File Changes --
M src/document.c (16)
-- Patch Links --
https://github.com/geany/geany/pull/3870.patch https://github.com/geany/geany/pull/3870.diff