You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restoring the session (from my upgraded ~/.config, which has seen all versions since the dawn of time^W^W^W^W I started using Geany) restores the files, but not:
the order
the current file
It kinda looks like the first element is right, but the reset is sort of loaded in reverse… Might have something to do with the option on where new tabs are opened?
The text was updated successfully, but these errors were encountered:
When the `tab_order_beside` option is enabled, tabs are opened on
either side of the active tab, depending on `tab_order_ltr`, rather
than at either end.
However, when loading startup files we don't switch to the last opened
document right away, but postpone this to the very end. This affects
the order tabs are loaded, as the active one is always the first one at
this stage.
Rather than over-complicating the loading order to compensate the
various options' effect, temporarily revert to an set of options that
is easy to handle, and restore it after loading is finished. This also
simplifies the existing logic as a basic forward iteration is now
enough.
Fixesgeany#3609.
hum… it's bad, but I'm wondering for how long this existed. I didn't bisect, but quickly going through this code seems to suggest it's nothing recent (yet, I might be wrong).
b4n
changed the title
Restoring the session does not restore the current file or files order
Restoring the session does not restore the current file or files order when tabs_order_beside is enabled
Oct 17, 2023
Given that it is done in notebook_new_tab() which all file creates use I would guess its been happening since that option was added by fdd451f (note see the "by" author name :-D
Restoring the session (from my upgraded ~/.config, which has seen all versions since the dawn of time^W^W^W^W I started using Geany) restores the files, but not:
It kinda looks like the first element is right, but the reset is sort of loaded in reverse… Might have something to do with the option on where new tabs are opened?
The text was updated successfully, but these errors were encountered: