Update Microsoft.WSLg to 1.0.77#40568
Merged
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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.WSLgpackage version from 1.0.76 to 1.0.77 inpackages.config.
JohnMcPMS
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_structwith weston's app-list enumeration thread and break the subsequentsetns(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)insideattach_app_list_namespacebefore everysetns, 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:
And on the host:
Fixes microsoft/wslg#1444
Fixes #40538