Commit Graph

584 Commits

Author SHA1 Message Date
David Harvey
90fe213df5 UIA accessibility is available for all Windows-based platforms.
#jira UE-131865
#rnx
#rb Eric.McDaniel
#preflight 6230989fe348fe2ada64da16

[CL 19384787 by David Harvey in ue5-main branch]
2022-03-15 10:00:23 -04:00
adam kinge
b22405acec Fix r.MobileContentScaleFactor being ignored and always defaulting to 1 on iOS
#jira UE-144079
#rb Jack.Porter
#preflight None

#ROBOMERGE-AUTHOR: adam.kinge
#ROBOMERGE-SOURCE: CL 19260968 in //UE5/Release-5.0/... via CL 19261966
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19269187 by adam kinge in ue5-main branch]
2022-03-04 13:05:08 -05:00
dave hunter
18d0a5304e Fix Mac Menus
Sometimes the active window seems to be confused on Mac.  This works around
the issue so that we will activate another window when a menu closes.

#jira UE-141354, UE-144097
#rnx
[REVIEW] [at]will.damon
#lockdown cristina.riveron
#preflight none

#ROBOMERGE-AUTHOR: dave.hunter
#ROBOMERGE-SOURCE: CL 19246118 in //UE5/Release-5.0/... via CL 19249226
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263172 by dave hunter in ue5-main branch]
2022-03-04 03:21:10 -05:00
dave hunter
7dde981dc2 Fix window activation when menus close
CocoaWindows now store their Type.  This is used so that we can make sure that we can call OnWindowActivationChanged
when the menu closes.  This is needed to restore focus in the main window after the menu is triggered.  Several other
utility windows are now not treated as main windows.


[REVIEW] will.damon
#jira UE-139065
#rnx
#preflight n/a
#lockdown cristina.riveron


#ROBOMERGE-AUTHOR: dave.hunter
#ROBOMERGE-SOURCE: CL 19093114 via CL 19093772 via CL 19094565 via CL 19096071 via CL 19105329
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19146632 by dave hunter in ue5-main branch]
2022-02-25 09:42:22 -05:00
axel riffard
5ed73f504b Implement PS5 DualSense controller support on iOS/tvOS and fix crash when setting Siri Remote as Unset on tvOS
#rb jack.porter
#jira UE-142746
#preflight 62155f6a840463c99a73b105

#ROBOMERGE-AUTHOR: axel.riffard
#ROBOMERGE-SOURCE: CL 19083741 in //UE5/Release-5.0/... via CL 19097758
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141420 by axel riffard in ue5-main branch]
2022-02-24 23:52:51 -05:00
Brandon Schaefer
7d0478a607 Avoid double output when running with -stdout enabled
This does use LaunchEngineLoops output over Linux which means with -stdout no color coded warning/error messages

#jira none
#rb Michael.Sartain, Rober.Seiver
#preflight none

[CL 19074484 by Brandon Schaefer in ue5-main branch]
2022-02-22 12:01:59 -05:00
Brandon Schaefer
efc5f8f42a Fix NonUnity issue
This needs to be refactored out to a DummyWindow for Offscreen rendering vs doing this

#jira UE-143359
#rb none
#preflight none

[CL 19073285 by Brandon Schaefer in ue5-main branch]
2022-02-22 10:54:58 -05:00
Brandon Schaefer
dcf361f264 Fix Non-Unity issues from missing header
#jira none
#rb none
#preflight none

[CL 19047189 by Brandon Schaefer in ue5-main branch]
2022-02-17 23:50:01 -05:00
Brandon Schaefer
51d27f9c98 Some fixes for pathing with Gauntlet and EngineTest
Fix some test/asserts when running offscreen rendering. We use a GenericWindow which was hitting some fatal logs

#jira none
#rb none
#preflight 620ed89bc91bcd0017af2295

