Skip to content

Avalonia: Fix Linux build, title bar layout, and missing SVG icons#4540

Merged
Gabriel Dufresne (GabrielDuf) merged 7 commits intomainfrom
Linux-branch
Mar 31, 2026
Merged

Avalonia: Fix Linux build, title bar layout, and missing SVG icons#4540
Gabriel Dufresne (GabrielDuf) merged 7 commits intomainfrom
Linux-branch

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

Summary

  • Fixes the Linux build and fixed the title bar
  • Fixes margins on the search box, avatar, and MegaQueryBlock watermark vertical alignment
  • Adds missing SVG assets and wires them up across the sidebar, package pages, and settings homepage
  • Extends SvgIcon to render <ellipse> elements so funnel-style icons display correctly

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

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 SvgIcon renderer 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>
@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit c91ae85 into main Mar 31, 2026
1 check passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the Linux-branch branch March 31, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants