Skip to content

Better platform window handle abstraction for DBusSystemDialog - #21379

Merged
MrJul merged 1 commit into
masterfrom
feature/wd/dbus-system-dialog-window-handle
May 18, 2026
Merged

Better platform window handle abstraction for DBusSystemDialog#21379
MrJul merged 1 commit into
masterfrom
feature/wd/dbus-system-dialog-window-handle

Conversation

@kekekeks

Copy link
Copy Markdown
Member

Needed to reuse DBus dialog for Wayland. Unhardcodes "x11:" prefix, introduces window handle lifetime management (i. e. DBus dialog needs to tell when it's done.

/// underlying platform state has changed (e.g. wayland compositor reconnect) and
/// previously-selected providers may no longer be appropriate.
/// </summary>
public void Reset(Func<Task<IStorageProvider?>>[] factories)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method will be called by Wayland in a subsequent PR I assume.

@MrJul MrJul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MrJul
MrJul enabled auto-merge May 18, 2026 09:21
@MrJul
MrJul added this pull request to the merge queue May 18, 2026
Merged via the queue into master with commit a339c8d May 18, 2026
11 of 12 checks passed
@MrJul
MrJul deleted the feature/wd/dbus-system-dialog-window-handle branch May 18, 2026 11:06
@avaloniaui-bot

Copy link
Copy Markdown

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

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.

3 participants