[CL 19044653 by Brandon Schaefer in ue5-main branch]
2022-02-17 18:27:02 -05:00
robert seiver
a755cd34ca Linux windows now have a reasonable minimum size, and no longer can be scaled down to 1 pixel wide/tall
#jira UE-141121
#review-19040600 Brandon.Schaefer, Michael.Sartain
#preflight 620eae5d007519628d226210

[CL 19041491 by robert seiver in ue5-main branch]
2022-02-17 15:50:27 -05:00
evan kinney
2c4475a9ee allow setting the console title of spawned output consoles on Windows
#rnx

#ROBOMERGE-AUTHOR: evan.kinney
#ROBOMERGE-SOURCE: CL 19011697 via CL 19011704 via CL 19011708 via CL 19011811 via CL 19011865
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19011876 by evan kinney in ue5-main branch]
2022-02-16 04:44:35 -05:00
daren cheng
f4b3ca652e Fix menu's flashing white when application scale is not default (100%).
#jira UE-117003
#rb Matt.Kuhlenschmidt
#preflight 620ab6db674d5ad0da8ebb6f
#lockdown JeanMichel.Dignard

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18985099 in //UE5/Release-5.0/... via CL 18986175 via CL 18987695
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18988048 by daren cheng in ue5-main branch]
2022-02-14 18:32:58 -05:00
geoff evans
1010d649b9 Fix taskbar item for Splash Screen.
Or-ing in WS_EX_TOOLWINDOW into the window style prevents the splash screen's taskbar item from appearing until its visible on screen.

Since it takes several seconds before the splash screen appears, if you Alt-Tab to another application before it appears it causes the splash screen to not be shown, and since it's not shown there is no task bar icon, so you cannot see the progress bar or select the splash screen via the taskbar.

Also, the splash screen appears to go to the bottom of the z-order, causing the user to have to minimize/close a lot of windows to click it to allocate the taskbar item.

#rnx
#rb trivial
#preflight 6205c060b84973a2bb6f4f3d

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 18949297 via CL 18949298 via CL 18949302 via CL 18952902 via CL 18953149
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18953163 by geoff evans in ue5-main branch]
2022-02-11 11:15:39 -05:00
axel riffard
18439c9e89 Remove iOS13 and Metal 2.2 , implement iOS14 and Metal 2.4
#jira UE-140926
#rb jack.porter
[FYI] will.damon, carl.lloyd, richard.wallis, laura.hermanns
#lockdown rolando.caloca
#preflight 61fb957ec431b6aac0556693

#ROBOMERGE-OWNER: axel.riffard
#ROBOMERGE-AUTHOR: axel.riffard
#ROBOMERGE-SOURCE: CL 18841574 in //UE5/Release-5.0/... via CL 18841862 via CL 18841959
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)
#ROBOMERGE-CONFLICT from-shelf

[CL 18842337 by axel riffard in ue5-main branch]
2022-02-03 09:10:01 -05:00
Michael Sartain
bcfb02e2d4 Fix UnrealLightmass spewing UE_LOGs to console for Linux
Add bIsWindowShown option to Linux Console Output Device
Default to true to match old behavior.
Add -nostdout by default in UnrealLightmass

#rb Brandon.Schaefer
#jira none
#preflight trivial

[CL 18817282 by Michael Sartain in ue5-main branch]
2022-02-01 18:14:33 -05:00
dave hunter
8f30b73b1d Menus are not main windows (Mac)
I've added a boolean AllowMainWindow to CocoaWindow which is now set to true unless the window is a menu.  This status is reported to the OS via the canBecomeMainWindow method.  It is also used by the MacApplication which will now not activate a window when a window that's being closed is not a main window (via AllowMainWindow).

#rb will.damon
#jira UE-137460
#preflight n/a

#ROBOMERGE-AUTHOR: dave.hunter
#ROBOMERGE-SOURCE: CL 18734334 in //UE5/Release-5.0/... via CL 18734343 via CL 18734356
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18734361 by dave hunter in ue5-main branch]
2022-01-26 07:59:53 -05:00
marc audy
6553e6cd0a Remove as much C++ deprecation as possible up to 4.17 (along with a few scattered removals from beyond)
#preflight 61eefc77ba69a4fdb220bf23

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18712765 in //UE5/Release-5.0/... via CL 18712784 via CL 18713147
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713191 by marc audy in ue5-main branch]
2022-01-24 15:07:48 -05:00
vincent gauthier
8b51660453 Localization: Resolving conflicting Ids in LOC macros
#jira UE-136397
#rb none
#preflight 61eebe505e0414e6ec1e5a19

