Osdialog


(Christoph) #1

Will osdialog still be the preferred cross-platform dialog library going forward?

Here is something I would like to see improved:

On Windows, calling osdialog_file with OSDIALOG_OPEN_DIR does not use the path parameter and always goes to the same root directory as the current directory. In the RadioMusic module, the user selects a directory with samples and it is annoying when changing the directory to have to reselect the entire tree. This solution works and can set the current directory of the dialog to the path parameter.

I will of course provide a PR to implement this if you want to.


(Andrew Belt) #2

Yes, it will probably still be used in 10 years. What you’re describing is a bug. If you send a PR, I’ll review it before Rack 1.0 is released.


(Christoph) #3

Submitted PR.