71 Commits

Author SHA1 Message Date
kobewi
e9a5429723 Fix floating dock rects from invisible docks 2026-04-08 20:07:30 +02:00
Michael Alexsander
8dd7cc9a3a Fix bottom dock always opening a tab on startup 2026-03-25 15:00:28 -03:00
Pāvels Nadtočajevs
df443c166e Fix docking popup with editor scale != 1.0 2026-03-19 16:21:59 +02:00
Rémi Verschelde
005e054245 Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
ryevdokimov
91a85af575 Remove restart requirement for interface/touchscreen/enable_touch_optimizations setting 2026-03-09 13:19:52 -04:00
kit
339bc4f88f SplitContainer drag nested intersections 2026-03-05 10:35:02 -05:00
Rémi Verschelde
eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Thaddeus Crews
da784e3ac2 Merge pull request #114261 from aaronp64/dock_tab_color
Update dock popup tab color for disabled slots
2026-03-02 15:53:57 -06:00
Thaddeus Crews
d1eaa0f88d Merge pull request #116834 from lodetrick/switch-fix
Fix Errors and tab swapping when changing docks
2026-03-02 15:53:52 -06:00
Logan Detrick
b92b4b8471 Fix Errors and tab swapping when changing docks 2026-03-02 00:14:52 -08:00
kobewi
1b543e85cf Reorganize interface/editor setttings 2026-02-27 22:25:59 +01:00
aaronp64
d6a0b3aaac Update dock popup tab color for disabled slots
Updated tab color for disabled slots in dock popup to match the dock area color
2026-02-27 13:20:37 -05:00
Thaddeus Crews
f630133a01 Merge pull request #116826 from Repiteo/style/class-db-explicit-include
Style: Add `class_db.h` includes explicitly
2026-02-26 16:18:45 -06:00
Thaddeus Crews
20f1e1000f Merge pull request #116557 from KoBeWi/siz_issue
Improve DockContextPopup spacing
2026-02-26 16:18:38 -06:00
Thaddeus Crews
e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews
551b4ebc27 Merge pull request #115932 from lodetrick/dock-switch
Open previously active dock when closing active dock
2026-02-25 09:27:51 -06:00
kobewi
7832fafc66 Improve DockContextPopup spacing 2026-02-25 01:35:56 +01:00
kobewi
1e8c4d395f Refactor dock slot selector 2026-02-16 19:57:55 +01:00
kobewi
44f9d7fa2e Change TabContainer's popup button into real Button 2026-02-08 18:13:45 +01:00
Logan Detrick
06b6d669fe Change to previously open dock when closing active dock. 2026-02-05 17:40:13 -08:00
Thaddeus Crews
7dac0bc3be Merge pull request #115839 from SpikeTrapBoomStudios/make-editor-docks-respect-pin-behavior
Fix: Skip setting current dock when tab cannot switch [ Make EditorDocks respect panel lock ]
2026-02-04 11:04:23 -06:00
Thaddeus Crews
555a558dcf Merge pull request #115482 from YeldhamDev/vsc_dock_stuff
Convert the bottom VCS dock to a `EditorDock` and tie it with the Commit dock
2026-02-04 11:04:20 -06:00
Brendan LeVoy
a66742d699 Skip setting current dock when tab cannot switch
When opening a dock into a DockTabContainer that returns can_switch_dock() == false, avoid marking the dock as current. Previously p_set_current was passed through to _move_dock unconditionally; now we cast the slot to DockTabContainer and force set_current to false if switching is disallowed, preventing an unwanted focus/tab switch.

Fixed random whitespace issue to satisfy clang format

Squashes:
Update editor_dock_manager.cpp
Simplify 3rd arg of _mode_dock call
Change type of slot to remove redundancy

Co-Authored-By: lodetrick <146759331+lodetrick@users.noreply.github.com>
2026-02-04 08:44:05 -05:00
Brendan LeVoy
f051d6a0e9 Fix crash in a simpler way
Simply null-checks the return value of get_parent_container()
2026-02-03 15:13:31 -05:00
Michael Alexsander
e50af99ff2 Convert the bottom VCS dock to a EditorDock and tie it with the Commit dock
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2026-02-03 12:13:44 -03:00
kobewi
4274f8b543 Replace DockSlot with DockTabContainer 2026-01-29 16:52:01 +01:00
kobewi
4e34dc0b4d Remove DockConstants 2026-01-27 16:43:25 +01:00
Thaddeus Crews
b8878c8b56 Merge pull request #115066 from KoBeWi/PlikSystemenu
Fix dock names in menu tooltips not translated
2026-01-26 13:14:33 -06:00
Rémi Verschelde
5b2f3f8c2a Merge pull request #115084 from lodetrick/unify-focus
Combine dock focus methods to prevent inconsistencies
2026-01-19 10:46:08 +01:00
Logan Detrick
829f4c0683 Unify dock focus methods to prevent inconsistencies 2026-01-17 17:15:45 -08:00
kobewi
7cbef45dd4 Fix dock names in menu tooltips not translated 2026-01-17 14:39:43 +01:00
Logan Detrick
eeaf88daaf Fix TileMap wide button errors 2026-01-15 16:08:57 -08:00
kobewi
9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
Logan Detrick
0e072e9014 Fix docks grabbing too much focus 2025-12-22 17:41:58 -08:00
kobewi
65ffa4f7a5 Defer updating dock tabs 2025-12-16 11:48:37 +01:00
Rémi Verschelde
318aeded6a Merge pull request #113339 from aaronp64/bottom_dock_popup
Fix bottom panel dock layout popup position
2025-12-16 11:26:37 +01:00
aaronp64
a7e227b7bb Fix bottom panel dock layout popup position
Update EditorDockManager::_dock_container_popup to consistently use tab bar position to determine popup position, rather than combining tab bar and container positions.  This handles cases where the tabs are on the bottom of the container, like for the bottom panel.
2025-12-14 10:19:21 -05:00
kobewi
0ed400a45f Improve style changed signal in EditorDock 2025-12-13 21:06:02 +01:00
Thaddeus Crews
5831c53ed6 Merge pull request #113822 from kitbdev/fix-editor-distraction-free-sc-size
Fix distraction-free mode changing split offsets
2025-12-10 18:10:28 -06:00
kit
1c5ccfe61c Fix distraction-free mode changing split offsets 2025-12-09 17:15:13 -05:00
kobewi
7b02f8f125 Add shortcuts to dock tooltips 2025-12-09 22:27:09 +01:00
Rémi Verschelde
f8ea55122a Merge pull request #113775 from KoBeWi/waiting_for_DockTabContainer
Fix bottom panel pinning
2025-12-09 17:17:48 +01:00
kobewi
c15e04cc43 Fix bottom panel pinning 2025-12-08 23:19:05 +01:00
kobewi
035de4a6ba Fix dock window titles not being translated 2025-12-06 19:12:46 +01:00
kit
8dfcae15fd Use multiple children for dock SplitContainers 2025-12-04 23:05:14 -05:00
Thaddeus Crews
fbc9539764 Merge pull request #113275 from lodetrick/sprite-dock
Use new dock system for SpriteFrames Dock
2025-12-03 16:50:41 -06:00
Thaddeus Crews
8ad45dae15 Merge pull request #113494 from arkology/dock_free()
Fix DistractionFreeMode and BottomPanel
2025-12-03 16:50:39 -06:00
arkology
828242a41d Fix DistractionFreeMode and BottomPanel 2025-12-03 22:19:00 +03:00
kobewi
5a06774885 Make dock tabs switch on button release 2025-12-03 19:32:57 +01:00