Commit Graph

1726 Commits

Author SHA1 Message Date
ben hoffman
4570549036 Replace calls to the old OnControllerX functions in slate with the new version that has a PlatformUser/InputDevice
#jira UE-147796
#preflight 62a9ef17634e82e5d1e90084
#rnx
#rb dave.jones2

[CL 20670964 by ben hoffman in ue5-main branch]
2022-06-15 11:49:18 -04:00
ben hoffman
98924bb0be Change the format of some slate functions to be not FORCEINLINE, and remove extra spacing based on feedback about changing the pattern in the file
#rb Patrick.Boutot
#preflight 62a9ee18f878f9423edb4b40
#rnx
#jira none

[CL 20670948 by ben hoffman in ue5-main branch]
2022-06-15 11:48:04 -04:00
ben hoffman
80850587dd Update SlateApplication and the message handler to take in FInputDeviceId and FPlatformId instead of the old int32 controllerid for controller input
#jira UE-147796
#rb trivial
#preflight 62a8f9dd0c386ccae48c2ae1

[CL 20658936 by ben hoffman in ue5-main branch]
2022-06-14 17:49:49 -04:00
ben woodhouse
4ecdb9f84c Backout 20582422. It's causing editor crashes on startup
#jira UE-156273

#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-SOURCE: CL 20602169 via CL 20602456 via CL 20602818
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20604832 by ben woodhouse in ue5-main branch]
2022-06-10 18:41:00 -04:00
aditya ravichandran
a7d027422d FAsyncTaskNotification: Fix a crash when you tried to update a notification from another thread
#jira UE-155362
#rb Matt.Kuhlenschmidt
#preflight 62a2029cc12a722b4f0129f5

[CL 20578037 by aditya ravichandran in ue5-main branch]
2022-06-09 11:45:07 -04:00
jeannoe morissette
023ca4d371 RHI: Fix crash in Vulkan on Linux (and leak on Windows) with modal slate dialogs.
#rb Mihnea.Balta
#jira UE-148255
#preflight 62a111493f1e313c6ad92259
#lockdown Mihnea.Balta

#ROBOMERGE-AUTHOR: jeannoe.morissette
#ROBOMERGE-SOURCE: CL 20573397 in //UE5/Release-5.0/... via CL 20575507
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20577206 by jeannoe morissette in ue5-main branch]
2022-06-09 11:05:44 -04:00
daren cheng
36a3424262 Fix certain context menus disappear the second time a submenu within them gets dismissed
#jira UE-145984
#rb sebastian.nordgren, Patrick.Boutot
#preflight 629f7d48233ae0a8f8fc13e1
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 20541492 in //UE5/Release-5.0/... via CL 20542881
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20544582 by daren cheng in ue5-main branch]
2022-06-07 16:20:30 -04:00
daren cheng
d3ddbf81ba Fix sidebar drawers preventing drag actions
#jira UE-148737
#rb Lauren.Barnes
#preflight 629a7efd5818a74ce546cc96
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 20520776 in //UE5/Release-5.0/... via CL 20521489
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20523285 by daren cheng in ue5-main branch]
2022-06-06 13:20:21 -04:00
ben hoffman
c1d3cd9906 Add a FPlatformUserId to the Slate User and define a default Platform User for the SlateApplication to use. There is no functionality difference here, it is just updating to use the FPlatformUserId struct wrapper instead of the raw int32 ControllerId concept. This is another piece in the large puzzle that is properly supporting local multiplayer input in UE.
#jira UE-147792
#rb daren.cheng
#rnx
#preflight 629a581e2728924cef5bf209

[CL 20491544 by ben hoffman in ue5-main branch]
2022-06-03 15:42:08 -04:00
ionut matasaru
542395fe42 [Insights] Added LLM_SCOPE(ELLMTag::UI); in FSlateApplication::OnSizeChanged() in effort to reduce untagged allocations. It captures ~10000 untagged allocations (~10 MiB) in a short Editor run session.
#jira UE-153503
#rb Vincent.Gauthier
#preflight 6296313c95336ad2bfbe5d31

[CL 20484018 by ionut matasaru in ue5-main branch]
2022-06-03 03:55:26 -04:00
David Harvey
b5840fed7f removing several PLATFORM_HOLOLENS references, mostly around WindowsHWrapper etc.
#jira UE-149794
#rnx
#preflight 628f7a4df622d972b5db8318
#rb pending

[CL 20391626 by David Harvey in ue5-main branch]
2022-05-27 07:04:22 -04:00
patrick boutot
ae23501700 Slate: Deprecate FSlateFontCache::GetOverflowEllipsisText. The glyph was cached forever. If the glyph contains a material, that material can be invalid/GCed. Reusing that same font later (with the same material but with a different instance) would reuse the same cached glyph with a dangling material pointer.
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20387888 via CL 20387889 via CL 20387896
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20389295 by patrick boutot in ue5-main branch]
2022-05-26 21:24:41 -04:00
Max Chen
0167d4ea0f Sequencer: MVVM2 branch and Layer Bars
Copying //Tasks/UE5/Dev-SequencerMVVM2 to Main (//UE5/Main) @20364093

