Skip to content

Use platform native file browser instead of tkinter.filedialog #10605

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

Open
modalexii opened this issue Aug 7, 2020 · 0 comments
Open

Use platform native file browser instead of tkinter.filedialog #10605

modalexii opened this issue Aug 7, 2020 · 0 comments
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)

Comments

@modalexii
Copy link

Currently file and directory selection is handled via the filedialog class, which is serviceable and portable but offers a degraded experience (IMO) from the OS native file browser. As an example, on Windows I keep my sketches at a location similar to: E:\shared_home\Documents\Git\<git username>\<get repo>\, but also have the examples and other code within some default and/or sensible locations on C:\. Switching back and forth between the two locations in the current dialog requires clicking This PC and navigating down from the drive root. Invoking explorer.exe (or xdg-open in Linux, or the OSX equivalent, etc) would allow me to browse much faster via the side panel's Quick Access links or tree view, or whatever analogous customizations users have set up on other operating systems.

Granted this increases fragility when supporting as many platforms as possible, but it's a solvable problem.

@per1234 per1234 added Component: IDE The Arduino IDE Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) labels Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

2 participants