Commit Graph

32 Commits

Author SHA1 Message Date
robb surridge
0167794993 Prevent tooltips from jumping between the mouse location and the widget anchor point when the interactive key combo is pressed
#jira UE-125201
#rb vincent.gauthier

#ROBOMERGE-AUTHOR: robb.surridge
#ROBOMERGE-SOURCE: CL 18421834 in //UE5/Release-5.0/... via CL 18422999
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18423305 by robb surridge in ue5-release-engine-test branch]
2021-12-09 15:02:22 -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
mansisaksson
91c6e87f91 PR #8434: Fix mouse not being properly locked to game window (Contributed by mansisaksson)
#jira UE-127881
#rb daren.cheng

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 17697555 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17697572 by mansisaksson in ue5-release-engine-test branch]
2021-10-01 17:44:45 -04:00
phillip kavan
9e61fafd06 Add an SToolTip delegate to allow users to optionally adjust the desired window location for interactive tooltips.
#jira UE-119546
#rb Vincent.Gauthier
#preflight 614b8a23a3310f0001195289

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 17614658 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17614672 by phillip kavan in ue5-release-engine-test branch]
2021-09-23 17:52:41 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
daren cheng
29fe6f465b Fix mouse offset at non-standard resolutions.
#jira UE-117869
#rb Vincent.Gauthier
#preflight 6102e20803d30300016de6d7

#ROBOMERGE-SOURCE: CL 16999127 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16999132 by daren cheng in ue5-release-engine-test branch]
2021-07-29 14:34:55 -04:00
david harvey
4b47843f80 fix some WindowsHWrapper includes for RECT definitions on Microsoft platforms.
#jira UE-118341
#rnx
#rb eric.mcdaniel

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

[CL 16835281 by david harvey in ue5-release-engine-test branch]
2021-07-13 04:43:15 -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
f429888aa9 Slate: Fix simple implicit type conversion warnings in Slate
#jira UE-88354
#rb vincent.gauthier
#preflight 60630f23b4299e0001c05524

[CL 15860052 by Patrick Boutot in ue5-main branch]
2021-03-30 08:39:30 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
nick darnell
319b1819f9 Slate - Adding additional SlateDebugger information for when the cursor changes, and who changes it.
#ROBOMERGE-SOURCE: CL 12189769 via CL 12190844 via CL 12196422
#ROBOMERGE-BOT: (v662-12191386)

[CL 12196756 by nick darnell in Main branch]
2020-03-16 09:03:39 -04:00
nick darnell
86f4406c85 Slate - Adding stats around expensive OS calls in slate, assume we're over a slate window for processing mouse input as long as the application is activated. This will avoid making OS calls that could potentially hitch when the app/game is actively being used.
#ROBOMERGE-SOURCE: CL 11585032 via CL 11585059 via CL 11585077 via CL 11585091
#ROBOMERGE-BOT: (v654-11333218)

[CL 11585136 by nick darnell in Main branch]
2020-02-22 16:57:29 -05:00
dan hertzka
7c74a6d169 Allowing per-user nav configs to be established at the Slate level
- FSlateUser has an optional TSharedPtr<FNavigationConfig> member now that, when set, is used instead of the global one that lives on FSlateApplication



#ROBOMERGE-SOURCE: CL 11576994 via CL 11577003 via CL 11577004 via CL 11577009
#ROBOMERGE-BOT: (v654-11333218)

[CL 11577012 by dan hertzka in Main branch]
2020-02-21 13:17:58 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
dan hertzka
52431674e1 Preventing any out-of-order processing of touch events in FSlateApplication
- All touch events are ignored if they aren't between a TouchStarted and a TouchEnded
- Solves issues where mobile platforms can send force change events after ending the touch, causing FSlateUser to re-establish info for that pointer when it's not actually around/active

Also now resetting LastWidgetsUnderPointer info in FSlateUser when a touch pointer is released
- Solves issues where FSlateUser still had for the touch pointer the next time it was pressed, causing us to trigger a redundant OnMouseLeave on the widget that the pointer was over when it was released

[at]Nick.Darnell, [at]Matt.Kuhlenschmidt, [at]Fernand.Veyrier


#ROBOMERGE-SOURCE: CL 10855233 via CL 10856031 via CL 10856607 via CL 10860279 via CL 10860299
#ROBOMERGE-BOT: (v610-10636431)

[CL 10860346 by dan hertzka in Main branch]
2019-12-20 13:54:29 -05:00
dan hertzka
9fef3fe3ac Hide hardware cursors as well when FSlateUser::bCanDrawCursor is false by setting the cursor type to EMouseCursor::None
- We skip any work to query the cursor for the user while they don't want the cursor shown
- If anyone does try to ProcessCursorReply(), it either does nothing or sets the cursor to None again

#rb Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 10608246 via CL 10608249 via CL 10608250 via CL 10608251 via CL 10608252
#ROBOMERGE-BOT: (v607-10590470)

[CL 10608253 by dan hertzka in Main branch]
2019-12-07 17:44:34 -05:00
dan hertzka
f90d88ad4e Adding option to FSlateUser to completely disable painting the user's cursor
#rb Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 10608115 via CL 10608118 via CL 10608121 via CL 10608123 via CL 10608124
#ROBOMERGE-BOT: (v607-10590470)

[CL 10608125 by dan hertzka in Main branch]
2019-12-07 16:17:59 -05:00
matt kuhlenschmidt
bdb38283e2 Enabled per-user hit testing in Slate to avoid cases where two users hovered over incompabile UI (UI designed for a specific user) can still interact with it.
#rb chris.gagnon


#ROBOMERGE-SOURCE: CL 10541213 via CL 10541286 via CL 10560152 via CL 10560839 via CL 10560958
#ROBOMERGE-BOT: (v606-10482310)

[CL 10561108 by matt kuhlenschmidt in Main branch]
2019-12-05 15:59:53 -05:00
jamie dale
47c9f9e957 Fixed lifetime extension issue with pressed keys array
FPointerEvent keeps a reference to the data, so it can't be passed a temporary

#jira UE-85098
#rb Brandon.Schaefer
#lockdown Cristina.Riveron
#rnx

#ROBOMERGE-SOURCE: CL 10460845 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v595-10452236)

[CL 10460853 by jamie dale in Main branch]
2019-11-26 16:04:48 -05:00
dan hertzka
4e1eeaa557 - Fixed the signature of FPointerEvent::GetCursorDelta() to return a const ref to the member instead of copy
- Added FSlateUser::IsWidgetInFocusPath() and added some comments explaining the three different functions there for checking focused-ness of a widget



#ROBOMERGE-SOURCE: CL 10282945 via CL 10282946 via CL 10282947
#ROBOMERGE-BOT: (v591-10236483)

[CL 10282948 by dan hertzka in Main branch]
2019-11-16 20:32:13 -05:00
Marc Audy
bd5abec061 Reconcile separate fixes for same problem (which now causes compile error)
#rb
#rnx
#fyi Dan.Hertzka, Will.Damon, Brandon.Schaefer
#robomerge[RELEASE] 4.24

[CL 9746192 by Marc Audy in Main branch]
2019-10-22 11:48:18 -04:00
brandon schaefer
a2c0d81ec1 Stack use after free on temp TSet which FPointerEvent stored as a member variable reference
#jira none
#rb none
[FYI] Dan.Hertzka

#ROBOMERGE-SOURCE: CL 9744368 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v542-9736015)

[CL 9744372 by brandon schaefer in Main branch]
2019-10-22 09:03:25 -04:00