Skip to content

Update Microsoft.WSLg to 1.0.77#40568

Merged
benhillis merged 1 commit into
microsoft:masterfrom
benhillis:benhillis/wslg-1.0.77
May 16, 2026
Merged

Update Microsoft.WSLg to 1.0.77#40568
benhillis merged 1 commit into
microsoft:masterfrom
benhillis:benhillis/wslg-1.0.77

Conversation

@benhillis
Copy link
Copy Markdown
Member

Picks up the fix for GUI app icons disappearing from the Start menu after updating to 2.7.3 (Azure Linux 3 system distro).

Root cause: The system distro upgrade in WSLg 1.0.72 brought in librsvg 2.58, which lazily spawns a rayon thread pool the first time it has to render a complex SVG icon. Those worker threads share fs_struct with weston's app-list enumeration thread and break the subsequent setns(CLONE_NEWNS) into the user distro's mount namespace, causing every app processed after the first complex-icon one to drop off the Start menu. Adwaita-style flat icons stay on librsvg's single-threaded path; richer icons (Audacity, GIMP, JetBrains, Discord) trigger it.

Fix: microsoft/weston-mirror#162 — call unshare(CLONE_FS) inside attach_app_list_namespace before every setns, so the call is robust against any thread-spawning library on this code path. Rolled into Microsoft.WSLg 1.0.77.

Validation: Built a local system distro from the patched weston-mirror branch, swapped it into a fresh user distro, installed all the trigger apps from the original repro (audacity / gimp / inkscape / vlc on top of the GNOME flat-icon set). All 18 apps published cleanly:

=== failures (expect 0) ===
0
=== notify_app_list count ===
18
=== unshare errors (expect 0) ===
0

And on the host:

PS> dir `C:\Users\benhill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Ubuntu\*.lnk` | Measure-Object | % Count
18

Fixes microsoft/wslg#1444
Fixes #40538

Picks up the fix for GUI app icons disappearing from the Start menu
on Azure Linux 3 system distros. The system distro upgrade in WSLg
1.0.72 brought in librsvg 2.58, which lazily spawns a rayon thread
pool the first time it has to render a complex SVG icon. Those
worker threads share fs_struct with weston's app-list enumeration
thread and break the subsequent setns(CLONE_NEWNS) into the user
distro's mount namespace, causing every app processed after the
first complex-icon one to fall off the Start menu.

Fixed in microsoft/weston-mirror#162; rolled into Microsoft.WSLg
1.0.77.

Fixes microsoft/wslg#1444
Fixes microsoft#40538

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@benhillis benhillis requested a review from a team as a code owner May 15, 2026 22:54
Copilot AI review requested due to automatic review settings May 15, 2026 22:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the Microsoft.WSLg NuGet dependency from 1.0.76 to 1.0.77 to pick up the weston-mirror fix that prevents GUI app icons from disappearing from the Start menu after updating to WSL 2.7.3.

Changes:

  • Update Microsoft.WSLg package version from 1.0.76 to 1.0.77 in packages.config.

@benhillis benhillis enabled auto-merge (squash) May 15, 2026 23:48
@benhillis benhillis merged commit 7d92c41 into microsoft:master May 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WSL GUI app icons disappeared from Start Menu after WSL 2.7.3 update. GUI apps disappeared from Start menu with latest WSL update

3 participants