Skip to content
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

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

Closed
carlos-zamora opened this issue Apr 8, 2022 · 6 comments
Labels
Area-CmdPal Command Palette issues and features Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Resolution-Won't-Fix We're just really obstinate about this. There's probably a good reason.
Milestone

Comments

@carlos-zamora
Copy link
Member

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

@carlos-zamora carlos-zamora added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Apr 8, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 8, 2022
@carlos-zamora carlos-zamora added Product-Terminal The new Windows Terminal. Area-CmdPal Command Palette issues and features and removed Needs-Tag-Fix Doesn't match tag requirements labels Apr 8, 2022
@carlos-zamora
Copy link
Member Author

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

@DHowett
Copy link
Member

DHowett commented 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.

@carlos-zamora
Copy link
Member Author

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).

@DHowett
Copy link
Member

DHowett commented Apr 26, 2023

This one requires discussion rather than triage!

@DHowett DHowett added Needs-Discussion Something that requires a team discussion before we can proceed and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 26, 2023
@DHowett DHowett added this to the Backlog milestone Apr 26, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Tag-Fix Doesn't match tag requirements label Apr 26, 2023
@DHowett
Copy link
Member

DHowett commented 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.

@lhecker
Copy link
Member

lhecker commented 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 lhecker closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2023
@zadjii-msft zadjii-msft added Resolution-Won't-Fix We're just really obstinate about this. There's probably a good reason. and removed Needs-Discussion Something that requires a team discussion before we can proceed labels May 17, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Tag-Fix Doesn't match tag requirements label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CmdPal Command Palette issues and features Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Resolution-Won't-Fix We're just really obstinate about this. There's probably a good reason.
Projects
None yet
Development

No branches or pull requests

4 participants