Commit Graph

90 Commits

Author SHA1 Message Date
robert seiver
f27826da35 Cause notification windows to be raised above all windows except for modal windows, instead of just their parent windows.
This partially rolls back some of the changes made by CL 2532869 for UE-14543. With the addition of the modal check in RaiseNotifications(), this rollback doesn't cause any known issues

#rb James.Singer
#jira UE-178057
#preflight 63f792482b1a2765f9f1417a

[CL 24386966 by robert seiver in ue5-main branch]
2023-02-23 14:55:02 -05:00
robert seiver
e84eaeb632 UE will now properly re-raise notification windows to the front after maximizing, restoring, and moving windows.
#jira UE-175939
#rb James.Singer
#preflight 63f521756928c1ca3d75a05e
#preflight 63f521756928c1ca3d75a05e

[CL 24347775 by robert seiver in ue5-main branch]
2023-02-21 15:03:39 -05:00
gaborpapp
db56dde9fd PR #6649: Fixed Linux touch id handling (Contributed by gaborpapp)
#rb @brandon.schaefer, @zack.neyland
#jira UE-87926
#preflight 63c1a46c0225f00e1437f64b

[CL 23684055 by gaborpapp in ue5-main branch]
2023-01-13 14:44:30 -05:00
james singer
de2922d541 Fix mouse grab cursors in Linux
#jira UE-141065
#rb @brandon.schaefer, @zack.neyland
#preflight 63c19bac0225f00e14327e18

[CL 23681426 by james singer in ue5-main branch]
2023-01-13 13:14:13 -05:00
Brandon Schaefer
174fc92867 Fix some cases of the notification windows moving behind the main window
Still some cases to fix

#jira UE-101465
#rb none
#preflight none

[CL 23620439 by Brandon Schaefer in ue5-main branch]
2023-01-09 16:50:07 -05:00
bretternst
c844d5a91f PR #9813: Fix UMG Overlay mouse/touch input not working after launching fullscreen Wayland application (Contributed by bretternst)
#rb daren.cheng
#jira UE-170506
#preflight 63b5e7da592c1a9d7caac454

[CL 23581066 by bretternst in ue5-main branch]
2023-01-04 16:20:00 -05:00
devin doucette
a99b36a729 Fixed unsafe type casts in a few widely-used modules
#preflight 6303ea8aa45b007ea2514f30
#rb Zousar.Shaker
#rnx

[CL 21494524 by devin doucette in ue5-main branch]
2022-08-22 17:38:22 -04:00
ben hoffman
3e6ea254e5 Update the LinuxApplication to use the newer version of OnController functions instead of the old "int32 ControllerId" versions that are going to be deprecated soon.
#jira UE-156743
#rb Brandon.Schaefer
#preflight 62cd80983f422700272c5ff6
#rnx

[CL 21076774 by ben hoffman in ue5-main branch]
2022-07-13 14:25:50 -04:00
Devin Doucette
3045e3c75f Logging: Changed CanBeUsedOnPanicThread() to return false by default
The previous default of CanBeUsedOnAnyThread() proved unsafe since some output devices can safely be used on any thread but cannot safely be used during a crash. CanBeUsedOnAnyThread() was used pre-5.1 to control serialization to an output device during a crash, but optimizations in 5.1 have uncovered that some of these were never safe.

#preflight 62856506614041edb7a6de4b
#rb Zousar.Shaker
#rnx

[CL 20280354 by Devin Doucette in ue5-main branch]
2022-05-19 10:39:18 -04:00
ben hoffman
ff61d48be3 Linux Application: Replace uses of the old "int32 ControllerID" in favor of the new platform input device mapper. The new input device mapper will still call the old CoreDelegates until they are deprecated/removed, so there is no behavioral change here. Using the platform input device mapper will allow us to pass specific Input Device ID's around to slate and the game, so that we can properly route input events to and from specific devices
#jira UE-147796
#rb Brandon.Schaefer
#preflight 62741ca6ca0ad32a968784c7

[CL 20062913 by ben hoffman in ue5-main branch]
2022-05-05 15:24:21 -04:00
robert seiver
c68adb3c60 Added support for IsGamepadAttached on Linux
#jira UE-33266
#rb Brandon.Schaefer
#fyi @Brandon.Schaefer
#preflight 625d8814d4124345879dcf9f

[CL 19786909 by robert seiver in ue5-main branch]
2022-04-18 12:12:28 -04:00
Brandon Schaefer
a13924564a Fix UngrabImpl not tearing down barries, and not disabling relative mode
#jira UE-138019
#review @Robert.Seiver
#rb Robert.Seiver
#preflight none

[CL 19771808 by Brandon Schaefer in ue5-main branch]
2022-04-15 12:07:31 -04:00
Michael Sartain
4d2efde0f4 Make FLinuxConsoleOutputDevice::Serialize Thread Safe
Set CanBeUsedOnAnyThread() to true and move to single printf in Serialize

#rnx
#jira UE-147459
#review-19549147 @Brandon.Schaefer, @Robert.Seiver
#preflight none

[CL 19549852 by Michael Sartain in ue5-main branch]
2022-03-29 17:19:42 -04: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
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
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
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
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
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
michael sartain
8b549c779f Linux SDL 2.0.18 Update
Plus cherry-pick these commits from SDL main:

  f39e155 [release-2.0.18] Fixed undefined behavior in SDL_memset() (thanks andrewrk!)
  74ee7c0 Fixed potential buffer overflow in YUV conversion
  52e4e52 autotools, cmake: tighten Xfixes check && explicitly test BarrierEventID

Switch SDL_ConfineCursor calls to new SDL_SetWindowMouseRect SDL2 functionality**

** Hat tip Ethan Lee

[at]Brandon.Schaefer
#jira none
#preflight 61dc62c42e0e436c72901f1b

#ROBOMERGE-AUTHOR: michael.sartain
#ROBOMERGE-SOURCE: CL 18561443 in //UE5/Release-5.0/... via CL 18561451
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18561471 by michael sartain in ue5-release-engine-test branch]
2022-01-10 12:21:30 -05:00
ben zeigler
7c70bdebb8 #jira UE-125298 First set changes for distinguishing between platform user id and controller/input id
Change FPlatformUserId into a proper struct with an internal id that will be allocated by the platform
Converting int->FPlatformUserId is currently deprecated, but the other direction is not deprecated until the online/input code can be converted
GenericApplicaitonMessageHandler will convert back and forth between controller Id and FPlatformUserId as needed
Add support for platform user id to LocalPlayer, by default it is synchronized with ControllerId
#rb david.harvey, ben.hoffman

#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 17597808 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17597827 by ben zeigler in ue5-release-engine-test branch]
2021-09-22 13:39:56 -04:00
geoff evans
b353e75c60 FApp::HasFocus() API to unify checking focus state
This is a defensive change to more uniformly gate conditions of various pathways that want to "nice" CPU consumption when the application is not the foreground application (doesn't "Have Focus"). In benchmarking scenarios we don't want a focus-grabbing application to cause change in behavior while taking performance measurements. This could be in local workstation benchmarking where other foreground apps will naturally come to the front or in data center build where antics that might otherwise be completely unknowable could impact benchmark measurements.

This change was formulated after finding some "nice" CPU conditionals that were instrumented, but not all of them are. This change aims to prevent having to instrument, profile, and mitigate each condition separately.

#rnx
#jira none
#rb francis.hurteau, brandon.schaefer
#preflight 611ec9248ff55400018d5018

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17463345 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17463757 by geoff evans in ue5-release-engine-test branch]
2021-09-08 16:59:42 -04:00
michael sartain
5285bc13e4 Linux SDL 2.0.16 Update
Switch SDL_SetKeyboardGrab to SDL_SetWindowKeyboardGrab
  Add SDL_ConfineCursor to dynapi_overrides

Hat tip Ethan Lee

#jira none
#rb Brandon.Schaefer
[at]Brandon.Schaefer

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

[CL 17252653 by michael sartain in ue5-release-engine-test branch]
2021-08-20 16:13:06 -04:00
michael sartain
7141fd5c7c Update Linux SDL2 library from 2.0.12 to 2.0.16
#jira none
[at]Brandon.Schaefer, [at]James.Singer
#rb Brandon.Schaefer, James.Singer

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

[CL 17217992 by michael sartain in ue5-release-engine-test branch]
2021-08-18 13:34:27 -04:00
dmytro vovk
bbe295d1b4 Fixed compilation
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 17038982 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v848-17036448)

[CL 17038991 by dmytro vovk in ue5-release-engine-test branch]
2021-08-03 17:16:10 -04:00