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

Add url option to os.showOpenDialog and os.showFolderDialog #926

Closed
pkulijing opened this issue Jun 10, 2022 · 2 comments
Closed

Add url option to os.showOpenDialog and os.showFolderDialog #926

pkulijing opened this issue Jun 10, 2022 · 2 comments

Comments

@pkulijing
Copy link

pkulijing commented Jun 10, 2022

Is your feature request related to a problem? Please describe.
Currently os.showOpenDialog and os.showFolderDialog will show the working directory of the application on start. Often it's preferable to use another folder as the starting point to accelerate the selection process, e.g. the folder used the last time, or a default data storage folder configured by the user.

Describe the solution you'd like
This can be solved by adding a "startingPoint" (maybe not the best name) option to the APIs and show that folder on start.

Describe alternatives you've considered
N/A

Additional context
I haven't used the API but I think the issue applies also to os.showSaveDialog

@kodaloid
Copy link
Contributor

I added code in a recent pull request that will enable this #923 , however it will require a further change in neutralino.js which I've also submitted a pr for before you can use it.

@shalithasuranga
Copy link
Member

Hey.. thanks for reporting this issue. Closing this issue since #923 already answered this feature request. We will release this feature soon with the next release 🎉

@shalithasuranga shalithasuranga added this to the Next milestone Jul 17, 2022
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

3 participants