Description

[Link Removed]

 

The UseBorderlessWindow setting appears to not be implemented on Mac. We currently only apply the NWWindowStyleMaskBorderless style for tooltips and other "irregular" windows, so we may need an additional check here to apply that style if the borderless checkbox is checked.

if( Definition->IsRegularWindow )
{
	if( Definition->HasCloseButton )
	{
		WindowStyle = NSWindowStyleMaskClosable;
	}
 
	// In order to support rounded, shadowed windows set the window to be titled - we'll set the content view to cover the whole window
	WindowStyle |= NSWindowStyleMaskTitled | (FPlatformMisc::IsRunningOnMavericks() ? NSWindowStyleMaskTexturedBackground : NSWindowStyleMaskFullSizeContentView);
	
	if( Definition->SupportsMinimize )
	{
		WindowStyle |= NSWindowStyleMaskMiniaturizable;
	}
	if( Definition->SupportsMaximize || Definition->HasSizingFrame )
	{
		WindowStyle |= NSWindowStyleMaskResizable;
	}
}
else
{
	WindowStyle = NSWindowStyleMaskBorderless;
}
Steps to Reproduce
  1. Check "Use Borderless Window" in project settings
  2. Launch in standalone, and note that the window is not borderless

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-166675 in the post.

0
Login to Vote

Unresolved
ComponentUE - Platform - Apple
Affects Versions5.05.1
Target Fix5.5
CreatedOct 10, 2022
UpdatedJan 30, 2024