Skip to content

Command palette goes to the top when you go back (<) from a submenu #13457

Closed

Description

As the subject says, if I open a submenu of the command palette (e.g., "New tab") and go back via the <-button, I'm back at the top of the command palette. I'd prefer to be back where I was. It's not a bug, but the bahavior could be made more friendly.

Activity

  1. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Jul 7, 2022
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 7, 2022
  3. zadjii-msft commented on Jul 7, 2022

    @zadjii-msft
    Member

    Hmm this is in #5400, I'm pretty sure it's a full issue somewhere too

    The "go back" button should pop only one layer of the stack, not go all the way back to the root (#8051 (comment))

  4. vefatica commented on Jul 7, 2022

    @vefatica
    Author

    I guess that's a matter of terminology. The actual behavior and my desired behavior both go back to the command palette. It's the position in the command palette after going back that concerns me ... back to the beginning of the command palette or back to where I was.

  5. added
    Issue-TaskIt's a feature request, but it doesn't really need a major design.
    good first issueThis is a fix that might be easier for someone to do as a first contribution
    Area-CmdPalCommand Palette issues and features
    on Jul 8, 2022
  6. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 8, 2022
  7. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 8, 2022
  8. removed
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Jul 8, 2022
  9. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 8, 2022
  10. JerBast commented on Jul 13, 2022

    @JerBast
    Contributor

    Mike Griese (@zadjii-msft), I would be happy to work on this as my first contribution to this repo (if possible). I assume the desired result is to focus the filtered view to the previously selected item when returning from a nested collection?

    image

  11. zadjii-msft commented on Jul 13, 2022

    @zadjii-msft
    Member

    That's what I would do, yea! Lemme know if you have any questions. This line:

    _nestedActionStack.Clear();
    is where I'd start ☺️

  12. ghost added
    In-PRThis issue has a related PR
    on Jul 14, 2022
  13. ghost closed this as completedin #13504on Jul 19, 2022
  14. ghost added a commit that references this issue on Jul 19, 2022
    0337869
  15. ghost removed
    In-PRThis issue has a related PR
    on Jul 19, 2022
  16. ghost added
    Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.
    on Jul 19, 2022
  17. vefatica commented on Sep 13, 2022

    @vefatica
    Author

    I just got this one:

    "Microsoft.WindowsTerminalPreview_Win10_1.16.2523.0_8wekyb3d8bbwe.msixbundle"

    or maybe it's this one:

    WindowsTerminalPreview 1.16.2209.09003

    Is that one Windows Terminal Preview v1.16.252?

    It has too many version descriptions!

    The back button works as desired. I didn't mention it earlier but I'd expect Esc to do the same thing (i.e., go back) but it just closes the command palette.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-CmdPalCommand Palette issues and featuresHelp WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Needs-Tag-FixDoesn't match tag requirementsPriority-3A description (P3)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.good first issueThis is a fix that might be easier for someone to do as a first contribution

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions