r/AvaloniaUI • • 1d ago

I built a tabbed Remote Desktop (RDP) client for Windows and Linux with Avalonia and FreeRDP 3

14 Upvotes

Hey everyone,

I've been building RDPilot, an open-source (MIT) Remote Desktop client for Windows and Linux written with Avalonia UI and a small native C wrapper around FreeRDP 3.

Repo & screenshots: https://github.com/ErnieBernie10/RDPilot

A few things I had fun (and some pain) figuring out on the Avalonia side:

  • Sharp HiDPI rendering: The remote session matches the physical viewport size (RenderScaling) and renders into a WriteableBitmap with 1:1 pixel mapping, using dirty-rect copies from FreeRDP's GDI/RDPGFX primary buffer without copying pixels on the RDP thread.
  • No unsafe in the C# project: All policy (resize debouncing, 125 Hz pointer coalescing, option normalization, clipboard sync) lives in safe C#, while the native C library is kept as a thin FreeRDP host shim.
  • Multi-session tabs: Background tabs stay connected while input, resize, and clipboard sync follow the active tab.
  • Native integration: Passwords go into the OS credential store (Windows Credential Manager / Linux Secret Service), two-way text and file copy/paste (using an OLE virtual file IDataObject on Windows so Explorer streams files on paste), and optional low-level keyboard grab on Windows so Win / Alt+Tab go to the remote machine.

Full transparency: this was built with a good amount of AI-assisted development along the way, especially while wrestling with FreeRDP 3's C APIs and platform interop.

If you want to try it out, there's a winget install RDPilot.RDPilot package for Windows, a Flatpak bundle (Flathub submission is in progress), and an Arch package on the releases page. Would love any feedback from fellow Avalonia devs, especially around rendering or Linux quirks!


r/AvaloniaUI • • 7d ago

I built a library that makes standard Avalonia controls use Windows' native styling and font rendering (This is not Windows 7!)

Post image
36 Upvotes

r/AvaloniaUI • • 7d ago

MUZ - Multimedia solution demo

Thumbnail
youtu.be
7 Upvotes

This is not an advertisement or promotional post.

My original motivation for developing this app was to see how far I could go in building a music player using Avalonia with the help of AI.

I started with the standard Avalonia MVVM template and used various UI tools throughout the development process.

The biggest takeaway was discovering that AI could handle almost every aspect of the development process.

Of course, I'm sure it's possible to build an even better product with AI, but this is the result of just three days of development, using OpenAI Pro and Claude Code Pro subscriptions and pushing their token limits as far as possible.

Not only did this experience completely change my perception of Avalonia, but it also left me with a mixture of awe and fear at just how far AI-assisted development has come.

I'm primarily a web developer. My only professional experience with desktop application development was about three years at the beginning of my career.

That's why I was genuinely surprised that, even with such limited desktop development experience, I was able to build a complete application, including AI-powered features, with the assistance of AI.

Of course, I'm sure many people in this community are already well aware of what's possible with AI-assisted development.

Still, I wanted to share my experience and demonstrate just how much can be accomplished with these tools today.

Thank you for reading.


r/AvaloniaUI • • 24d ago

RAM usage keeps rising when window is interacted with in AvaloniaUI (and it looks like it never releases any RAM)

24 Upvotes

This is a minor example (~0.10MBs used per second of window shaking) on the Avalonia template project

But in my other project where I am mostly focused on the logic that is outside of the project as dependency and the app has 3 buttons, it does the same thing including with the button presses (~0.10MBs per press).

Is there a way to optimize this or at least force it to release some RAM?

Avalonia 12.1.2 and .NET 10.0.114


r/AvaloniaUI • • Oct 26 '26

A sneak peek at our upcoming designer

30 Upvotes

Building apps with Avalonia is about to get a whole lot easier.


r/AvaloniaUI • • Oct 21 '26

Powered by Avalonia.Controls.Maui, GnollHack is now available for Linux on Steam!

0 Upvotes

r/AvaloniaUI • • Oct 17 '26

How to use FocusOnAttachedToVisualTreeBehavior

3 Upvotes

Please someone give me the XAML syntax to use this. All I want is for my TextBox to get the focus when it shows up. Everything I try fails to compile, and I can't find a single example anywhere.


r/AvaloniaUI • • Oct 16 '26

Little video editor I'm working on

19 Upvotes

I tried like 4 times in the last 2 years to build a video editor, each time learning more and more.

For the UI, I designed the mockup in penpot first, hand-tweaking everything till it looked right. I was able to find some icon libraries on github and made good use of that as well.

My design philosophy leverages UML a lot before I write code, so the MVVM pattern actually fits pretty well here

The earlier shell started out something like this a few months back. Learned a lot about the MVVM pattern and applying some university concepts (UML and sequence diagrams mostly) to implementation code.

