Commit Graph

53 Commits

Author SHA1 Message Date
Max Chen
e4d4965491 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 7774443 by Max Chen in Dev-Editor branch]
2019-08-05 15:48:51 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Chris Gagnon
0a9f86357f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 6837840 by Chris Gagnon in Dev-Editor branch]
2019-06-04 15:16:30 -04:00
Arciel Rekman
7ef9626fe8 Copying //UE4/Dev-Console@6677439 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6677614 by Arciel Rekman in Main branch]
2019-05-30 14:48:02 -04:00
Michael Sartain
c46fc8f391 Fix FN Editor Splashscreen on Linux is incorrect
SDL_LoadBMP was returning a RGB888 surface with a width of 975 and a pitch of 2928. Code was assuming pitch == w * bpp.

Fix is to memcpy rows in FLinuxSplashState::RenderStrings() instead of entire bitmap.

#jira FORT-145774
#rb Brandon.Schaefer

[CL 6653700 by Michael Sartain in Dev-Editor branch]
2019-05-28 12:18:18 -04:00
Michael Sartain
dc1a7020ce Add Linux game splash screen support (without text)
Daimler was asking about time to display splash loading screen.
  This should help them.

Limitations:
  Only loads .bmp files
  Doesn't support any dynamic text (SetSplashText method NYI right now)
  Uses straight SDL2 (Not GL, Freetype, or ImageWrapper)

#jira none
#codereview Brandon.Schaefer, Arciel.Rekman
#review-6653686 @Brandon.Schaefer, @Arciel.Rekman
#rb Brandon.Schaefer, Arciel.Rekman

[CL 6653684 by Michael Sartain in Dev-Editor branch]
2019-05-28 12:14:52 -04:00
Brandon Schaefer
9a9a734797 Revert the bZeroSize fix and just set the size to 1 if we are setting to 0 instead.
The bZeroSize fix was causing notification windows to hide forever while in a Slate Throttle mode causing GameViewportClient draw issue

#jira UE-73182
#rb none
#fyi Arciel.Rekman

[CL 6599047 by Brandon Schaefer in Dev-Editor branch]
2019-05-21 16:10:41 -04:00
Brandon Schaefer
fad3814884 Do not set our selfs hidden if we did not change the size. For example when we are first created and have 0,0 width/height
#jira none
#rb none
#fyi Arciel.Rekman

[CL 6550309 by Brandon Schaefer in Dev-Editor branch]
2019-05-17 19:22:47 -04:00
Brandon Schaefer
5af24c9505 If we reshape the window to either 0 width or 0 height Hide that window over setting it to 0, 0
#jira UE-73182
#rb Arciel.Rekman
#codereview Arciel.Rekman, Michael.Sartain
#review-6320373 @Arciel.Rekman, @Michael.Sartain

[CL 6340892 by Brandon Schaefer in Dev-Editor branch]
2019-05-07 09:32:54 -04:00
Brandon Schaefer
c46f75b53c Hidden windows are also consider minimized state wise
#jira UE-73183
#rb none

[CL 6054831 by Brandon Schaefer in Dev-Editor branch]
2019-04-23 10:44:42 -04:00
Chris Gagnon
56e73ed431 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 6042607 by Chris Gagnon in Dev-Editor branch]
2019-04-22 18:56:08 -04:00
brandon schaefer
a5971974e8 Remove spamming USER EVENTS when window has lost focus
When we got a FOCUS OUT event we would start spamming upwards of ~2000 USER EVENTS checking if we need to deactivate the application. This was taking upwards of 150ms
Now per event pump we check if we have been focused out for to then we deactivate.

#jira UE-72278
#rb Arciel.Rekman
[CODEREVIEW] Arciel.Rekman, Michael.Sartain
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 5745113 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5745123 by brandon schaefer in Main branch]
2019-04-04 13:35:43 -04:00
Brandon Schaefer
f047e885de Remove spamming USER EVENTS when window has lost focus
When we got a FOCUS OUT event we would start spamming upwards of ~2000 USER EVENTS checking if we need to deactivate the application. This was taking upwards of 150ms
Now per event pump we check if we have been focused out for to then we deactivate.

