View Issue Details

IDProjectCategoryView StatusLast Update
0001588NoesisGUIUnitypublic2019-12-05 20:00
Reporterstonstad Assigned To 
PrioritynormalSeverityminor 
Status newResolutionopen 
Summary0001588: MouseEnter Events Fire When NoesisView.MouseEnabled Disabled
Description

I have UI elements which are visible while the cursor is locked and hidden.

To prevent UI events from firing I am setting NoesisView.EnableMouse = false. I am finding that the invisible cursor still interacts with these visible UI elements via MouseEnter event. They occur even when NoesisView.EnableMouse is false. Here is the strange thing -- it happens only if EnableMouse is set via code. If I change this boolean property via the NoesisView.cs Editor UI, events do not fire, as expected.

I looked at NoesisView.cs and I don't even know how this is possible.

I put debug statements in NoesisView --

private void UpdateInputs()
{
if (_enableMouse)
{
Debug.Log(name + " " + "Mouse Enabled");
UpdateMouse();
}

I can confirm that with API calls and the checkbox via the editor, this setting flips properly. However, while I can see that the setting is NOT checked and I get NO debug output from the above, MouseEnter events STILL fire.

PlatformAny

Activities

stonstad

stonstad

2019-11-24 21:00

reporter   ~0006007

Last edited: 2019-11-24 21:00

Also disabled touch and gamepad input at the same time as mouse -- and if flipped via code, I can confirm no change in behavior -- still seeing MouseEnter events fire.

stonstad

stonstad

2019-12-05 20:00

reporter   ~0006032

This behavior does not reproduce in a separate project that is designed to just show the error. I'll report back after I find success reproducing it in a separate project.

Issue History

Date Modified Username Field Change
2019-11-24 20:59 stonstad New Issue
2019-11-24 21:00 stonstad Note Added: 0006007
2019-11-24 21:00 stonstad Note Edited: 0006007
2019-11-24 21:01 stonstad Description Updated
2019-12-05 20:00 stonstad Note Added: 0006032
2025-10-10 13:29 jsantos Category Unity3D => Unity