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 Labels 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
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00
kobewi
83ee5e8556
Fix wrong translation method in FileDialog
2025-04-03 20:40:09 +02:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
kobewi
4ae87afaf6
Rework AcceptDialog's ok button text
2025-03-11 22:52:50 +01:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01:00
A Thousand Ships
5113022dfe
Clean up some uses of String::substr
...
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
bruvzg
3e4e6e6c0c
Improve native file dialog parent window selection.
2025-03-06 17:15:39 +02:00
bruvzg
1bdf84b31c
Sync native and embedded dialog missing extension handling.
2025-02-14 00:15:04 +02:00
Pāvels Nadtočajevs
ecff011671
[FileDialog] Update filename/buttons state when first item is selected on folder/filter change.
2025-02-11 11:18:23 +02:00
Pāvels Nadtočajevs
adceb32177
Fix FILE_MODE_OPEN_ANY file dialog not selecting folders.
2025-01-27 10:43:11 +02:00