Avalonia: Fix Linux build, title bar layout, and missing SVG icons#4540
Merged
Gabriel Dufresne (GabrielDuf) merged 7 commits intomainfrom Mar 31, 2026
Merged
Avalonia: Fix Linux build, title bar layout, and missing SVG icons#4540Gabriel Dufresne (GabrielDuf) merged 7 commits intomainfrom
Gabriel Dufresne (GabrielDuf) merged 7 commits intomainfrom
Conversation
Copilot started reviewing on behalf of
Gabriel Dufresne (GabrielDuf)
March 31, 2026 19:44
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves the Avalonia UI experience across platforms by adding/wiring missing SVG icons, refining several layout details (title bar + search box/avatars), and fixing Linux build integration by updating the Avalonia solution configuration.
Changes:
- Added new SVG assets (e.g., Sources/Filter/InstalledPackages/PackagesBundle/DiscoverPackage) and updated Avalonia pages/sidebar to use them.
- Updated the Avalonia main window title bar behavior (platform-specific adjustments + Linux custom window buttons).
- Extended the lightweight
SvgIconrenderer to support<ellipse>elements.
Reviewed changes
Copilot reviewed 11 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/UniGetUI/Assets/Symbols/Sources.svg | Adds new “Sources” icon asset. |
| src/UniGetUI/Assets/Symbols/PackagesBundle.svg | Adds new “Package Bundles” icon asset. |
| src/UniGetUI/Assets/Symbols/InstalledPackages.svg | Adds new “Installed Packages” icon asset. |
| src/UniGetUI/Assets/Symbols/Filter.svg | Adds new “Filter” icon asset (uses <ellipse>). |
| src/UniGetUI/Assets/Symbols/DiscoverPackage.svg | Adds new “Discover Packages” icon asset. |
| src/UniGetUI.Avalonia/Views/SoftwarePages/PackageBundlesPage.cs | Switches page icon name to the new bundle SVG. |
| src/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs | Switches page icon name to the new installed SVG. |
| src/UniGetUI.Avalonia/Views/SoftwarePages/DiscoverSoftwarePage.cs | Switches page icon name to the new discover SVG. |
| src/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml | Updates filter/sources icons and adjusts MegaQueryBlock vertical alignment. |
| src/UniGetUI.Avalonia/Views/SidebarView.axaml | Updates sidebar icon paths; changes “More” button visual. |
| src/UniGetUI.Avalonia/Views/Pages/SettingsPages/SettingsHomepage.axaml | Changes managers button icon to ClipboardList. |
| src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs | Adds platform-specific title bar setup + Linux window button handlers. |
| src/UniGetUI.Avalonia/Views/MainWindow.axaml | Refactors title bar layout and adds Linux window buttons UI. |
| src/UniGetUI.Avalonia/Views/Controls/SvgIcon.cs | Adds support for parsing/rendering SVG <ellipse> elements. |
| src/UniGetUI.Avalonia/Views/Controls/Settings/SettingsPageButton.cs | Maps ClipboardList icon type to clipboard_list.svg. |
| src/UniGetUI.Avalonia.slnx | Adds the Homebrew manager project to the Avalonia solution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Marc-André Moreau (mamoreau-devolutions)
approved these changes
Mar 31, 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.
Summary
<ellipse>elements so funnel-style icons display correctly