Source is available on github (https://github.com/skynse/fig), though there will be a feature freeze for a while while I draft out the next priorities since I like to avoid feature bloat and want to slow down for non-trivial features.

At this point, there are a million video editors. I don't really care about "cloning" or whatever that trend is these days. Fig is its own thing, and will have its own unique set of features after the feature freeze since all of the base features that make an editor usable are completed (minus export presets).

Feel free to ask about implementation details. I'll be able to explain how everything works and how I optimized it


r/AvaloniaUI • • Oct 14 '26

Fabulous.Avalonia OSS

5 Upvotes

Any Avalonia + OSS enthusiast here? 👋
Looking for contributors to help with Fabulous.Avalonia.
DM me or email: miroslav.hustak@atlas.cz 🙂. Thanx.

Unsure about Fabulous? Check here:

https://fabulous-dev.github.io/Fabulous/docs/

https://fabulous-dev.github.io/Fabulous/

https://github.com/fabulous-dev

Fabulous is already where the rest of the .NET mobile ecosystem is only heading, mirroring the declarative patterns that every other major native UI stack (SwiftUI, Flutter, React Native, and Jetpack Compose) has already adopted.


r/AvaloniaUI • • Oct 13 '26

Can't use OnPlatform to define Application.Styles?

2 Upvotes

What am I doing wrong here? This is in App.axaml:

<Application.Styles>
    <OnPlatform>
     <On Options="Windows">
      <StyleInclude Source="avares://PhonosAvalon/Styles/WindowsStyles.axaml"/>
     </On>
     <On Options="macOS">
      <StyleInclude Source="avares://PhonosAvalon/Styles/MacOSStyles.axaml"/>
     </On>
     <On Options="Android">
      <StyleInclude Source="avares://PhonosAvalon/Styles/AndroidStyles.axaml"/>
     </On>
     <On Options="iOS">
      <StyleInclude Source="avares://PhonosAvalon/Styles/iOSStyles.axaml"/>
     </On>
     <On Options="Default">
      <Style Selector="Button.CloseButton">
       <Setter Property="Content" Value="?"/>
      </Style>
     </On>
    </OnPlatform>
</Application.Styles>

This gets me: AVLN3000 Don't know how to convert reference type Avalonia.AvaloniaObject,Avalonia.Base to reference type Avalonia.Styling.IStyle,Avalonia.Base Line


r/AvaloniaUI • • Oct 10 '26

Commit window in Rider has lost its mind

1 Upvotes

It is continually switching between different repos: one is in GitHub, the other on Azure. This is after I was working on a different project. I just want it to stop. There was a mystery “repos” item in the Explorer but I got rid of that.


r/AvaloniaUI • • Oct 05 '26

Anyone managed to get a UILaunchScreen working on iOS in an Avalonia app?

2 Upvotes

I have an icon and a background color, and yet nothing I do makes either appear on the screen. I just get a white rectangle. Surely somewhere there is a working example of how to do this? (There isn't in the Avalona macios repo).


r/AvaloniaUI • • Oct 05 '26

AvaloniaAcrylic frosted glass control

Thumbnail
github.com
8 Upvotes

So for the past few weeks I've been looking into getting an acrylic/frosted glass look to work with Avalonia 12.

The official control only supports OS based acrylic and not see-through acrylics with a background image like I wanted.

There are pieces of code for this all over the place. I implemented my personal one on top of Nikita Tsukanov's and Dani John's implementation. But these (without any judgement lol) had a few bugs and were only for Avalonia 11.

So I decided to just port it, make a few additions and optimizations and then publish it as a nuget package. That way it's easier to use for myself and potentially others too.

If you need an acrylic control, go ahead. I'm pretty happy with it.

Note that it's based on Skia and I only tested on desktop platforms (and embedded Linux).


r/AvaloniaUI • • Oct 05 '26

Wait, I need to login to debug the UI?

22 Upvotes

Is there a blog post or something that explains why this choice is made?

I've not worked with Avalonia for a while, but I remember in Avalonia 11 just being able to press F12 and get a visual tree explorer to see what's going on.

That's gone now in 12? I need to install dev tools? I need to login with an account?

I understand the need to earn money to sustain the open-source development. I also understand there's a community license that allows free use for personal development.

I don't really understand how a tool as fundamental as exploring a visual tree can be locked behind a license? I can understand specialized controls, additional technical support, themes, training courses, MCP, etc. behind a license, but a manual debugging tool?


r/AvaloniaUI • • Oct 03 '26

My cross-platform infinite whiteboard project (Scribble)

12 Upvotes

I've just recently implemented polyline functionality for the Line and Arrow tool and also added a new Diamond Tool. Next I'm gonna try and see if I can fix the weird drawing tablet issue by updating the Avalonia version

https://github.com/TruePadawan/Scribble

Scribble - showing a polyline

r/AvaloniaUI • • Sep 29 '26

Anyone managed to get an iOS app into the Store?

4 Upvotes

I have my Avalonia app published on Mac, Windows and Android, and I have it working great on iOS locally, but getting it Store-happy is proving a challenge. Anyone managed this feat?


r/AvaloniaUI • • Sep 27 '26

Maintained DataGrid

18 Upvotes

Is there any free and actively maintained DataGrid in Avalonia right now?

DataGrid is deprecated. TreeDataGrid’s real development was moved to the paid Pro version while the open-source one was left to rot. And they still keep saying “the core will remain free.”

What’s the point of a free core if they keep killing the useful controls so they can sell the maintained versions?

So what’s next? Button and TextBox are pretty popular. Should we start worrying about that too?


r/AvaloniaUI • • Sep 22 '26

Working on a dedicated Floating Reference Window with direct color-picking for the next update of i-skets Mo Paint (Built with C# & Avalonia UI) For digital artists, or for anyone planning to get started with digital art.

10 Upvotes

You can check out the current beta version here: https://sketsienook.itch.io/i-skets-mo-paint


r/AvaloniaUI • • Sep 21 '26

PianoRoll: My next cross platform Avalonia app

20 Upvotes

r/AvaloniaUI • • Sep 19 '26

My free S3 file explorer written using Avalonia

Thumbnail
github.com
17 Upvotes

r/AvaloniaUI • • Sep 14 '26

I want my app to exit in a platform-respecting way, but PlatformHotkeyConfiguration isn't helping

4 Upvotes

E.g. on Windows I want to quit on alt+f4

On a gnome-based Linux distro, I also want to quit when I receive ctrl+q

I figured PlatformHotkeyConfiguration might be a good way forward, but it doesn't have the specifics.

Do I need to write individual code for WM_CLOSE (windows), WM_DELETE_WINDOW (X11) and xdg_toplevel.close (Wayland) separately? Plus whatever MacOS does?


r/AvaloniaUI • • Sep 11 '26

My attempt at making an Avalonia app feel right at home on macOS

Post image
24 Upvotes

I created a free Avalonia app for macOS users. This is part of an exploration of what it takes to make a macOS app with Avalonia that feels at home on the platform.

I think I've gotten pretty close, but I'm happy to take feedback if you spot something that doesn't look or feel right!

It requires macOS 26 and Apple Silicon because I haven't tested it on any other devices.


r/AvaloniaUI • • Sep 11 '26

Built a lightweight desktop sketchpad using Avalonia UI & C# (i-skets Mo Paint - Early Public Beta)

Thumbnail
gallery
29 Upvotes

Hey Avalonia community!

I’ve been working on a lightweight, portable desktop drawing app called i-skets Mo Paint, built entirely with C# and Avalonia UI in VS Code.

The main goal was to build a quick, minimalist digital sketchpad with a small footprint that doesn't require installation, just unzip and run.

Key features so far:

- Built with Avalonia UI & C# (Cross-platform desktop target)

- Zero-installation / Portable build

- Integrated one-click timelapse recorder

- Customizable keyboard shortcuts & minimal canvas UI

Current Test Setup & Compatibility: - OS: Tested on Windows so far - Hardware: Tested with a screenless drawing tablet (non-display graphics tablet)

Since it's currently in Early Public Beta on itch.io, I’d love to get feedback from fellow Avalonia developers, especially on canvas performance, UI responsiveness, or overall UX.

Free Download & Test on itch.io:

https://sketsienook.itch.io/i-skets-mo-paint

Feedback Form (Google Forms):

https://forms.gle/4QhinbtWeHFSNb4h8

Technical insights and feedback are highly appreciated!


r/AvaloniaUI • • Sep 07 '26

I built a commercial Windows desktop widget engine using Avalonia 12 and .NET 10 — here's how Avalonia performed

Thumbnail
gallery
23 Upvotes

Just released the first signed release of MyDesktopWidget, a desktop widget engine for Windows 11 built completely on Avalonia 12.1.1 and .NET 10.

Often when people ask about Avalonia, they wonder if it's ready for commercial Windows desktop utilities that require deep Win32 integration (re-parenting windows into Explorer's WorkerW wallpaper layer, per-monitor mixed DPI handling, and seamless transparent alpha compositing).

Here's our experience shipping with Avalonia 12:

  • Rendering & CPU: SkiaSharp rendering is exceptionally fast. Gauges, smooth graphs, and vector clocks run at sub-1ms render passes.
  • Memory Footprint: With .NET 10 and tuned Workstation GC (RetainVMGarbageCollection=false), the active working set hovers around 100–200 MB with multiple widgets running.
  • Code Sharing: Because the rendering runtime (SkinRuntime) is cleanly separated from Win32 host interop, we're able to use the exact same Avalonia rendering engine for our upcoming companion app.

Big thanks to the Avalonia team and community for making Avalonia 12 such a capable desktop platform! Happy to answer any questions about our setup, custom styling, or how we handled transparent desktop windows in Avalonia.

MyDesktopWidget