Skip to content

[Feature request] dialog: Use the full folder selection dialog on windows #14333

@axeldavy

Description

@axeldavy

Hi there, I am using SDL for one of my library, and I have, as well as users, noticed that the folder selection dialog on Windows (Linux seems fine) is not very handy.

The current implementation of SDL_ShowFolderDialog on Window uses SHBrowseForFolderW.

This results in a small folder selection. Here is a screenshot (taken randomly on internet) of what it looks like:

Image

Here is what I (and the users) would prefer:

Image

The documentation of SHBrowseForFolderW (here) says:

For Windows Vista or later, it is recommended that you use IFileDialog with the FOS_PICKFOLDERS option rather than the SHBrowseForFolder function. This uses the Open Files dialog in pick folders mode and is the preferred implementation.

This comment suggests that the full folder selection dialog would be available if switching the implementation to IFileDialog

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions