Custom Cursor and Web browser widget issue

Im using a custom cursor in my umg menu, All works like it should.

But ive just started to play around with the experimental web browser widget, which lead me to finding out the custom cursor does not work together with the web browser…

The moment you hover over a link/button on a web page you get the default cursor over the top of my custom cursor,
Does anyone have any pointers. on how to either disable my custom cursor during the web browser umg page and then enabled it again once web browser. Or of-course better again, Get the web browser to work with my custom cursors.

Hello soulmapp,

I was able to reproduce this issue on our end. I have written up a report (UE-26260) and I have submitted to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. I do not have any workarounds for this issue at this time. Thank you for your time and information.

Make it a great day

Hello! This issue still on 4.12.5 ((( I im crying. Dear Epic Games can you fix it?

I’m sure the developers are looking into the issue you mentioned. :slight_smile:

Hi, in this test, have you used to widget interaction component or set input mode game and UI with show mouse cursor? My hint is to navigate a web browser widget in VR.

Hello! no. If yhis realy works in nonVR 3d widget space- fine news)

Just to remind everyobody, I was running into the same problem today. Once the pointed hand cursor appears, it never goes away again, from now on showing the hand and the custom cursor together until you restart the editor

I’m having the same problem in 4.16.3 :frowning:

I’m at 4.18.3 but still having same issue ! Any plan to fix it soon? :frowning:

Still an issue in 4.19.2.

Im also having the same problem.
Have someone any workaround to fix this?

When website is loaded, the custom icon gets duplicated with the Hand windows default icon and If I close the web browser widget, it keeps duplicated until you close UE.

Anyone have a workaround for this issue? I’m totally fine writing some custom code to “reset” the cursor so to speak, but I’m having some problems parsing what’s going on in SlateApplication.cpp and ViewportClient.cpp that leads to a double cursor.

It seems whatever the browser is doing it’s causing both a software and hardware cursor to be rendered. Or, more accurately speaking, it’s rendering a hardware cursor when in the browser widget, but fails to clear it up if the app had originally been set to use a custom software cursor.

yeah it is still an issue or may be i didnt updated yet

Duplicate: Browser Widget Cursor Issue - UI - Epic Developer Community Forums

1 Like

To remove the hand pointer after closing the browser, you can call this custom function

void UProjectBlueprintFunctionLibrary::SetTypeShape()
{
	if (ICursor* Cursor = FSlateApplication::Get().GetPlatformCursor().Get())
	{
		Cursor->SetTypeShape(EMouseCursor::Custom, nullptr);
	}
}
1 Like

This works, Thanks!

Bro, thank you for the solution. I was trying to solve this for ages. The trick was to connect the script to the event tick after all. You are savior.

This code works, but the browser stops working correctly. So I fixed it with the following code for those who need it:

var nodos = document.querySelectorAll(‘*’);
for(var i = 0; i < nodos.length; i++) {
nodos[i].style.cursor = ‘default’;
nodos[i].style.pointerEvents = ‘auto’;
}