Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ente Auth export options don't use portals on Linux #5264

Open
kolon0 opened this issue Mar 9, 2025 · 0 comments
Open

Ente Auth export options don't use portals on Linux #5264

kolon0 opened this issue Mar 9, 2025 · 0 comments

Comments

@kolon0
Copy link

kolon0 commented Mar 9, 2025

Description

Image
While import options use portals on Linux, export options don’t. Instead, they directly export to the Downloads directory. The user can't choose where to save the file.

There is also Ente Auth's official Flatpak. Flatpaks are expected to use portals. If we can use portals for importing, we should be able to do the same for exporting.

While I don’t know Flutter, it looks like the issue comes from there: export_widget.dart#L156C7-L163C8.

We should use FilePicker’s saveFile method instead of PlatformUtil.shareFile. This will allow us to handle exporting properly.

Thank you for this amazing project!

Version

v4.3.2

What product are you using?

Ente Auth

What platform are you using?

Desktop - Linux

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

No branches or pull requests

1 participant