fyne-x icon indicating copy to clipboard operation
fyne-x copied to clipboard

WIP - present a method to use native file selector

Open metal3d opened this issue 2 years ago • 5 comments

Even if the Fyne file dialogs are OK, it nice to be able to use the native file selector as it proposes some native actions as "create a directory", use bookmarks, etc.

Zenity and KDialogs are commonly installed in Linux. This work in progress proposes a way to use native dialogs.

NOTE: this could be extended to info dialogs, alerts, and many others.

metal3d avatar Dec 04 '22 08:12 metal3d

I like this. I actually think that it might be right to have it in the main repository. Their has been demand for native file dialog on Windows and MacOS too. No idea what are others opinion on this, and I would be interested to hear it.

Bluebugs avatar Dec 07 '22 00:12 Bluebugs

I came across https://github.com/ncruces/zenity. It might be useful for implementing this more cleanly across multiple platforms.

Jacalz avatar Apr 11 '23 19:04 Jacalz

I came across https://github.com/ncruces/zenity. It might be useful for implementing this more cleanly across multiple platforms.

Are you sure? Does that not rely on an external binary being installed?

andydotxyz avatar Apr 11 '23 20:04 andydotxyz

I came across https://github.com/ncruces/zenity. It might be useful for implementing this more cleanly across multiple platforms.

Are you sure? Does that not rely on an external binary being installed?

It does, but so does this PR at the moment. I don't mean that it is a good candidate for being in the main fyne repository but rather that it might be a better solution than what this PR currently does.

Jacalz avatar Apr 12 '23 18:04 Jacalz