Terminal Preview: One or more resources (such as icon or backgroundImage) specified in your settings could not be found ? #23552

Closed
opened 2026-01-31 08:45:40 +00:00 by claunia · 4 comments
Owner

Originally created by @jtabox on GitHub (Aug 27, 2025).

Windows Terminal version

1.24.2372.0

Windows build number

10.0.26100.4946

Other Software

No response

Steps to reproduce

Just start the terminal or open the Settings tab and click Save.

Expected Behavior

To silently save the same config file it's been saving very silently for the last 3 months or so.

Actual Behavior

I feel I'm slowly losing my sanity with this, so I wanted to check if anyone else has a similar issue.

At some point today, my Windows Terminal Preview updated itself to the latest version, the one with the extensions feature. Now every time it starts, or when I click to save the settings I'm getting this error:

One or more resources (such as icon or backgroundImage) specified in your settings could not be found.
Image

This started happening suddenly, I haven't removed any icons or background images or bell mp3s or whatever. I saw the latest update reactivated some hidden profiles I had, and also added a couple of its own. I've deactivated all of them but the error persists.

I've gone through the config file and the settings tab trying to find some wrong configured directory or similar but there's nothing there.

Originally created by @jtabox on GitHub (Aug 27, 2025). ### Windows Terminal version 1.24.2372.0 ### Windows build number 10.0.26100.4946 ### Other Software _No response_ ### Steps to reproduce Just start the terminal or open the `Settings` tab and click `Save`. ### Expected Behavior To silently save the same config file it's been saving very silently for the last 3 months or so. ### Actual Behavior I feel I'm slowly losing my sanity with this, so I wanted to check if anyone else has a similar issue. At some point today, my Windows Terminal Preview updated itself to the latest version, the one with the extensions feature. Now every time it starts, or when I click to save the settings I'm getting this error: ``` One or more resources (such as icon or backgroundImage) specified in your settings could not be found. ``` <img width="507" height="220" alt="Image" src="https://github.com/user-attachments/assets/b626fa42-34f8-4ed7-8f29-e6460a0b5443" /> This started happening suddenly, I haven't removed any icons or background images or bell mp3s or whatever. I saw the latest update reactivated some hidden profiles I had, and also added a couple of its own. I've deactivated all of them but the error persists. I've gone through the config file and the settings tab trying to find some wrong configured directory or similar but there's nothing there.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:45:40 +00:00
Author
Owner

@jtabox commented on GitHub (Aug 27, 2025):

Nevermind, one of my deactivated profiles had a wrong icon location so it was about that.

@jtabox commented on GitHub (Aug 27, 2025): Nevermind, one of my deactivated profiles had a wrong icon location so it was about that.
Author
Owner

@DHowett commented on GitHub (Aug 27, 2025):

the latest update reactivated some hidden profiles I had

I'd love to know more about this! That is unexpected!

@DHowett commented on GitHub (Aug 27, 2025): > the latest update reactivated some hidden profiles I had I'd love to know more about this! That is unexpected!
Author
Owner

@jtabox commented on GitHub (Aug 27, 2025):

The two profiles were Visual Studio Debug Console and Git Bash, installed automatically by their respective programs. Those two have always been weird with Windows Terminal, for example if I delete them, they end up in there again at some point, same as my main WSL profile. Anyway, those were visible again today.
Furthermore, now that I checked the settings in Windows Terminal, their icons have a warning triangle instead of the usual "hidden" icon, and there's this message that "Profile no longer detected":

Image

The thing is that both are still in the actual JSON:

            {
                "guid": "{16208362-94fc-5b1f-a491-5b2624d5ab56}",
                "hidden": true,
                "name": "Visual Studio Debug Console",
                "source": "VSDebugConsole"
            },
            {
                "guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}",
                "hidden": true,
                "name": "Git Bash",
                "source": "Git"
            }

Edit: and those appear to be the correct entries, pressing the button to delete the profiles correctly removed those two.

@jtabox commented on GitHub (Aug 27, 2025): The two profiles were `Visual Studio Debug Console` and `Git Bash`, installed automatically by their respective programs. Those two have always been weird with Windows Terminal, for example if I delete them, they end up in there again at some point, same as my main WSL profile. Anyway, those were visible again today. Furthermore, now that I checked the settings in Windows Terminal, their icons have a warning triangle instead of the usual "hidden" icon, and there's this message that "Profile no longer detected": <img width="317" height="121" alt="Image" src="https://github.com/user-attachments/assets/c13769ca-e60b-4759-8e3c-b156a778ed16" /> The thing is that both are still in the actual JSON: ```json { "guid": "{16208362-94fc-5b1f-a491-5b2624d5ab56}", "hidden": true, "name": "Visual Studio Debug Console", "source": "VSDebugConsole" }, { "guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}", "hidden": true, "name": "Git Bash", "source": "Git" } ``` Edit: and those appear to be the correct entries, pressing the button to delete the profiles correctly removed those two.
Author
Owner

@DHowett commented on GitHub (Aug 27, 2025):

Well, here's hoping they don't come back.

Bit of technical detail:

  • We keep those blobs in your JSON file in case they come back (so that we don't delete your settings. We used to have a bunch of trouble with WSL, which would occasionally report 0 distributions, and Terminal would dutifully delete all your customizations for those profiles ☹️). Since they are in your settings file, we can't exactly know that you didn't want them there.1
  • We keep track of which ones we generated in state.json. If Terminal loses track of state it will re-generate auto-profiles you have deleted; this was done because in version 0.5+ we would just keep making new profiles if you kept deleting them, and people were rightly angry about that.

  1. we could probably detect that they had not been changed (same 4 properties, no extra properties, etc.)... good food for thought ↩︎

@DHowett commented on GitHub (Aug 27, 2025): Well, here's hoping they don't come back. Bit of technical detail: - We keep those blobs in your JSON file _in case_ they come back (so that we don't delete your settings. We used to have a bunch of trouble with WSL, which would occasionally report 0 distributions, and Terminal would dutifully delete all your customizations for those profiles ☹️). Since they are in your settings file, we can't exactly know that you didn't want them there.[^1] - We keep track of which ones we generated in `state.json`. If Terminal loses track of `state` it will re-generate auto-profiles you have deleted; this was done because in version 0.5+ we would _just keep making new profiles_ if you kept deleting them, and people were rightly angry about that. [^1]: we could probably detect that they had not been changed (same 4 properties, no extra properties, etc.)... good food for thought
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23552