Skip to content

[Windows] Show drive names in file dialog.#117010

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
bruvzg:voll_name_win
Mar 30, 2026
Merged

[Windows] Show drive names in file dialog.#117010
Repiteo merged 1 commit into
godotengine:masterfrom
bruvzg:voll_name_win

Conversation

@bruvzg

@bruvzg bruvzg commented Mar 3, 2026

Copy link
Copy Markdown
Member

Implements godotengine/godot-proposals#14353 for Windows.

While it is possible to get partition labels on Linux/macOS (https://github.com/bruvzg/godot/tree/vol_name), not sure if it's practically useful, multiple mount points can be on the same partition, and the list is mix of mount points and bookmarks. In most case label is either meaningless or equal to the last part of the mount point path. So at least with current interface it will only clutter the file-dialog.

Screenshot 2026-03-03 114451
Comment thread doc/classes/DirAccess.xml Outdated
@Ivorforce Ivorforce requested a review from a team March 3, 2026 10:40

@KoBeWi KoBeWi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better if the label was only displayed in the popup?

Image

Although maybe the long button is consistent with other system, so idk 🤷‍♂️

Comment thread drivers/windows/dir_access_windows.h Outdated
Comment thread drivers/windows/dir_access_windows.cpp Outdated
Comment thread scene/gui/file_dialog.cpp Outdated
@bruvzg

bruvzg commented Mar 3, 2026

Copy link
Copy Markdown
Member Author

Changed it to MenuButton to show labels only in the popup.

@akien-mga akien-mga modified the milestones: 4.x, 4.7 Mar 27, 2026
@Repiteo Repiteo merged commit 656a268 into godotengine:master Mar 30, 2026
20 checks passed
@Repiteo

Repiteo commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment