Skip to content

Update to latest Tmds.DBus.Protocol. - #21472

Merged
jmacato merged 2 commits into
AvaloniaUI:masterfrom
tmds:update-tmds-dbus
Jun 1, 2026
Merged

jmacato merged 2 commits into
AvaloniaUI:masterfrom
tmds:update-tmds-dbus

Conversation

@tmds

@tmds tmds commented May 30, 2026

Copy link
Copy Markdown
Contributor

Change to the latest version of Tmds.DBus.Protocol and use the project source generator.

Fix StatusNotifierItem Status property to use "Active" value.
Fix "watch after request" race for portal requests.

Change to the latest version of Tmds.DBus.Protocol and use the project source generator.

Fix StatusNotifierItem Status property to use "Active" value.
Fix "watch after request" race for portal requests.
@tmds

tmds commented May 30, 2026

Copy link
Copy Markdown
Contributor Author

@kekekeks @maxkatz6 @jmacato ptal.

Some APIs were removed in Protocol that Avalonia depends on. This causes an issue when the user updates the Protocol to use a later version than the one Avalonia currently uses.

This also changes to use the roslyn generator that comes with the Tmds.DBus project which recently got support for implementing handler objects.

The PR also fixes two problems in Avalonia's D-Bus usage. See initial comment.

@cla-avalonia

cla-avalonia commented May 30, 2026 •

Copy link
Copy Markdown
Collaborator
  • All contributors have signed the CLA.

@tmds

tmds commented May 30, 2026

Copy link
Copy Markdown
Contributor Author

@cla-avalonia agree

@avaloniaui-bot

Copy link
Copy Markdown

You can test this PR using the following package version. 12.1.999-cibuild0065907-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@jmacato
jmacato enabled auto-merge June 1, 2026 10:17
@avaloniaui-bot

Copy link
Copy Markdown

You can test this PR using the following package version. 12.1.999-cibuild0065933-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@jmacato
jmacato added this pull request to the merge queue Jun 1, 2026
Merged via the queue into AvaloniaUI:master with commit 5ad8b75 Jun 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants