"New tab..." iterable command should iterate over all profiles (not just active ones) #17192

Closed
opened 2026-01-31 05:34:56 +00:00 by claunia · 6 comments
Owner

Originally created by @carlos-zamora on GitHub (Apr 8, 2022).

Windows Terminal version

1.14.892.0

Windows build number

10.0.22596.0

Other Software

No response

Steps to reproduce

  1. hide some profiles from the dropdown using "hidden": "true" (or Settings UI)
  2. Open the command palette
  3. Invoke the "New tab..." iterable command

Expected Behavior

The hidden profiles should be in the list.

Actual Behavior

The hidden profiles are omitted from the list

Originally created by @carlos-zamora on GitHub (Apr 8, 2022). ### Windows Terminal version 1.14.892.0 ### Windows build number 10.0.22596.0 ### Other Software _No response_ ### Steps to reproduce 1. hide some profiles from the dropdown using `"hidden": "true"` (or Settings UI) 2. Open the command palette 3. Invoke the "New tab..." iterable command ### Expected Behavior The hidden profiles should be in the list. ### Actual Behavior The hidden profiles are _omitted_ from the list
claunia added the Issue-BugProduct-TerminalResolution-Won't-FixArea-CmdPal labels 2026-01-31 05:34:57 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Apr 8, 2022):

I think the change would be fairly simple. We would just need to pass CascadiaSettings::_allProfiles into Command::ExpandCommands() (as opposed to CascadiaSettings::_activeProfiles).

@carlos-zamora commented on GitHub (Apr 8, 2022): I think the change would be fairly simple. We would just need to pass `CascadiaSettings::_allProfiles` into `Command::ExpandCommands()` (as opposed to `CascadiaSettings::_activeProfiles`).
Author
Owner

@DHowett commented on GitHub (Apr 8, 2022):

I dunno about this one -- I just added an iterable to my root command palette that goes over profiles as well, and I sure would be surprised if hidden ones popped up.

@DHowett commented on GitHub (Apr 8, 2022): I dunno about this one -- I just added an iterable to my _root command palette_ that goes over profiles as well, and I sure would be surprised if hidden ones popped up.
Author
Owner

@carlos-zamora commented on GitHub (Apr 8, 2022):

Yeah, the part I'm conflicted on is this: what does it mean for a profile to be "hidden"? In SUI, we say "Hide profile from dropdown", so that means hiding it should still make it appear in the command palette, right? (granted, historically we've just used "hidden" as a way to fake-delete profiles from SUI).

@carlos-zamora commented on GitHub (Apr 8, 2022): Yeah, the part I'm conflicted on is this: what does it mean for a profile to be "hidden"? In SUI, we say "Hide profile from dropdown", so that means hiding it should still make it appear in the command palette, right? (granted, historically we've just used "hidden" as a way to fake-delete profiles from SUI).
Author
Owner

@DHowett commented on GitHub (Apr 26, 2023):

This one requires discussion rather than triage!

@DHowett commented on GitHub (Apr 26, 2023): This one requires discussion rather than triage!
Author
Owner

@DHowett commented on GitHub (Apr 26, 2023):

FYI, some developers use fragment extensions to customize how their applications are displayed without adding a profile to the list by using hidden: true. It would be more surprising IMO if those ones showed up, but they're not different from user-hidden profiles.

@DHowett commented on GitHub (Apr 26, 2023): FYI, some developers use fragment extensions to customize how their applications are displayed _without_ adding a profile to the list by using `hidden: true`. It would be more surprising IMO if those ones showed up, but they're not different from user-hidden profiles.
Author
Owner

@lhecker commented on GitHub (May 15, 2023):

Long-term we'd like to treat hidden profiles as if they were deleted, because hidden used to be a workaround to "delete" generated profiles. In the future we'd additionally prefer if generated profiles don't get added to the visible list of profiles anymore by default. Instead users have to explicitly add them in the settings.

@lhecker commented on GitHub (May 15, 2023): Long-term we'd like to treat hidden profiles as if they were deleted, because hidden used to be a workaround to "delete" generated profiles. In the future we'd additionally prefer if generated profiles don't get added to the visible list of profiles anymore by default. Instead users have to explicitly add them in the settings.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17192