Skip to content

fix: use desktop portal for Linux file dialogs - #6981

Open
onenewcode wants to merge 1 commit into
t8y2:mainfrom
onenewcode:fix/kde-native-file-dialog
Open

fix: use desktop portal for Linux file dialogs#6981
onenewcode wants to merge 1 commit into
t8y2:mainfrom
onenewcode:fix/kde-native-file-dialog

Conversation

@onenewcode

@onenewcode onenewcode commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

变更说明

  • 将 Linux 文件对话框切换到 XDG Desktop Portal,让 KDE Plasma 使用原生 KDE 文件选择器并支持地址栏路径输入。
  • GNOME/GTK 环境继续由对应的 portal 后端提供文件对话框。

变更类型

  • 新功能
  • Bug 修复
  • 性能优化
  • 代码重构
  • 文档更新
  • CI / 构建

涉及前端

  • 本 PR 涉及前端改动,已附截图/录屏(见下方)
image

验证

  • make check 通过
  • make cargo-check-fast 通过
  • cargo check --manifest-path src-tauri/Cargo.toml --locked 通过
  • cargo test --manifest-path src-tauri/Cargo.toml --lib --locked 通过(224 个测试)
  • KDE 环境已确认安装 xdg-desktop-portal-kde、GTK portal 和 zenity

关联 Issue

Close #6677

@github-actions github-actions Bot added area/desktop Desktop application or Tauri shell bug Something isn't working labels Aug 23, 2026
@onenewcode
onenewcode marked this pull request as ready for review August 23, 2026 12:29
@onenewcode
onenewcode force-pushed the fix/kde-native-file-dialog branch from 6f9c258 to 7652dfa Compare August 23, 2026 12:48
@onenewcode
onenewcode force-pushed the fix/kde-native-file-dialog branch from 7652dfa to d9dabf3 Compare August 24, 2026 05:51
@t8y2
t8y2 force-pushed the main branch 2 times, most recently from 11a72d9 to 8e47296 Compare August 25, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/desktop Desktop application or Tauri shell bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 建议 Linux 下的 KDE Plasma 桌面环境支持原生的文件弹窗,以支持地址栏路径输入

1 participant