You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hovering on the "Image Carousel" title, a UUID is shown. Opening the image carousel on the same image several times in a row always shows a different UUID. We should remove this UUID being shown
Hi, I'm an external contributor and would love to take a stab at this if it's still open — happy to dig into the image carousel code and remove the UUID from the hover tooltip. Would that be welcome? Dmitriy Vasyura (@dmitrivMS)
Sharing media and context from merged PR #320739 for verification:
Problem
Hovering the image carousel title in the modal header shows a raw UUID, and the UUID changes every time the carousel is reopened.
Root cause:
Each carousel open generates a fresh collection id via generateUuid() (imageCarousel.contribution.ts), which ImageCarouselEditorInput turns into its resource URI: vscode-imagecarousel:///<uuid>.
The modal header label (updateLabel() in modalEditorPart.ts) calls ResourceLabel.setResource() without a title option.
With no title provided, ResourceLabelWidget.render() (labels.ts) falls back to labelService.getUriLabel(resource) for the tooltip — i.e. the UUID URI.
Fix
Pass title: activeEditor.getTitle(Verbosity.LONG) in the ResourceLabel options for the modal header, mirroring how editor tabs set their hover (multiEditorTabsControl.ts, editorTabsControl.ts#getHoverTitle).
This makes the modal header hover behave like existing non-file editor tabs — e.g. the Settings editor tab, whose hover shows "Settings" (its getTitle(Verbosity.LONG) falls back to getName()). The carousel hover now shows its stable title ("Image Carousel" / "Images Preview") instead of a per-open UUID.
The fix applies to all modal editor inputs (chat management, agent plugin, workspace trust, etc.), not just the image carousel. File editors opened modally (workbench.editor.useModal: "all") keep their useful full-path hover, since FileEditorInput.getTitle(Verbosity.LONG) returns the full path — no behavior change there.
Before / After
Before:
After:
Verification
Right-click an image in the Explorer → Open in Images Preview → hover the modal title: shows the title, not a UUID; stable across reopens.
Regression check with "workbench.editor.useModal": "all": a file opened in the modal still shows its full path on hover.
Activity
vs-code-engineering commentedon Mar 16, 2026
Hi Giuseppe Cianci (@Giuspepe). As a member of the team, you can help us triage this issue by referring to https://github.com/microsoft/vscode-copilot/wiki/Copilot-Inbox-Tracker and assigning an owner directly.
arun-357 commentedon Jun 10, 2026
Hi, I'm an external contributor and would love to take a stab at this if it's still open — happy to dig into the image carousel code and remove the UUID from the hover tooltip. Would that be welcome? Dmitriy Vasyura (@dmitrivMS)
dmitrivMS commentedon Jun 10, 2026
Arunachalam Nachiappan (@arun-357) Sure, go ahead.
arun-357 commentedon Jun 10, 2026
Hi, I've put together a fix for this — PR is open and ready for review whenever you get a chance. Dmitriy Vasyura (@dmitrivMS)
vs-code-engineering commentedon Jun 10, 2026
Sharing media and context from merged PR #320739 for verification:
Problem
Hovering the image carousel title in the modal header shows a raw UUID, and the UUID changes every time the carousel is reopened.
Root cause:
generateUuid()(imageCarousel.contribution.ts), whichImageCarouselEditorInputturns into its resource URI:vscode-imagecarousel:///<uuid>.updateLabel()inmodalEditorPart.ts) callsResourceLabel.setResource()without atitleoption.ResourceLabelWidget.render()(labels.ts) falls back tolabelService.getUriLabel(resource)for the tooltip — i.e. the UUID URI.Fix
Pass
title: activeEditor.getTitle(Verbosity.LONG)in theResourceLabeloptions for the modal header, mirroring how editor tabs set their hover (multiEditorTabsControl.ts,editorTabsControl.ts#getHoverTitle).This makes the modal header hover behave like existing non-file editor tabs — e.g. the Settings editor tab, whose hover shows "Settings" (its
getTitle(Verbosity.LONG)falls back togetName()). The carousel hover now shows its stable title ("Image Carousel" / "Images Preview") instead of a per-open UUID.The fix applies to all modal editor inputs (chat management, agent plugin, workspace trust, etc.), not just the image carousel. File editors opened modally (
workbench.editor.useModal: "all") keep their useful full-path hover, sinceFileEditorInput.getTitle(Verbosity.LONG)returns the full path — no behavior change there.Before / After
Before:

After:

Verification
"workbench.editor.useModal": "all": a file opened in the modal still shows its full path on hover.compile-check-ts-nativeand ESLint pass.Source PR: #320739