Skip to content

Feature support AvaloniaUI 12 - #249

Open
selway wants to merge 2 commits into
OutSystems:mainfrom
selway:feature-avaloniaui12
Open

selway wants to merge 2 commits into
OutSystems:mainfrom
selway:feature-avaloniaui12

Conversation

@selway

@selway selway commented Jul 21, 2026 •

Copy link
Copy Markdown

Changed

  • Update System.Text.Json to 8.0.6 to fix the vulnerability warning.
  • Update Microsoft.Windows.Compatibility to 8.0.29 to fix the vulnerability warning.
  • Upgrade CefGlue.Avalonia to AvaloniaUI 12.1.0.
  • Adjust unit test code to suit different time zones.

Unit Test

The existing unit test code is not compatible with my timezone.
Test with UTC
image

Related issue

#246
WebView #403

@selway
selway requested a review from a team as a code owner July 21, 2026 05:34
@selway selway changed the title Feature avaloniaui12 Feature support AvaloniaUI 12 Jul 21, 2026
@selway
selway force-pushed the feature-avaloniaui12 branch from e204172 to 274c044 Compare July 22, 2026 08:32
@selway

selway commented Jul 31, 2026

Copy link
Copy Markdown
Author

Hi team,
I have updated/adapted CefGlue for Avalonia 12 compatibility. The project builds and works as expected in my local Windows and Linux environments.
However, the Azure Pipelines CI failed. Since external contributors do not have permission to view the detailed Azure Pipelines logs, I can only see the high-level annotations from GitHub:

Packages failed to restore
Error: The process '/Users/runner/hostedtoolcache/dotnet/dotnet' failed with exit code 1

It seems like a NuGet package restore failure during the macOS runner step. Could you please share the detailed error logs for the dotnet restore step, or let me know if there are specific NuGet feeds / configurations required for CI?
Once I have more details on what failed during restore, I'll be glad to fix it promptly. Thanks!

@helderjgoncalves

Copy link
Copy Markdown
Contributor

Thank you, @selway !
We will look into this PR in the following weeks.
Before merging, we will need to test compatibility with macOS.

@helderjgoncalves helderjgoncalves self-assigned this Jul 31, 2026
@helderjgoncalves
helderjgoncalves self-requested a review July 31, 2026 13:54
danielmeza added a commit to danielmeza/kicad-ultra that referenced this pull request Sep 22, 2026
Brings the branch up to master 8e4ed2e, KiCadSharp 0.4.0 and SExpressions 0.2.0 included. One
textual conflict, and four places where master's code needed the Avalonia 12 port applied to it.

Views/MainWindow.axaml.cs, the conflict. Master's download handler is kept whole:
- refusing never calls Continue, and a refused id is cancelled on its next update (#97, #106);
- only a download the handler accepted becomes an import, and only at the path it accepted;
- the folder comes from IConfigService, and nothing reads Avalonia state on CEF's thread (#108,
  #111).
This branch had its own answer to the last one, handing the handler the view model; master's
replaces it. On top of master's handler go this branch's browser changes: CefGlue's
AvaloniaCefBrowser used directly, the handlers set in the constructor instead of through
WebViewControl's GlobalWebViewInitialized, WebviewUrl followed through NavigateTo, and
SameBrowserPopupHandler. NavigateTo is also how Find on Ultra Librarian (#100) reaches the browser.
CefGlue.Common is still 120.6099.211, where OnBeforeDownload returns void, so the override is
unchanged.

ReactiveUI.Avalonia 11.4.13 -> 12.0.3. The previous master merge kept 11.4.13, but the
CefGlue.Avalonia built from OutSystems/CefGlue#249 depends on ReactiveUI.Avalonia >= 12.0.3, and
restore failed with NU1605. That was the red CI build on the last push. 12.0.3 is still ReactiveUI
23.2.28, the ReactiveUI master has, so #116's search pipeline builds unchanged here. ReactiveUI 24
is the next commit.

Settings (#96, #103, #115): the text boxes master added use Watermark, which Avalonia 12 makes
obsolete; they use PlaceholderText, like the others. The #if DEBUG `using Avalonia;` that #90 added
in AboutWindow and SettingsWindow goes with the AttachDevTools calls this branch had already
removed. Avalonia 12's developer tools attach once, in App.

Program.cs (#95, #104) is merged as master has it: HarfBuzzPreload, SetLogDirectory and the MCP
logging allowlist are unchanged. Only the UseReactiveUI comment changes, because the CefGlue build no
longer brings in the old Avalonia.ReactiveUI.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DHQsqcKVEiAKvCS98Hn4Yh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants