Commit Graph

147 Commits

Author SHA1 Message Date
sebastian nordgren
e624bfeef0 Added Widget List to Widget Reflector, which lists all currently active widgets, grouped by creation location. This can be useful for pinpointing SWidget leaks.
This requires UE_WITH_SLATE_DEBUG_WIDGETLIST to be defined, since it makes use of the functionality in FWidgetList.

#rb francis.hurteau, patrick.boutot
#preflight 619604814f57fbea790c031f

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18234947 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18234957 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-18 04:29:32 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
patrick boutot
cc0a12c537 WidgetReflector: Add the LayerId
#preflight 616ecd3b6e12ff000128a94f
#rb vincent.gauthier

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 17863714 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v883-17842818)

[CL 17863731 by patrick boutot in ue5-release-engine-test branch]
2021-10-19 14:14:01 -04:00
zahra nikbakht
49a43de8b7 Add Breadcrumb trail for selected node in widget reflector #RB patrick.boutot #jira ue-119462
#ROBOMERGE-SOURCE: CL 17203601 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17203618 by zahra nikbakht in ue5-release-engine-test branch]
2021-08-17 15:05:13 -04:00
mihnea balta
cfe83027c3 Fixing lots of places which created USTRUCTs with operator new and passed them to FMessageEndpoint::Publish or Send, wich crashes when ASAN is used.
The messaging system destroys these objects with FMemory::Free, which has different alignment logic than operator new when ASAN is used, resulting in a crash.

#jira none
#rnx
#rb Jerome.Delattre, Matt.Peters

#ROBOMERGE-SOURCE: CL 17116813 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17116851 by mihnea balta in ue5-release-engine-test branch]
2021-08-10 10:58:07 -04:00
charles bloom
d6606ac64c fix callers of SerializeCompressed that didn't specify size
no longer allowed
fixes Horde issue 50245

#rb none

#ROBOMERGE-SOURCE: CL 17032145 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v846-17029325)

[CL 17035483 by charles bloom in ue5-release-engine-test branch]
2021-08-03 14:42:31 -04:00
zahra nikbakht
1d959b9c7d - Bug Fix for styling of menu in the widget reflector #RB patrick.boutot #jira none
#preflight 60ef54ef925f140001b2edfc

#ROBOMERGE-SOURCE: CL 16856781 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16856783 by zahra nikbakht in ue5-release-engine-test branch]
2021-07-14 18:46:17 -04:00
zahra nikbakht
13f8e46e3c Fixed Widget Event Log and Widget Hit-test Grid styles #RB patrick.boutot #jira none
#preflight 60c38f9c8d00b80001b044ba
#preflight 60d22ce42ab21800015d1ee2

#ROBOMERGE-SOURCE: CL 16748675 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16749172 by zahra nikbakht in ue5-release-engine-test branch]
2021-06-22 17:02:08 -04:00
aurel cordonnier
6f9f57f1b9 Fix for no unity error
[FYI] zahra.nikbakht
#rnx

#ROBOMERGE-SOURCE: CL 16630830 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16630884 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-10 17:30:39 -04:00
zahra nikbakht
d3cf97fab4 - Used ToolBarBuilder to generate toolbar in SWidgetSnapshotVisualizer
#RB patrick.boutot
#jira none

#ROBOMERGE-SOURCE: CL 16624484 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16624494 by zahra nikbakht in ue5-release-engine-test branch]
2021-06-10 12:08:14 -04:00
zahra nikbakht
eaf50aa4f4 - Upgraded Widget Reflector UI to UE5
#RB Patrick.boutot
#jira none
#preflight 60c0dd9b9e139d0001d10589

#ROBOMERGE-SOURCE: CL 16608655 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16608670 by zahra nikbakht in ue5-release-engine-test branch]
2021-06-09 13:47:04 -04:00
Patrick Boutot
98830126c1 Slate: Update Hittestgrid and some FWidgetPath's function to takes a SWidget pointer instead of a SWidget shared ptr to reduce the number shared ptr copy. FWidgetAndPointer uses a TOptional instead of a TSharedPtr.
#jira UE-115497
#rb vincent.gauthier
#preflight 60b66d94107dc600015d58cc

[CL 16532706 by Patrick Boutot in ue5-main branch]
2021-06-02 08:06:36 -04:00
Patrick Boutot
0957499c70 Slate: Preperation work for SlateAttribute in FSlot.
Force a valid SWidget pointer for FChildren and for FNoChildren. Deprecate the TSupportsOneChildMixin because it was miss used at some places and cause FChildren to be used as FSlot. Prepare the TPaddingWidgetSlotMixin and TAlignmentWidgetSlotMixin to support invalidation. Fix slot instance that were not using the mixin (easier when we will support SlateAttribute).
#jira UE-109145
#rb daren.cheng, vincent.gauthier
#prefligh 609e94f6cbf9a4000115d883

[CL 16331830 by Patrick Boutot in ue5-main branch]
2021-05-14 13:28:37 -04:00
Patrick Boutot
e783201497 WidgetReflector: Group the Visible flag with the Volatile flag in the widget tooltip.
#rnx
#rb none
#preflight 609c11037ed62d0001555434

[CL 16308169 by Patrick Boutot in ue5-main branch]
2021-05-12 19:41:51 -04:00
Patrick Boutot
097426f18c Slate: Add update flag for volatile prepass. These widgets always need a prepass in fastpath. Fix issue with collapsed, the desired size was not updated when a parent was also collapsed. Fix the wrong position of elements inside a Retainer when the Retainer moves. Keep an array of all widgets that always need to be updated (tick, timer, paint). That prevents notifying the proxy and the final list once the widget got painted and ensure that all elements are updated.
#preflight 609aa2bc8f637500016ce3f2

[CL 16276861 by Patrick Boutot in ue5-main branch]
2021-05-11 14:15:32 -04:00
Patrick Boutot
4ac34803a4 WidgetReflector: Save and load the attribute count in the snapshot.
#fyi matthias.worch
#review-16145980 matt.kuhlenschmidt

[CL 16145973 by Patrick Boutot in ue5-main branch]
2021-04-28 13:22:40 -04:00
Patrick Boutot
120469e3b5 Slate: Rename "Collapsed" SlateAttribute to "AffectVisibility". It represent more the intention. If the parent is collapsed, the child SlateAttribute was not updated even if they were marked as "update when collapsed". Update the widget reflector to show the name of the SlateAttribute (only if the widget is live). Call GetRelativeLayoutScale after the attribute are updated.
#preflight 60801fe317b40800013076ce

[CL 16072465 by Patrick Boutot in ue5-main branch]
2021-04-21 09:41:28 -04:00
Patrick Boutot
ee9c7f8dcb Slate: Move visibility flag to WidgetProxy. Keep track of the Collapsed and the Visible state to update the Attribute as in SlowPath. Convert RenderTransform and RenderTransformPivot to SlateAttribute. Make the Visibility attribute update first (needs more work in the SlateAttributeInitializer to enforce it). Update Attribute in 2 steps. Update the Collapsed first (that can change the visibility), then update the "not collapsed" attribute.
#fyi mikko.mononen, sebastian.nordgren, lauren.barnes
#review-16007738 vincent.gauthier

[CL 16007736 by Patrick Boutot in ue5-main branch]
2021-04-14 12:59:44 -04:00
Patrick Boutot
8da6e02580 WidgetReflector: Show the number of registered attribute.
#rb daren.cheng
#preflight 606d98b47444f900016efd20

[CL 15940044 by Patrick Boutot in ue5-main branch]
2021-04-07 10:14:50 -04:00
louise rasmussen
af40e9cac5 Level Editor Menu Clean Up, Part 2
#JIRA UETOOL-3039
#rb Lauren.Barnes
#lockdown Simon.Tourangeau
#preflight 606d2c11dc3e5b0001c915aa

#ROBOMERGE-OWNER: louise.rasmussen
#ROBOMERGE-AUTHOR: louise.rasmussen
#ROBOMERGE-SOURCE: CL 15937971 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15938452 by louise rasmussen in ue5-main branch]
2021-04-07 02:56:12 -04:00
jamie dale
107f7b0f0c Audited use of FDetailsViewArgs::ObjectsUseNameArea
CL# 15481362 changed the behavior of ObjectsUseNameArea so that the object name was visible, and upon auditing the current use of ObjectsUseNameArea it was found that all but a few cases likely intended to use HideNameArea instead.

Breaking: This change also renames FDetailsViewArgs::bShowActorLabel to FDetailsViewArgs::bShowObjectLabel to reflect what it actually does.

#rb Brooke.Hubert

#ROBOMERGE-SOURCE: CL 15496125 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15496134 by jamie dale in ue5-main branch]
2021-02-22 19:45:57 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Patrick Boutot
6c97ebf0c9 Slate: Reverted new SHeaderRow::Manual sizing feature to what it used to b and rename the new feature SHeaderRow::FillSized.
#jira UE-106324
#rb lauren.barnes

[CL 15154180 by Patrick Boutot in ue5-main branch]
2021-01-21 10:43:59 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00