dotnet / dotnet/maui

[MenuBar, Catalyst] Investigate support for loading menu with all available image sources

Open
#4,869 2 comments 0 reactions 0 assignees View on GitHub
area-controls-menubar platform/macos t/desktop t/enhancement ☀️
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

Catalyst currently only supports Font/File based images and they currently don't use our `IImageSourceLoader` services because the retrieval of the images needs to be synchronous and we don't have synchronous APIs for this.

One option would be to pre-load all images referenced by the xplat `MenuBar` before triggering Catalyst to update the application menu.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the xplat MenuBar image references into Catalyst's application-menu update path, then inspect how IImageSourceLoader services currently retrieve images. Compare the synchronous Font/File handling with the proposed preloading approach. Done means documenting or implementing a clear way for Catalyst to load all supported image sources before updating the menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.