#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 18708506 in //UE5/Release-5.0/... via CL 18708530 via CL 18708683
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18708694 by vincent gauthier in ue5-main branch]
2022-01-24 10:13:12 -05:00
michael sartain
fc17b3213c Fix FLinuxWindow::IsPointInWindow to include X=0, Y=0 points
#jira UE-92715
#preflight trival
[REVIEW] [at]Brandon.Schaefer, [at]Robert.Seiver

#ROBOMERGE-AUTHOR: michael.sartain
#ROBOMERGE-SOURCE: CL 18675857 in //UE5/Release-5.0/... via CL 18675983 via CL 18676014
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18679831 by michael sartain in ue5-main branch]
2022-01-20 15:28:25 -05:00
julian smart
a09d660e19 Portrait to match landscape axes on Android
#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18670274 via CL 18670279 via CL 18670282 via CL 18670285 via CL 18670394 via CL 18670399 via CL 18670402
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18670411 by julian smart in ue5-main branch]
2022-01-19 21:13:58 -05:00
brandon schaefer
a15bfb36a1 Tooltips can now accept input at times. So if we are a Tooltip type ignore checking the AcceptsInput def
#jira UE-136781
#rb none
#preflight none

#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 18652153 in //UE5/Release-5.0/... via CL 18652172 via CL 18652189
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18652217 by brandon schaefer in ue5-main branch]
2022-01-18 18:57:51 -05:00
julian smart
a3ff3d3e0e One more change to Android.UnifyMotionSpace while it's still new: Match Unreal's coordinate system. This means left-handed, left-screw, Z-up, etc.
#jira UE-138975


#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18615234 via CL 18615240 via CL 18615244 via CL 18615246 via CL 18615306 via CL 18615315 via CL 18615324
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18615329 by julian smart in ue5-main branch]
2022-01-14 03:17:19 -05:00
julian smart
dabe6c313d Android.UnifyMotionSpace should apply to Portrait device orientation, too.
#jira UE-138975

[FYI] jack.porter, andy.davidson

#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18614352 via CL 18614366 via CL 18614375 via CL 18614387 via CL 18614506 via CL 18614517 via CL 18614522
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18614527 by julian smart in ue5-main branch]
2022-01-13 23:16:14 -05:00
julian smart
ec0fad4c0f Fixed Android compile error
#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18613222 via CL 18613240 via CL 18613255 via CL 18613267 via CL 18614278 via CL 18614348 via CL 18614384
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18614412 by julian smart in ue5-main branch]
2022-01-13 22:55:45 -05:00
julian smart
40eecd08f0 On Android, we automatically change rotation rate input motion depending on whether the device is in landscape mode (and which direction), but we don't actually change the other motion inputs with it, so they no longer correlate.
#jira UE-138975

This change introduces the CVar Android.UnifyMotionSpace, which we can enable to have the other motion inputs changed with rotation rate so that they correlate. Enabling this CVar also changes acceleration input to be reported in g units instead of m/s^2, since that's what we're doing on most other platforms.

My hope is to add corresponding "UnifyMotionSpace" CVars to other platforms that will make motion input consistent across all platforms:
- Have acceleration axes always correlate with rotation rate axes;
- Have these axes consistent across platforms (same forward direction, same up/down direction, etc);
- Use radians per second for rotation rate and g units for acceleration;

[FYI] andy.davidson, jack.porter

#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18612587 via CL 18612619 via CL 18612631 via CL 18612638 via CL 18614271 via CL 18614345 via CL 18614381
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18614409 by julian smart in ue5-main branch]
2022-01-13 22:55:36 -05:00