1
0
Fork 0
Commit Graph

305 Commits

Author SHA1 Message Date
Rémi Verschelde eb79fb80de
Merge pull request #113746 from sockeye-d/filedialog-erroneous-popup
Fix native FileDialogs popping up when `use_native_dialog` is modified
2025-12-09 17:17:33 +01:00
fish eb3e169b79 Fix native FileDialogs popping up when use_native_dialog is modified 2025-12-08 03:43:39 -08:00
Pāvels Nadtočajevs def5763eac
Restore `FileDialog::_popup_base` 2025-12-08 09:57:46 +02:00
Rémi Verschelde 9706b4e53a
Merge pull request #113564 from MattiaZir/fix-project-import-error-parent-child
Fix signal order for directory selection in `file_dialog`
2025-12-05 12:55:57 +01:00
Rémi Verschelde 09abc05878
Merge pull request #113581 from bruvzg/meh_fd
[FileDialog] Use base dir instead of ".." when going up.
2025-12-05 09:38:34 +01:00
Pāvels Nadtočajevs ccd84d79a7
[FileDialog] Use base dir instead of ".." when going up. 2025-12-04 21:12:20 +02:00
mattia.zirpoli 98ccfb07c1 Fix signal order for directory selection in `file_dialog` 2025-12-04 17:23:10 +01:00
kobewi 31f6413717 Fix wrong file thumbnails icon 2025-12-04 17:02:24 +01:00
风青山 5ff8f21ff3
Fix the issue of no scan after dir creation and/or deletion
When `EditorFileDialog` creates/deletes a directory during interactive
operation, it needs to notify `EditorFileSystem` to scan and detect
the filesystem change.
2025-12-04 21:39:53 +08:00
kobewi c1cc178a82 Make EditorFileDialog inherit FileDialog 2025-12-02 12:30:51 +01:00
Thaddeus Crews 5afc01c46d
Merge pull request #112604 from bruvzg/pop_center_rec
Update rect after `_pre_popup` in `popup_centered_*`.
2025-11-25 09:52:38 -06:00
Thaddeus Crews 3cc90cd925
Merge pull request #110524 from paul-marechal/filedialog-windows-fix
Fix file_dialog's root_subfolder on Windows
2025-11-13 17:43:03 -06:00
Pāvels Nadtočajevs adf18ff44d
Update rect after `_pre_popup` in `popup_centered_*`. 2025-11-10 11:24:37 +02:00
Thaddeus Crews eff2f822a1
Merge pull request #111439 from bruvzg/fd_filt_add
Add MIME argument to the `FileDialog.add_filter`.
2025-10-21 10:27:07 -05:00
Thaddeus Crews 43438fec2a
Merge pull request #111529 from wagnerfs/fix-windows-native-filedialog-filters
Fix Windows native FileDialog filters not showing descriptions
2025-10-13 12:30:05 -05:00
Wagner f835707f7a Fix Windows native FileDialog filters not showing descriptions 2025-10-12 16:22:45 -03:00
kobewi 263a2bdec6 Rework FileDialog shortcuts 2025-10-11 14:37:40 +02:00
Pāvels Nadtočajevs e4988b4bf3
Add MIME argument to the `FileDialog.add_filter`. 2025-10-09 22:17:56 +03:00
Thaddeus Crews 30a0a41982
Merge pull request #111274 from chocola-mint/include-optimization-logger
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
chocola-mint ead282ff13 Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`. 2025-10-05 17:49:23 +09:00
Paul Marechal 375f88d161 Fix file_dialog's root_subfolder on Windows
`root_prefix` either contains an empty string or the current root
including the drive letter. This means that the previous logic would
never ever match since `dir_access->get_current_dir(false)` explicitly
excludes the drive letter.

This change removes this boolean parameter so we compare paths in a way
that can match.

I've had a look at the implementations for other platforms for
`DirAccess::get_current_dir(bool include_drive)` and outside Windows
none seem to consider the `include_drive` parameter which makes me
believe that this change won't break other platforms.
2025-10-03 14:45:37 -04:00
kobewi 9af58c1133 Unify FileDialog context menus 2025-10-02 23:10:27 +02:00
kobewi fdc79f5286 Remaining FileDialog changes before unification 2025-10-02 19:13:04 +02:00
kobewi f88b51995b Expose FileDialog callbacks for getting custom icons 2025-10-01 12:08:34 +02:00
kobewi 3615b188d7 Expose methods to access FileDialog's favorite/recent lists 2025-09-30 22:46:09 +02:00
Thaddeus Crews be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Thaddeus Crews c852872cb2
Merge pull request #108804 from bruvzg/mac_bundle_icon
[macOS] Use "file" icon for bundles in the file dialogs.
2025-09-22 08:50:02 -05:00
Michael Alexsander aeb3a45c97
Hide `Control` focus when given via mouse input 2025-09-19 13:43:29 -03:00
Thaddeus Crews 9812d405b8
Merge pull request #109354 from KoBeWi/ETRC
Fix some localization issues in controls
2025-08-18 08:29:09 -05:00
Anish Mishra 5bcf9a5a57 Fix drive selection issue on Android 2025-08-11 21:47:00 +05:30
kobewi 4ed86d347c Fix some localization issues in controls 2025-08-06 14:50:03 +02:00
Pāvels Nadtočajevs 37ae7d4420
[macOS] Use "file" icon for bundles in the file dialogs. 2025-07-20 20:44:33 +03:00
Pāvels Nadtočajevs a272376f89
Cleanup accessibility names. 2025-06-23 11:08:36 +03:00
Haoyu Qiu 0a1fa10315 Fix game view window not updating title when translation changes 2025-06-16 09:35:25 +08:00
Rémi Verschelde 22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
kobewi 4b1d5b55c7 Allow customizing FileDialog's features 2025-06-11 20:12:15 +02:00
Thaddeus Crews 51b17759a2
Merge pull request #103719 from YeldhamDev/build_detection_improvements
Make build profile project detection also set build options
2025-06-03 15:30:14 -05:00
Michael Alexsander 454e4f817c
Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
kobewi 706bfd810b Add thumbnail mode to FIleDialog 2025-06-03 02:06:14 +02:00
kobewi f75c564d58 Add favorites and recent directories to FileDialog 2025-05-29 15:50:29 +02:00
kobewi 42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +02:00
Thaddeus Crews 1e50e05235
Merge pull request #105723 from KoBeWi/sortatron
Add file sort to FileDialog
2025-05-16 07:43:13 -05:00
kobewi 33dcd7a6d9 Add file sort to FileDialog 2025-05-15 13:23:38 +02:00
kobewi 076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
Thaddeus Crews a2c9e7920d
Merge pull request #105647 from KoBeWi/optional_options
Improve FileDialog options
2025-05-06 08:38:01 -05:00
kobewi 7fe61c7e84 Change FileDialog's Tree to ItemList 2025-05-03 01:34:35 +02:00
kobewi 92f15d33ee Improve FileDialog options 2025-04-24 17:12:53 +02:00
kobewi e565ee86ce FileDialog code cleanup 2025-04-23 19:28:14 +02:00
Pāvels Nadtočajevs 5b49fd4207
Selectively apply `FOCUS_ACCESSIBILITY` to the `Label`s instead of setting it by default. 2025-04-23 12:47:31 +03:00
A Thousand Ships 889410dcda
Add `String::replace_char(s)` methods for performance and convenience 2025-04-10 13:08:45 +02:00