Skip to content

[profiles] What should I do to actually delete these profiles? #13451

Closed as not planned

Description

@NekoAria

Windows Terminal version

1.13.11431.0

Windows build number

10.0.19043.0

Other Software

No response

Steps to reproduce

After I delete these profiles, and reopen the wt, and going to add a new profile, I find they are still existing.

Expected Behavior

These profiles are actually deleted.

Actual Behavior

These profiles are still existing.

Activity

  1. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 7, 2022
  2. 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
  3. changed the title [-][profiles] I want to actually delete this profiles, what should I do?[/-] [+][profiles] I want to actually delete these profiles, what should I do?[/+] on Jul 7, 2022
  4. changed the title [-][profiles] I want to actually delete these profiles, what should I do?[/-] [+][profiles] What should I do to actually delete these profiles?[/+] on Jul 7, 2022
  5. zadjii-msft commented on Jul 7, 2022

    @zadjii-msft
    Member

    Did you hit Save after deleting them? Could you share your settings.json file/?

  6. ghost added
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Jul 7, 2022
  7. NekoAria commented on Jul 7, 2022

    @NekoAria
    Author

    Did you hit Save after deleting them? Could you share your settings.json file/?

    Yes.

  8. ghost added
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Jul 7, 2022
  9. ghost removed
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Jul 7, 2022
  10. NekoAria commented on Jul 7, 2022

    @NekoAria
    Author
    {
        "$help": "https://aka.ms/terminal-documentation",
        "$schema": "https://aka.ms/terminal-profiles-schema",
        "actions": 
        [
            {
                "command": 
                {
                    "action": "copy",
                    "singleLine": false
                },
                "keys": "ctrl+c"
            },
            {
                "command": "paste",
                "keys": "ctrl+v"
            },
            {
                "command": "find",
                "keys": "ctrl+shift+f"
            },
            {
                "command": 
                {
                    "action": "splitPane",
                    "split": "auto",
                    "splitMode": "duplicate"
                },
                "keys": "alt+shift+d"
            }
        ],
        "copyFormatting": "none",
        "copyOnSelect": false,
        "defaultProfile": "{f33743eb-6e3b-4d53-8a1e-59a6a567b47c}",
        "profiles": 
        {
            "defaults": 
            {
                "colorScheme": "MaterialOcean",
                "cursorShape": "filledBox",
                "font": 
                {
                    "face": "\u66f4\u7eb1\u9ed1\u4f53 Mono SC Nerd"
                }
            },
            "list": 
            [
                {
                    "colorScheme": "MaterialOcean",
                    "commandline": "",
                    "guid": "{f33743eb-6e3b-4d53-8a1e-59a6a567b47c}",
                    "hidden": false,
                    "icon": "D:\\fish.gif",
                    "name": "fish",
                    "startingDirectory": "%USERPROFILE%"
                },
                {
                    "colorScheme": "MaterialOcean",
                    "guid": "{aab79973-318f-43b6-a9bc-b4096493753f}",
                    "hidden": false,
                    "name": "Nushell",
                    "source": "nu"
                },
                {
                    "colorScheme": "MaterialOcean",
                    "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                    "hidden": false,
                    "name": "Windows PowerShell"
                },
                {
                    "colorScheme": "MaterialOcean",
                    "commandline": "",
                    "guid": "{02d5718b-5b02-4dda-9430-87d047c90533}",
                    "hidden": false,
                    "icon": "ms-appx:///ProfileIcons/{b453ae62-4e3d-5e58-b989-0a998ec441b8}.png",
                    "name": ""
                },
                {
                    "colorScheme": "MaterialOcean",
                    "commandline": "",
                    "guid": "{49f5f541-e2cf-4c7c-8ca8-9dfa0b2717fb}",
                    "icon": "ms-appx:///ProfileIcons/{b453ae62-4e3d-5e58-b989-0a998ec441b8}.png",
                    "name": ""
                }
            ]
        },
        "schemes": [],
        "tabSwitcherMode": "mru"
    }
  11. NekoAria commented on Jul 7, 2022

    @NekoAria
    Author

    I withheld some information on privacy reasons.

  12. zadjii-msft commented on Jul 7, 2022

    @zadjii-msft
    Member

    Hmm. Looks like deleted profiles still show up in the duplicate profile dropdown. That's wild, and sure shouldn't be happening.

    Yep, the AddProfile page is just handed a whole reference to the settings, and doesn't filter on !IsDeleted(), like the other nav view does.

  13. added
    Help WantedWe encourage anyone to jump in on these.
    and removed
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Jul 7, 2022
  14. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 7, 2022
  15. added
    Needs-Tag-FixDoesn't match tag requirements
    and removed
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Jul 7, 2022
  16. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 7, 2022
  17. DHowett commented on Jul 7, 2022

    @DHowett
    Member

    Ah, so deleted profiles are intended to show up in that dropdown. Until we have support for "template" profiles (like, "Terminal detected these -- do you want one of them?"), we have to store them there. Otherwise, there is no way to get them back, for users who have changed their minds.

  18. zadjii-msft commented on Jul 7, 2022

    @zadjii-msft
    Member

    That's fine by me. I'm gonna call this "by design" then. Maybe not the most clear, but not a bug. If anyone's got good recommendations on ways to make this clearer, feel free to add it in the comments below.

  19. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Jul 7, 2022
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-SettingsUIAnything specific to the SUIHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-3A description (P3)Product-TerminalThe new Windows Terminal.Resolution-By-DesignIt's supposed to be this way. Sometimes for compatibility reasons.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions