microsoft / microsoft/terminal
The close all tab warning could prompt the user to enable "persist window layout" if it's disabled
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
_An off-the-cuff suggestion from @chendrixson_
If the user doesn't have "remember window layout" enabled, and they close more than one tab, maybe we could add a checkbox to that dialog to ask them if they want to turn that setting _on_.
Thoughts:
* Turning the setting on and saving the window layout at this point in teardown might be tricky
* Is there a way for users to say "No I absolutely do not want to save the layout and **stop asking**?" Does that even matter? It's just a checkbox...
* Is there a way to remember the layout _once_, like, for just the next launch?
* How does this play with the "close multiple panes" warning / multiple processes?
* Should we put this in the quit dialog? (we should put it there too)
Contributor guide
Research direction
Start by tracing the close-all-tabs warning and the "remember window layout" setting in Windows Terminal. Compare this behavior with the close-multiple-panes warning and quit dialog, including how teardown and multiple processes are handled. Done requires a decided interaction for enabling or temporarily saving the layout and a clear way to stop repeated prompts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100