You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On windows...
Line 1016 in gui-allegro.c if ((chooser = al_create_native_file_dialog(vdfs_get_root(), "Choose a folder to be the VDFS root - ", "*", ALLEGRO_FILECHOOSER_FOLDER))) {
even though the vdfs root is correct and being returned, it isn't being set as the initial path in the allegro created dialog in windows.
Allegro 5 bug?
The text was updated successfully, but these errors were encountered:
This seems to be a feature of Allegro 5. Looking at the code in https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/win_dialog.c when the flag ALLEGRO_FILECHOOSER_FOLDER is passed in, almost all the work is done by a separate function that ignores the initial path specified and ends up calling a completely different Windows function than the one that browses for files.
The next step is probably to check if Allegro have this logged as a bug.
On windows...
Line 1016 in gui-allegro.c
if ((chooser = al_create_native_file_dialog(vdfs_get_root(), "Choose a folder to be the VDFS root - ", "*", ALLEGRO_FILECHOOSER_FOLDER))) {
even though the vdfs root is correct and being returned, it isn't being set as the initial path in the allegro created dialog in windows.
Allegro 5 bug?
The text was updated successfully, but these errors were encountered: