-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Terminal not remember tabs after system restart #616
Comments
Thanks for the report. This longstanding issue is a consequence of the way the session is closed and has been raised elsewhere (elementary/quick-settings#42). It is a general problem not specifically Terminal. Until a fix is developed, the only workround is to manually close all windows you want to restore before closing the session. I'll leave this open, I think as it could be "fixed" by having Terminal continually save its state rather than do it on closing the window. There is some precedent for this in Code continually saving documents as they are edited. |
The issue linked dates back to 2017, however, in an elementary OS 5.1 installation that I have, the terminal tabs are remembered correctly. I have to turn off the computer issuing a |
Please check that you have History enabled in the Settings Security & Privacy plug. If this is disabled then Terminal now honors that setting and does not restore previously used locations. Also check the result of |
History was disabled. I enabled it and ensured the property value is |
Workaround: when I open Terminal with the hotkey (Super+T, but I might have changed it), my tabs are correctly restored (almost, the order can be wrong). |
There are four conditions to be met for the app state to be remembered:
Please advise if you are still experiencing the issue when all these conditions are met. |
If you check the setting |
Thanks for the details. My settings are as described. |
@volfpeter So you are getting different results depending on how you open Terminal? That's strange. All methods should be executing It occurred to me there is one other situation where tabs are not restored. That is if there is already an instance of Terminal running. Tabs are only restored for the first window. |
Tabs are also not restored if Terminal is launched with the |
Yes, it definitely feels like that, but as I mentioned, I did not try to deliberately look into this. I default to Super+T, and occasionally start Terminal from the Dock just to see what happens :) |
I am inclined to close this as the original issue is not something Terminal can fix - it is a system level thing. Please open new issues relating to Terminal specific things if appropriate. |
What Happened
When you open terminal and some tabs, then when you close manually terminal, the tabs will be restored, but when you not close manually terminal but perform system restart, then the tabs will not be restored on next terminal start.
Expected Behavior
After system restart terminal tabs should be restored.
Steps to Reproduce
Platform Information
elementary OS 6.0
The text was updated successfully, but these errors were encountered: