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 <[email protected]>
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 <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@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 923c9f7

There are 25 changes which include dialog-js with minor, dialog with minor, log with minor, log-js with minor, localhost with patch, barcode-scanner with patch, barcode-scanner-js with patch, deep-link with patch, deep-link-js with patch, fs with patch, fs-js with patch, http with patch, http-js with patch, nfc with patch, nfc-js with patch, opener with patch, opener-js with patch, store with patch, store-js with patch, updater with minor, updater-js with minor, upload with minor, upload-js with minor, websocket with patch, websocket-js with patch

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.38 2.0.39
api-example-js 2.0.34 2.0.35
deep-link-example-js 2.2.8 2.2.9
barcode-scanner 2.4.2 2.4.3
barcode-scanner-js 2.4.2 2.4.3
deep-link 2.4.5 2.4.6
deep-link-js 2.4.5 2.4.6
fs 2.4.4 2.4.5
fs-js 2.4.4 2.4.5
dialog 2.4.2 2.5.0
dialog-js 2.4.2 2.5.0
opener 2.5.2 2.5.3
opener-js 2.5.2 2.5.3
http 2.5.4 2.5.5
http-js 2.5.4 2.5.5
localhost 2.3.1 2.3.2
log 2.7.1 2.8.0
log-js 2.7.1 2.8.0
nfc 2.3.3 2.3.4
nfc-js 2.3.3 2.3.4
persisted-scope 2.3.4 2.3.5
single-instance 2.3.6 2.3.7
store 2.4.1 2.4.2
store-js 2.4.1 2.4.2
updater 2.9.0 2.10.0
updater-js 2.9.0 2.10.0
upload 2.3.2 2.4.0
upload-js 2.3.2 2.4.0
websocket 2.4.1 2.4.2
websocket-js 2.4.1 2.4.2

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


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

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