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

Use GtkFileChooserNative #78

Open
MightyCreak opened this issue Dec 7, 2020 · 2 comments
Open

Use GtkFileChooserNative #78

MightyCreak opened this issue Dec 7, 2020 · 2 comments

Comments

@MightyCreak
Copy link
Owner

In order to improve Flatpak compatibility, instead of using --filesystem=home, it would be better to use GtkFileChooserNative.

Issue raised by @barthalion here: flathub/flathub#1961 (comment)

@oscfdezdz
Copy link
Contributor

oscfdezdz commented Apr 9, 2023

GtkFileChooserNative would also enable MacOS users to use the native system dialog. The disadvantage of this dialog is that it does not allow to add widgets to it like the file opening dialog, for example, which allows to select encoding and revision, how could we manage that?

@MightyCreak
Copy link
Owner Author

I could be handled once the file is opened.

Like this:

  1. Open GtkFileChooserNative dialog
  2. Open the selected file(s)
  3. For each file, auto-detect encoding
  4. In each tab, have a contextual menu on the encoding place where you can easily change your encoding by simply selecting another one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants