Skip to content

Issue with “Recent Items” in the taskbar context menu #307789

@li-cr

Description

@li-cr

Bug Report: Portable Mode Does Not Update Windows Taskbar Recent Items

Does this issue occur when all extensions are disabled?
Yes


Environment

  • VS Code Version: 1.114.0
  • Commit: e7fb5e9
  • Date: 2026-04-01
  • OS: Windows 10 x64 (10.0.19045)

Description

When running VS Code in portable mode (i.e., a data folder exists in the VS Code directory), opening folders does not update the Windows taskbar “Recent” list (right-click on the VS Code icon).

However, when running VS Code in normal (non-portable) mode, recently opened folders are correctly shown in the Windows taskbar jump list.


Steps to Reproduce

Case 1: Portable Mode (Issue occurs)

  1. Create a data folder inside the VS Code installation directory (portable mode enabled)
  2. Launch VS Code
  3. Open any folder

Result:
The opened folder does not appear in the Windows taskbar "Recent" list.

Image

Case 2: Normal Mode (Expected behavior)

  1. Remove the data folder (disable portable mode)
  2. Launch VS Code
  3. Open any folder

Result:
The opened folder appears correctly in the Windows taskbar "Recent" list.

Image

Expected Behavior

Recently opened folders should appear in the Windows taskbar jump list regardless of portable mode.


Actual Behavior

In portable mode, recently opened folders are not added to the Windows taskbar recent items.


Additional Notes

  • This issue occurs even with all extensions disabled.
  • It seems related to how VS Code integrates with Windows shell APIs in portable mode.
  • Possibly related to how recent items are stored or registered when using a custom data directory.

Screenshots

(Attached in original report)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions