View Issue Details

IDProjectCategoryView StatusLast Update
0003754NoesisGUIUnity3Dpublic2024-10-28 12:11
Reporterchristallire Assigned Tosfernandez  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version3.2.4 
Summary0003754: CaptureMouse does not work.
DescriptionBoth MouseDown and MouseUp are firing when CaptureMouse is not called.
When I call CaptureMouse, only MouseDown is sent to the component and nothing after.

I had to implement both MouseDown and PointerEvents(IPointerDownHandler, IPointerUpHandler) to handle mouse-up events outside of the component.
TagsNo tags attached.
PlatformAny

Activities

sfernandez

sfernandez

2024-10-28 11:14

manager   ~0010070

Could you elaborate a bit more what is your scenario.
Who is calling CaptureMouse and on which element?
What component is listening to MouseDown? the Noesis event, or the Unity MonoBehavior OnMouseDown message?
christallire

christallire

2024-10-28 12:00

reporter   ~0010071

Hey, it's World UI.
Sorry for missing details.

GameObject
|- Noesis World UI - MouseDown event in Noesis UserControl inherited component
|- MonoBehvior - PointerEvents(IPointerDownHandler, IPointerUpHandler)
christallire

christallire

2024-10-28 12:11

reporter   ~0010073

I was trying to implement drag-and-drop behavior
The problem is that when the mouse leaves the hit test region, the MouseUp event is not fired.
That's why I need CaptureMouse when I receive a MouseDown event.

Issue History

Date Modified Username Field Change
2024-10-25 16:13 christallire New Issue
2024-10-25 16:24 christallire Severity minor => major
2024-10-25 16:24 christallire Description Updated
2024-10-25 16:25 christallire Description Updated
2024-10-28 10:40 jsantos Assigned To => sfernandez
2024-10-28 10:40 jsantos Status new => assigned
2024-10-28 11:14 sfernandez Status assigned => feedback
2024-10-28 11:14 sfernandez Note Added: 0010070
2024-10-28 12:00 christallire Note Added: 0010071
2024-10-28 12:00 christallire Status feedback => assigned
2024-10-28 12:11 christallire Note Added: 0010073