New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong filename in titlebar after launch #3684
Comments
Note that his happens when the first tab is selected after opening a session - apparently "document-open" signal isn't invoked in this case. This is a problem for the LSP plugin too: techee/geany-lsp#30. |
Sorry, I meant "document-activate". |
There's one more problem, the MRU file list isn't updated either when the first tab is selected after Geany start so when you switch to another tab and want to go back, the first tab's document isn't in the MRU list. |
I've bisected this to #3267. The original code contained the |
Another victim of this problem is the git-changebar plugin (and possibly others) that expects that "document-activate" is delivered also when a single tab is open. The result is that when no document is open and you open some document with changes against the committed state, git-changebar doesn't show the changes. |
…ches PR geany#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 geany#3684.
After Geany launch a filename not corresponding to the current file is shown in the title bar - see the screenshot below. It gets fixed as active document changes. I'm wondering if something similar to #3609 should be also done for the titlebar.
The text was updated successfully, but these errors were encountered: