View Issue Details

IDProjectCategoryView StatusLast Update
0003979NoesisGUIUnrealpublic2026-03-04 00:39
Reportersologroovegames Assigned Tohcpizzi  
PrioritynormalSeveritymajor 
Status feedbackResolutionopen 
Product Version3.2.7 
Target Version3.2.13 
Summary0003979: Mouse click is not working in Unreal Engine screen space widget components
Description

Hi there,

I'm having an issue with Unreal Engine 5.5.3 (latest) and Noesis 3.2.7 (latest). My problem is that according to the docs, Noesis views (widgets) should work fine with widget components (UWidgetComponent), however, if I try to place a Noesis view inside a widget component in the world, the contained UI does not receive mouse click events. (hover works fine though) It seems to give back focus to the game viewport.

The widget component mode is set to screen space, so it's always an overlay of the world, not really what Noesis World UI implement.

I've tested the issue with a fresh empty UE project to make sure it's not my project settings are causing the issue.

I parallel tested with regular UMG widgets, and they do work fine in the very same situation.

Attached Files
K55Z7QN.jpg (90,481 bytes)   
K55Z7QN.jpg (90,481 bytes)   
PlatformAny

Activities

hcpizzi

hcpizzi

2025-02-25 15:46

developer   ~0010379

Hi,

There was a problem when using Noesis with WidgetComponents on screen space. The attached fix resolves it, as well as another error message related to clipping that I noticed while testing this.

Please, let us know if this resolves your issue.

Thanks!

3979.diff (2,022 bytes)   
Index: NoesisInstance.cpp
===================================================================
--- NoesisInstance.cpp	(revision 15091)
+++ NoesisInstance.cpp	(working copy)
@@ -246,7 +246,7 @@
 	RHICmdList.BeginRenderPass(RPInfo, TEXT("NoesisOnScreen"));
 	RHICmdList.SetViewport(Left, Top, 0.0f, Right, Bottom, 1.0f);
 	EngineGamma = (!GIsEditor && (ColorTarget->GetFormat() == PF_FloatRGBA)/* && (Params.bIsHDR == false)*/) ? 1.0f : EngineGamma;
-	RHICmdList.SetScissorRect(true, (uint32)FMath::Max(Left, CullingRect.Left), (uint32)FMath::Max(Top, CullingRect.Top), (uint32)FMath::Min(Right, CullingRect.Right), (uint32)FMath::Min(Bottom, CullingRect.Bottom));
+	RHICmdList.SetScissorRect(true, (uint32)FMath::Clamp(CullingRect.Left, Left, Right), (uint32)FMath::Clamp(CullingRect.Top, Top, Bottom), (uint32)FMath::Clamp(CullingRect.Right, Left, Right), (uint32)FMath::Clamp(CullingRect.Bottom, Top, Bottom));
 	RenderOnscreen(RHICmdList, false);
 	RHICmdList.SetScissorRect(false, 0, 0, 0, 0);
 	RHICmdList.EndRenderPass();
@@ -303,7 +303,7 @@
 		[this](FRHICommandListImmediate& RHICmdList)
 		{
 			RHICmdList.SetViewport(Left, Top, 0.0f, Right, Bottom, 1.0f);
-			RHICmdList.SetScissorRect(true, (uint32)FMath::Max(Left, CullingRect.Left), (uint32)FMath::Max(Top, CullingRect.Top), (uint32)FMath::Min(Right, CullingRect.Right), (uint32)FMath::Min(Bottom, CullingRect.Bottom));
+			RHICmdList.SetScissorRect(true, (uint32)FMath::Clamp(CullingRect.Left, Left, Right), (uint32)FMath::Clamp(CullingRect.Top, Top, Bottom), (uint32)FMath::Clamp(CullingRect.Right, Left, Right), (uint32)FMath::Clamp(CullingRect.Bottom, Top, Bottom));
 			RenderOnscreen(RHICmdList, false);
 			RHICmdList.SetScissorRect(false, 0, 0, 0, 0);
 		}
@@ -1483,7 +1483,7 @@
 		}
 
 		bool Hit = false;
-		if (WidgetComponent == nullptr || WidgetComponentHit)
+		if (WidgetComponent == nullptr || WidgetComponentHit || WidgetComponent->GetWidgetSpace() == EWidgetSpace::Screen)
 		{
 			Hit = HitTest(Position);
 		}
3979.diff (2,022 bytes)   
sologroovegames

sologroovegames

2025-03-05 12:54

reporter   ~0010386

Last edited: 2025-03-05 12:57

Hey there, sorry for the late response! I've tested your solution, and unfortunately, it does not seem to work on my side, moreover, now hover also seems to be broken. I'm testing with a Button with a ControlTemplate of a round ellipse.

hcpizzi

hcpizzi

2025-05-19 12:10

developer   ~0010700

Sorry, this ticket fell through the cracks.

Could you send us your XAML? I've just retested it with the XAML from our Buttons sample and I can interact with it correctly.

hcpizzi

hcpizzi

2026-03-03 17:40

developer   ~0011994

Hi,

Is this still an issue? Did you try with 3.2.11?

Issue History

Date Modified Username Field Change
2025-02-24 22:53 sologroovegames New Issue
2025-02-24 22:53 sologroovegames File Added: K55Z7QN.jpg
2025-02-25 14:22 sfernandez Status new => assigned
2025-02-25 14:22 sfernandez Assigned To => hcpizzi
2025-02-25 15:46 hcpizzi Note Added: 0010379
2025-02-25 15:46 hcpizzi File Added: 3979.diff
2025-02-25 15:46 hcpizzi Status assigned => feedback
2025-02-26 12:57 jsantos Target Version => 3.2.8
2025-03-05 12:54 sologroovegames Note Added: 0010386
2025-03-05 12:54 sologroovegames Status feedback => assigned
2025-03-05 12:57 sologroovegames Note Edited: 0010386
2025-05-19 12:10 hcpizzi Note Added: 0010700
2025-05-19 12:10 hcpizzi Status assigned => feedback
2025-06-03 17:11 jsantos Target Version 3.2.8 => 3.2.9
2025-10-02 00:49 jsantos Target Version 3.2.9 => 3.2.10
2025-10-20 18:25 jsantos Target Version 3.2.10 => 3.2.11
2026-01-20 19:32 jsantos Target Version 3.2.11 => 3.2.12
2026-03-03 17:40 hcpizzi Note Added: 0011994
2026-03-04 00:39 jsantos Target Version 3.2.12 => 3.2.13