subhra74 / xdm

Powerfull download accelerator and video downloader
https://xtremedownloadmanager.com/
GNU General Public License v2.0
6.62k stars 1.09k forks source link

Replace folder selection dialog with CommonOpenFileDialog with IsFolderPicker mode #1029

Open sjain882 opened 1 year ago

sjain882 commented 1 year ago

Checklist

Description

There can be some improvements to the UX of the file path dialog now that XDM is not limited by Java.

image

Here is the current one.

First of all, it should be possible to paste a folder path here, but it is not text editable. A button to paste the clipboard to the right of the dropdown would also be welcome.

Additionally, if I click "Browse...", I get this horrible outdated dialog, the worst of it's kind on Windows:

image

It is not immediately obvious to the user that they have to click Desktop to show the folders.

There is also no support for pasting a file path here, you have to manually click through each folder, you can't access your quick access pinned from File Explorer, no preview pane, etc etc.

My suggestion is to replace it with an CommonOpenFileDialog with IsFolderPicker mode like most other C# programs, which makes it much easier to use, with a more standard look closer to File Explorer:

image

Info here: https://stackoverflow.com/questions/11624298/how-do-i-use-openfiledialog-to-select-a-folder

I'm aware this is a beta version but just putting this thought in anyway as its such an essential piece of UX. I could not find any related issues on the github.