#jira UE-72278
#rb Arciel.Rekman
#review-5711052 @Arciel.Rekman, @Michael.Sartain
#codereview Arciel.Rekman, Michael.Sartain

[CL 5713364 by Brandon Schaefer in Dev-Editor branch]
2019-04-03 15:36:44 -04:00
Chris Gagnon
00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -04:00
brandon schaefer
0981ec078f Avoid calling SDL_Destroy when the HWnd is NULL
#rb Arciel.Rekman
#jira UE-71983
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 5538522 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5538524 by brandon schaefer in Main branch]
2019-03-25 16:05:25 -04:00
arciel rekman
4669903080 Linux: Fix EGL device selection logic (UE-70131).
- Also provided a way to hint a particular device with -egldevice=X

#jira UE-70131
#rb Brandon.Schaefer
[FYI] Brandon.Schaefer

#ROBOMERGE-SOURCE: CL 5295498 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5308936 by arciel rekman in Main branch]
2019-03-05 18:48:17 -05:00
Chris Gagnon
42c199aeb6 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5225772 by Chris Gagnon in Dev-Editor branch]
2019-02-27 11:02:17 -05:00
arciel rekman
82a77e8498 Fix Linux build (last minute copy-paste went wrong) (UE-70519).
#rb none
#jira UE-70519

#ROBOMERGE-SOURCE: CL 5153940 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5207527 by arciel rekman in Main branch]
2019-02-26 16:38:31 -05:00
arciel rekman
d10f5699f1 Linux: fix headless clients not updating level streaming (UE-70496).
- Zero-sized display resulted in zero-sized viewport, which caused UWorld::UpdateLevelStreaming() to not be called (see logic in FViewport::Draw()).

#rb Brandon.Schaefer
#jira UE-70496

#ROBOMERGE-SOURCE: CL 5149800 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5207500 by arciel rekman in Main branch]
2019-02-26 16:38:23 -05:00
Chris Gagnon
80918bea22 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5110714 by Chris Gagnon in Dev-Editor branch]
2019-02-21 13:05:30 -05:00
brandon schaefer
e950c66b6b Focus on folder creation the same way with assets if owner window doesnt have any focus
Revert adding popup windows who are not set to be focused to the revert stack

#jira UE-69661
#rb Rex.Hill

#ROBOMERGE-SOURCE: CL 4938275 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4938279 by brandon schaefer in Main branch]
2019-02-07 16:12:30 -05:00
brandon schaefer
245f83fae2 Move back to using the Popup_Menu window type as we are no longer grabbing the mouse/keyboard here
Make sure if we are a popup, even if we dont take focus we will be taking activation away from the main editor. Put our selfs in the revert list to revert that activation

#jira UE-69175
#rb none
[FYI] Arciel.Rekman

#ROBOMERGE-SOURCE: CL 4883721 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4883722 by brandon schaefer in Main branch]
2019-02-04 11:29:09 -05:00
Chris Gagnon
a48e767b94 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4835066 by Chris Gagnon in Dev-Editor branch]
2019-01-29 16:15:19 -05:00
Brandon Schaefer
751259f4d1 Dont force focus
This change was suppose to be part of CL 4770158

#jira none
#rb none
#lockdown matt.kuhlenschmidt

[CL 4771518 by Brandon Schaefer in Dev-Editor branch]
2019-01-22 13:51:01 -05:00
Brandon Schaefer
fa45973210 Do not forcefully raise windows when all windows should be above the main UE4 window. This causes focuses stealing with out applications, and unwanted focus lost
Also avoid Setting keyboard grabs on windows that are no longer override redirect

#jira UE-64985, UE-64821
#codereview Arciel.Rekman
#review-4765595 @Arciel.Rekman
#rb Arciel.Rekman
#lockdown matt.kuhlenschmidt

[CL 4770158 by Brandon Schaefer in Dev-Editor branch]
2019-01-22 10:29:23 -05:00