'Tabs have close buttons' setting is not immediately written to file and retained after an iTerm2 process restart
Hi,
It appears iTerm2 (3.5.0beta10) does not immediately save the setting which dictates whether tabs have close buttons to disk. I've manually set this now several times, and just this morning lost another tab due to hitting the close-button when attempting to switch to it. (is there an "undo close tab" option? – I've lost many important tabs this way.)
I subsequently checked the setting, which to my surprise was not set, and changed (disabled) it. Upon terminating iTerm2 (to regain tabs and windows), the setting is again reverted to the default.
This is quite frustrating, and it would be good if the behaviour is changed. I've also tried moving back to the regular branch of iTerm2 from the beta (it has not had updates in a while) in case this was an issue with the beta, but it's probably the same thing with the config not being saved due to iTerm2 not correctly exiting (and deleting your session)
- iTerm2 version: 3.5.0beta10
- OS version: Ventura 13.3
- Attach
~/Library/Preferences/com.googlecode.iterm2.plist
here com.googlecode.iterm2.plist
- modify the 'tabs have close buttons' setting to untick the default "on" setting
- kill the iTerm2 process
- start iTerm2
What happened
Setting is reverted to default/prior ("on")
What should have happened
Setting should have been saved to the plist
Note that I am specifically not doing a "Quit iTerm2", as this has not retained the session in the past, and it's a pain to reinstate all of the tabs+windows.