-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Copy link
Milestone
Description
Summary
Implement support for xdg-desktop-portal to improve Jan's integration with Linux desktop environments and enable better sandboxing support.
Background
xdg-desktop-portal is a standardized D-Bus API that provides desktop integration features in a secure, sandboxed manner. It's the modern standard for Linux applications, especially those distributed via Flatpak, Snap, or running in sandboxed environments.
Benefits
- Native File Dialogs: Use the desktop environment's native file picker instead of generic dialogs
- Better Sandboxing: Enable proper sandboxing support for enhanced security
- Desktop Integration: Improved integration with GNOME, KDE, and other desktop environments
- Future-Proof: Align with modern Linux desktop standards
- Flatpak/Snap Support: Better compatibility with containerized distribution formats
Proposed Implementation
- Integrate xdg-desktop-portal for file picker operations
- Use portal APIs for system integration (notifications, etc.)
- Test with various desktop environments (GNOME, KDE, Xfce)
- Ensure fallback behavior for systems without portal support
- Update documentation for Linux users
Implementation Considerations
- Tauri may already have some portal support - need to verify current capabilities
- Should maintain backwards compatibility with non-portal systems
- Consider runtime detection of portal availability
Test Plan
- Test on GNOME with portal support
- Test on KDE with portal support
- Test on systems without portal (fallback behavior)
- Test in Flatpak environment
- Verify file picker dialogs use native DE styling
References
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done