[Github-comments] Re: [geany/geany] Wrong filename in titlebar after launch (Issue #3684)
Closed #3684 as completed via 293157c7a99880523900e29a1e3191800c2018fe. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3684#event-13165577321 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Wrong filename in titlebar after launch (Issue #3684)
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. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3684#issuecomment-2094883119 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Wrong filename in titlebar after launch (Issue #3684)
I've bisected this to https://github.com/geany/geany/pull/3267. The original code contained the `switch_to_session_page()` function which emitted the `switch-page` signal even in the case when the right tab was already selected (so no real switch happened) which then lead to correct "document-activate" emission from `on_notebook1_switch_page_after()`. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3684#issuecomment-2081667888 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Wrong filename in titlebar after launch (Issue #3684)
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. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3684#issuecomment-1836344571 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Wrong filename in titlebar after launch (Issue #3684)
> apparently "document-open" signal isn't invoked in this case Sorry, I meant "document-activate". -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3684#issuecomment-1823065553 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Wrong filename in titlebar after launch (Issue #3684)
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: https://github.com/techee/geany-lsp/issues/30. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3684#issuecomment-1823063151 You are receiving this because you are subscribed to this thread. Message ID: