terminal/src/cascadia/TerminalSettings
Mike Griese 82de43bce9 A better fix for #tab-titles-are-too-long (#2373)
### User Stories:

1. A user wants to be able to use the executable path as their starting title
    - Does anyone want this?
2. A user wants to be able to set a custom starting title, but have that title be overridable
3. A user wants to be able to set an overridable starting title, different from the profile name
    - Presumably someone will want this
4. A user totally wants to ignore the VT title and use something else
    - This will make more sense in the post [#1320] "Support runtime variables in the custom user title" settings

### Solutions:

1. `name`, `startingTitle`, `tabTitle`
    * a. `name` is only ever used as the profile name.
    * b. If `startingTitle` isn't set, then the executable path is used
    * c. If `startingTitle` is set, it's used as the initial title
    * d. If `tabTitle` is set, it overrides the title from the terminal
    * e. Current users of `tabTitle` need to manually update to the new behavior.
2. `name` as starting title, `tabTitle` as a different starting title
    * a. `name` is used as the starting title and the profile name in the dropdown
    * b. If `tabTitle` is set, we'll use that as the overridable starting title instead.
    * c. In the future, `dynamicTabTitle` or `tabTitleOverride` could be added to support [#1320]
    * d. Current users of `tabTitle` automatically get the new (different!) behavior.
    * e. User Story 1 is impossible
        - Does anyone want the behavior _ever_? Perhaps making that scenario impossible is good?
3. `name` unchanged, `tabTitle` as the starting title
    * a. `name` is only ever used as the profile name.
    * b. If `tabTitle` is set, we'll use that as the overridable starting title.
    * c. In the future, `dynamicTabTitle` or `tabTitleOverride` could be added to support [#1320]
    * d. Current users of `tabTitle` automatically get the new (different!) behavior.
4. `name` as starting title, `tabTitle` as different starting title, `suppressApplicationTitle` Boolean to force it to override
    * a. `name`, `tabTitle` work as in Solution 2.
    * b. When someone wants to be able to statically totally override that title (story 4), they can use `suppressApplicationTitle`
    * c. `suppressApplicationTitle` name is WIP
    * d.  We'll add `suppressApplicationTitle` when someone complains
    * e. If you really want story 1, use `tabTitle: c:\path\to\foo.exe` and `suppressApplicationTitle`.

[#1320]: https://github.com/microsoft/terminal/issues/1320

We've decided to pursue path 4.
2019-08-14 16:16:38 -07:00
..
IControlSettings.idl A better fix for #tab-titles-are-too-long (#2373) 2019-08-14 16:16:38 -07:00
ICoreSettings.idl Double and Triple Click Selection (#1197) 2019-07-11 16:06:18 -07:00
IKeyBindings.idl Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
KeyChord.cpp Enable C++/WinRT Optimizations for local component builds (#949) 2019-05-23 10:36:29 -07:00
KeyChord.h Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
KeyChord.idl Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
packages.config Update a number of our dependencies (#2301) 2019-08-07 16:43:49 -07:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
TerminalSettings.cpp A better fix for #tab-titles-are-too-long (#2373) 2019-08-14 16:16:38 -07:00
TerminalSettings.def Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
terminalsettings.h A better fix for #tab-titles-are-too-long (#2373) 2019-08-14 16:16:38 -07:00
TerminalSettings.idl Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
TerminalSettings.vcxproj Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00