#preflight 628866dfb94f739b152c1e29
#preflight 628866e4585e8f793ee80943
#rb ludovic.chabant, andrew.rodham
#fyi ludovic.chabant, andrew.rodham, andrew.porter
#jira UE-105322

[CL 20364493 by Max Chen in ue5-main branch]
2022-05-25 10:39:33 -04:00
yiliang siew
98f0fa3806 - Fixed nullptr dereference when the module is being unloaded since the tab's parent is already de-allocated if the engine is exiting.
- Also prevents this sort of bug from occurring in Slate altogether.

#rb Lauren.Barnes
#preflight 6287c2768828ea88c8662b2d

#ROBOMERGE-AUTHOR: yiliang.siew
#ROBOMERGE-SOURCE: CL 20298520 via CL 20298571 via CL 20298583 via CL 20298596
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305684 by yiliang siew in ue5-main branch]
2022-05-20 19:13:25 -04:00
jeff newquist
4295364804 Remove obsolete compiler crash workaround
#jira none
#rb david.harvey
#preflight none
#rnx

[CL 20282966 by jeff newquist in ue5-main branch]
2022-05-19 13:13:04 -04:00
aditya ravichandran
d41bbadebb MultiBox: Disable SelectAllTextWhenFocused for SSearchBox in SMultiBoxWidget
#jira UE-137493
#rb lauren.barnes
#preflight 62865e16d4197c90e14262b0

[CL 20281491 by aditya ravichandran in ue5-main branch]
2022-05-19 11:38:44 -04:00
David Harvey
9cc4146fbc move HoloLens runtime source to platform extension folder.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 6284cd49614041edb76395dc

[CL 20258963 by David Harvey in ue5-main branch]
2022-05-18 06:59:59 -04:00
Dominik Peacock
38da91d741 Tabs should only show close button if the tab reports it is closeable
#jira none
#rb Matt.Kuhlenschmidt
#preflight 627cf5b1332e182a5829133f

[CL 20163240 by Dominik Peacock in ue5-main branch]
2022-05-12 08:07:32 -04:00
aditya ravichandran
8facdaacfa FAsyncTaskNotification: Refactor to remove SSlateAsyncTaskNotificationWidget and use different SNotificationItem notifications depending on the state
#jira UE-134088
#rb Matt.Kuhlenschmidt
#preflight 62791d38ea2a9db9dc57a50e

[CL 20102262 by aditya ravichandran in ue5-main branch]
2022-05-09 10:06:37 -04:00
Patrick Boutot
26189bda15 DrawElements
Slate: Transform DrawElements from Vector2D to Vector2f. Use FDeprecateVector2D to create a deprecation path for function that returns a FVector2D.
#jira UE-137340
#rb sebastian.nordgren
#preflight 627572e0dd374c4235ce3174, 62791043822bdc69f007e4de

[CL 20102076 by Patrick Boutot in ue5-main branch]
2022-05-09 09:54:59 -04:00
vlad golovan
f272659b97 Adding a bool to prevent throttling in the scroll bar. Fixes an issue where list view entries didn't update when scrolling while holding scroll bar.
[REVIEW] [at]marshall.beachy, [at]jay.Nakai
#rb daren.cheng

#ROBOMERGE-AUTHOR: vlad.golovan
#ROBOMERGE-SOURCE: CL 20062084 via CL 20062137 via CL 20062154
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20066234 by vlad golovan in ue5-main branch]
2022-05-05 18:41:33 -04:00
daren cheng
53aef8e7e7 Fix text fields not supporting IME when programmatically focused
#jira UE-146209
#rb Vincent.Gauthier
#preflight 62671b7bdf6676d7e0c852d9
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 19913281 in //UE5/Release-5.0/... via CL 19913935
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19914886 by daren cheng in ue5-main branch]
2022-04-25 22:34:09 -04:00
erin wasik
d3263c98de STableViewBase: fix scroll wheel failing to be consumed bug
- Issue: When ConsumeMouseWheel is set to WhenScrollingPossible, input is not properly consumed when scrolling up. We are checking NewScrollOffset >= DesiredScrollOffset right after we set DesiredScrollOffset to NewScrollOffset so it is always true.
- Solution: Do this check before we set the DesiredScrollOffset.  I believe this logic is just predicting if we are at the end of the list and trying to scroll further we aren't actually going to go anywhere.

[REVIEW] [at]editor-ui-systems, [at]ui-tech-design

#ROBOMERGE-AUTHOR: erin.wasik
#ROBOMERGE-SOURCE: CL 19837342 via CL 19837846 via CL 19843392 via CL 19858637 via CL 19858846
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19869287 by erin wasik in ue5-main branch]
2022-04-22 14:55:23 -04:00
patrick boutot
aab0524385 UMG: Update the Slider widget with accessors.
#preflight 62582e2d946114248db734d5

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19759850 via CL 19760019 via CL 19760159
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19802099 by patrick boutot in ue5-main branch]
2022-04-18 23:30:29 -04:00
WinsonSS
0a4f4c4f8d PR #9068: Fix Bug: Some calculation with shadow offset doesn't take font scale ? (Contributed by WinsonSS)
#rb vincent.gauthier
#preflight 62557d6f3f5641db59f1d7de

[CL 19719812 by WinsonSS in ue5-main branch]
2022-04-12 09:33:32 -04:00