kit
3d6814e5d2
Fix TabContainer tab offset moving when not needed
2024-09-19 19:26:35 -04:00
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
MewPurPur
f7a7ecc10a
Expose has_undo() and has_redo() of LineEdit
2024-09-19 13:18:04 +03: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
Adam Scott
2f4f39c7b3
Fix trackpad code completion scrolling
2024-09-17 12:37:45 -04: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
Haoyu Qiu
504e0656bb
Add TextEdit option to prevent copying without a selection
2024-09-14 09:39:36 +08: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
kobewi
b36bebc6da
Add SCROLL_MODE_RESERVE to ScrollContainer
2024-09-12 14:02:01 +02: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
Gaktan
238859fe9d
Fix graph node stretch not taking titlebar into account
2024-09-08 17:59:50 +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
...
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
Hendrik Brucker
8ca7f0e334
Prevent crash after removing GraphEdit's connection layer and add additional warnings
2024-08-30 14:04:54 +02:00
rune-scape
154049ce17
StringName Dictionary keys
...
also added 'is_string()' method to Variant
and refactored many String type comparisons to use it instead
2024-08-29 13:39:27 -07:00
bruvzg
b4efd27112
[RTL] Move image/table draw to the DRAW_STEP_TEXT
2024-08-29 00:23:57 +03:00
DictyosteliumDiscoideum
1f751516de
Fix RichTextLabel bottom margin for text clipping
2024-08-28 23:24:43 +03:00
A Thousand Ships
5c21c0d8d3
[Tree] Improve navigation with row select mode
...
Allows navigating with the `ui_left/right` actions when selecting rows,
fixing a navigation inconsistency
2024-08-28 18:32:45 +02:00
Rémi Verschelde
d1c238f43c
Merge pull request #94513 from AThousandShips/no_adv_gui_improve
...
Treat `MenuBar` and `MenuButton` as advanced UI
2024-08-28 15:46:46 +02:00
A Thousand Ships
2d2fb3f2e7
Treat MenuBar
and MenuButton
as advanced UI
2024-08-28 14:26:54 +02:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
A Thousand Ships
cd4221c1e2
[Tree] Fix error when removing child from Tree
...
New `last_child` member was not properly updated
2024-08-28 12:40:26 +02:00
bruvzg
94ad663c0f
[RTL] Expose missing default properties, ensure bbcode is reparserd when these are changed.
2024-08-28 08:43:30 +03:00
Rémi Verschelde
ea26272075
Merge pull request #93800 from EAinsley/fix#92929
...
Fix incorrect size calculation when position is set on resized
2024-08-28 00:11:25 +02:00
Rémi Verschelde
e3695423b2
Merge pull request #93363 from kitbdev/pass-propagate
...
Clarify Mouse Filter Pass in the Inspector
2024-08-28 00:11:06 +02:00
Rémi Verschelde
b4eacfe0ce
Merge pull request #95285 from Calinou/codeedit-completion-color-background-translucent
...
Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews
2024-08-27 22:27:49 +02:00
Rémi Verschelde
9e1c63a051
Merge pull request #94748 from aaronp64/tree_perf
...
Improve `Tree` performance
2024-08-27 22:27:30 +02:00
Rémi Verschelde
62e98edf0f
Merge pull request #83070 from aaronfranke/textedit-fit-width
...
Implement fit content width in TextEdit
2024-08-27 22:27:09 +02:00
Rémi Verschelde
5a61e10e09
Merge pull request #89265 from davthedev/spinbox-buttons-refactor
...
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-27 16:54:39 +02:00
Haoyu Qiu
d16dcbb3ac
Fix collapsing TreeItem not updating horizontal scrollbar
2024-08-27 11:49:27 +08:00
Rémi Verschelde
a041772ecf
Merge pull request #93940 from Mickeon/deprecate_RichTextLabel_is_ready
...
Add RichTextLabel `is_finished()`, deprecate `is_ready()`
2024-08-26 23:28:42 +02:00
Rémi Verschelde
588cf16630
Merge pull request #84840 from kleonc/control-get-transform-simplification
...
Simplify `Control` internal transform calculation
2024-08-26 23:28:08 +02:00
Rémi Verschelde
c9e5008966
Merge pull request #95857 from KoBeWi/novel_variant_of_0
...
Always store ID of PopupMenu items
2024-08-25 20:18:14 +02:00
kit
3da4f457d0
Fix LineEdit word mode when there are no words
2024-08-24 12:28:18 -04:00
kerstop
2fd39eca30
fix deadzone slider not working correctly
2024-08-23 12:29:24 -05:00
David Giardi
e371587147
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-23 18:21:20 +02:00
bruvzg
ea252675aa
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-08-23 09:53:16 +03:00
Rémi Verschelde
091212b4f1
Merge pull request #93602 from aaronp64/inspector_latency
...
Improve Editor Inspector/Theme item lookup performance
2024-08-22 00:10:26 +02:00
kit
307e40e873
Clean up Viewport forced_mouse_focus
2024-08-21 09:37:44 -04:00
kobewi
42e5c5b41c
Allow horizontal scrolling in Tree using Shift
2024-08-21 10:44:45 +02:00
aaronp64
7593e55527
Improve Editor Inspector/Theme item lookup performance
...
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab
- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call
These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
kobewi
5279fec60f
Always store ID of PopupMenu items
2024-08-20 15:33:21 +02:00
Rémi Verschelde
a105553a1d
Merge pull request #92841 from kleonc/menu-bar-proper-canvas-transform-popup-calculation
...
Fix `MenuBar` popup placement assuming it's in viewport default canvas
2024-08-19 16:04:54 +02:00
Rémi Verschelde
db5003519a
Merge pull request #89554 from smnast/backspace-unfold
...
Fix backspace always unfolding previous line
2024-08-19 16:04:34 +02:00
kleonc
5be4eb9fc6
Simplify Control internal transform calculation
2024-08-19 12:14:41 +02:00
kit
93a81dd7aa
Fix TextEdit caret movement at start of wrapped lines
2024-08-16 15:52:03 -04:00
Micky
edb3d99942
Add RichTextLabel is_finished()
, deprecate is_ready()
2024-08-16 20:08:38 +02:00
Rémi Verschelde
f01e052162
Merge pull request #95549 from timothyqiu/split-translation-server
...
Split `TranslationServer` into its own file
2024-08-16 14:36:16 +02:00
Rémi Verschelde
aed6c351c6
Merge pull request #95301 from bruvzg/rtl_sel_fixes
...
Fix `TextServer::shaped_text_*_character_pos` for the first character of wrapped string. Allow starting/ending RTL selection before line start.
2024-08-16 14:33:26 +02:00
Haoyu Qiu
7343dc3a5d
Split TranslationServer into its own file
2024-08-15 15:00:47 +08:00
bruvzg
7f6c14522c
Stop popup release timeout on click.
2024-08-12 19:35:20 +03:00
Hugo Locurcio
fb88658cc8
Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews
...
This makes translucent colors easier to interpret as such
and is consistent with how they're displayed in ColorPicker.
2024-08-09 00:03:11 +02:00
bruvzg
932acce8f2
Fix TextServer::shaped_text_*_character_pos
for the first character of wrapped string. Allow starting/ending RTL selection before line start.
2024-08-09 00:03:00 +03:00
bruvzg
460b538746
[PopupMenu] Increase mouse button release timeout and reset it from post_popup
.
2024-08-07 10:22:12 +03:00
Rémi Verschelde
c81aa6e1fc
Merge pull request #95122 from kleonc/tab_bar_clear_close_button_rect
...
Clear `TabBar` tab close button's rect after it's hidden
2024-08-06 12:31:57 +02:00
Aaron Franke
3b8afcd10c
Implement fit content width in TextEdit
...
Co-authored-by: Kit Bishop <kitbdev@gmail.com>
2024-08-04 15:14:56 -07:00
kleonc
d1740e6cbf
Clear TabBar tab close button's rect after it's hidden
2024-08-04 11:59:37 +02:00