Skip to content

Conversation

@rmakestrash-jpg
Copy link

Summary

Changes the default Linux backend for the dialog plugin from gtk3 to xdg-portal.

Motivation

  1. GTK3 is unmaintained: Archived March 2024, multiple RUSTSEC advisories
  2. Better Wayland support: Native dialog integration without GTK init issues
  3. Flatpak compatibility: XDG Portal is standard for sandboxed apps
  4. Aligns with rfd defaults: We were explicitly overriding upstream

Breaking Change Consideration

Users can opt back to gtk3:

tauri-plugin-dialog = { version = "X", default-features = false, features = ["gtk3"] }

Related


🤖 Generated with Claude Code

rmakestrash-jpg and others added 5 commits December 16, 2025 20:58
GTK3's rfd backend is incompatible with GTK4 applications (symbol
conflicts cause "GTK was not actually initialized" panic). XDG Portal
uses D-Bus and works with any GTK version.

Users who need GTK3 can enable the "gtk3" feature explicitly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This fork will be manually managed since we're contributing changes
rather than just tracking upstream.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rmakestrash-jpg rmakestrash-jpg requested a review from a team as a code owner December 21, 2025 22:50
@FabianLars FabianLars added this to the 3.0 milestone Dec 23, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 23, 2025

Package Changes Through 5b23b7d

There are 4 changes which include updater with minor, updater-js with minor, dialog with minor, dialog-js with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.39 2.0.40
api-example-js 2.0.35 2.0.36
dialog 2.5.0 2.6.0
dialog-js 2.5.0 2.6.0
updater 2.9.0 2.10.0
updater-js 2.9.0 2.10.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

rmakestrash-jpg and others added 5 commits December 26, 2025 11:15
ashpd 0.11 (from rfd 0.16) is incompatible with zbus 5.x which is now
required by tauri-plugin-opener. rfd 0.17 uses ashpd 0.12 which supports
zbus 5.x.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants