Commit Graph

5630 Commits

Author SHA1 Message Date
Haoyu Qiu
14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
Rémi Verschelde
a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde
2f91184d8a
Merge pull request #97132 from WhalesState/tab-container-minimum-size
Fix `TabContainer` minimum size
2024-09-18 11:15:53 +02:00
Rémi Verschelde
1d3e9b3688
Merge pull request #96829 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-four
Fix project manager stealing focus on i3
2024-09-18 11:15:30 +02:00
Mounir Tohami
2ff61e0252 Fix TabContainer minimum size 2024-09-18 01:41:54 +00:00
Rémi Verschelde
cb86afdef9
Merge pull request #72680 from Koyper/split_container_improvements
Improvements to SplitContainer including a drag bar background StyleBox
2024-09-17 21:01:45 +02:00
Giganzo
a863c385f7 Fix FileDialog default size 2024-09-17 14:35:18 +02:00
David Snopek
b1871cdabf Fix project manager stealing focus on i3 2024-09-16 16:55:57 -05:00
Rémi Verschelde
e516b059e0
Merge pull request #96996 from WhalesState/vslider
Fix `VSlider` grabber area.
2024-09-16 13:35:42 +02:00
Rémi Verschelde
ac80ba71e2
Merge pull request #93500 from anniryynanen/multi-press
Improve button behavior when multiple mouse buttons are used at the same time
2024-09-16 13:34:15 +02:00
Anni Ryynänen
2033510a65
Improve button behavior when multiple mouse buttons are used at the same time
- To emit `pressed`, buttons require that the press was initiated while hovering.
- Controls can't grab focus from a mouse click if they're not hovered.
- Hovers are updated both before and after a handled mouse button event.
2024-09-15 19:06:10 +03:00
Koyper
f7005deb1e Improvements to SplitContainer including a drag bar background StyleBox. 2024-09-14 19:35:51 -05:00
Mounir Tohami
701188fd1e Fix VSlider grabber area. 2024-09-14 12:40:41 +00:00
Rémi Verschelde
84f1fe781c
Merge pull request #96910 from zaevi/improve_GraphEdit_dot_grid
GraphEdit: Improve dotted pattern grid performance
2024-09-13 11:22:05 +02:00
Rémi Verschelde
b60e16ff62
Merge pull request #96592 from bruvzg/alt_u
Add Control+Shift+U (rebindable) action for Unicode input, show hex as it is entered.
2024-09-13 11:21:51 +02:00
Zae
84102af090 GraphEdit: Improve dotted pattern grid performance 2024-09-12 23:58:42 +08:00
bruvzg
b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered. 2024-09-12 11:47:24 +03:00
Rémi Verschelde
cc52112144
Merge pull request #96643 from bruvzg/fs_links
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +02:00
bruvzg
0a3a483ca7 Fix native file dialog showing on loading project in editor. 2024-09-12 10:49:50 +03:00
Rémi Verschelde
ae50e9ef7b
Merge pull request #96878 from bruvzg/rtl_font_reload
[RTL] Fix font not updated for some spans.
2024-09-12 09:25:57 +02:00
Rémi Verschelde
33dd105119
Merge pull request #96305 from Jordyfel/scroll-container-min-size
Fix scroll container min size calculation
2024-09-12 09:17:47 +02:00
bruvzg
e517eaf053
[RTL] Fix font not updated for some spans. 2024-09-11 23:02:00 +03:00
Rémi Verschelde
3cad849b1f
Merge pull request #96586 from rune-scape/fix-empty-stringname-hash
StringName: Fix empty hash
2024-09-11 12:34:56 +02:00
Jordyfel
6d516a2609 Fix scroll container min size calculation 2024-09-10 17:25:34 +03:00
Mounir Tohami
c36f466a4c Prevent LineEdit from losing focus when text is submitted or rejected. 2024-09-10 13:43:31 +00:00
rune-scape
0dde931bc9 StringName: Fix empty hash
+Fixed compat hashes
2024-09-09 13:30:02 -07:00
Rémi Verschelde
20115dc36f
Merge pull request #96706 from bruvzg/rtl_process
[RTL] Fix internal process incorrectly disabled on appending text.
2024-09-08 23:22:19 +02:00
Rémi Verschelde
325c1cffc4
Merge pull request #96232 from AThousandShips/tree_navigate_row
[Tree] Improve navigation with row select mode
2024-09-08 23:21:44 +02:00
Rémi Verschelde
5216edeb14
Merge pull request #95500 from tetrapod00/zero-separation-focus-neighbor
Fix wrong focus neighbor for grid-aligned 0 separation controls
2024-09-08 23:21:18 +02:00
Rémi Verschelde
49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
bruvzg
ccf837b75e
[RTL] Fix internal process incorrectly disabled on appending text. 2024-09-08 18:07:55 +03:00
tetrapod00
c5ef2e2112 Add tie-breaking to find focus neighbor in Control 2024-09-06 18:07:48 -07:00
Rémi Verschelde
6815c47869
Merge pull request #96507 from bruvzg/menu_index
[MenuBar] Make menu start index more consistent.
2024-09-06 22:38:33 +02:00
bruvzg
da4f5fb953
[FileSystem Dock] Add symlink indicator and tooltip. 2024-09-06 14:55:07 +03:00
bruvzg
b59fd28dec
[RTL] Improve BBCode parsing. 2024-09-06 13:50:47 +03:00
bruvzg
3da43ebec4
[MenuBar] Make menu start index more consistent. 2024-09-06 13:21:01 +03:00
Rémi Verschelde
5abb206040
Merge pull request #96247 from bruvzg/rtl_draw_order
[RTL] Move image/table draw to the `DRAW_STEP_TEXT`
2024-09-06 11:11:05 +02:00
Rémi Verschelde
1476578a5c
Merge pull request #96276 from KoBeWi/deprecated_on_arrival
Deprecate `set_min_buttons_width_from_icons`
2024-09-06 10:09:24 +02:00
Rémi Verschelde
c82c441ddd
Merge pull request #92865 from rune-scape/rune-optimal-code-edit
CodeEdit: Improve render time by 2x
2024-09-06 10:09:12 +02:00
A Thousand Ships
9dc231366d
Fix super call in various get_configuration_warnings methods 2024-09-05 16:08:35 +02:00
kobewi
bde64c4633 Deprecate set_min_buttons_width_from_icons 2024-09-05 15:43:54 +02:00
rune-scape
60fa3ec4d4 CodeEdit: improve render speed 2024-09-04 20:51:09 -07:00
Rémi Verschelde
f69de1c522
Merge pull request #96038 from kitbdev/fix-line-edit-caret-word-mode
Fix LineEdit word mode when there are no more words
2024-09-04 17:12:06 +02:00
Rémi Verschelde
3cc99d3e31
Merge pull request #95983 from bruvzg/win_fd_opt_fix
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-09-04 17:11:57 +02:00
Rémi Verschelde
e2dd56bea7
Merge pull request #95902 from kitbdev/remove-forced-mouse-focus
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Clean up Viewport's `forced_mouse_focus`
2024-09-03 17:38:17 +02:00
Rémi Verschelde
13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
Rémi Verschelde
c038995707
Merge pull request #96460 from bruvzg/rtl_para_breaks
[RTL] Do not add final newline to the paragraph context.
2024-09-03 11:44:02 +02:00
Rémi Verschelde
168676a7c5
Merge pull request #96000 from kerstop/deadzone_slider_fix
Fix deadzone slider not working correctly
2024-09-03 11:43:20 +02:00
Rémi Verschelde
68a04bbf9a
Merge pull request #96142 from timothyqiu/one-signal-to-invalidate-them-all
Fix collapsing `TreeItem` not updating horizontal scrollbar
2024-09-02 18:08:07 +02:00
bruvzg
02113dff83
[RTL] Do not add final newline to the paragraph context. 2024-09-02 11:11:37 +03:00