UI Preview works differently as in editor for Actions (at Windows Touch screens)

Hi,

I observed that UI Preview works well for Actions but In Sandbox not every actions are propagated. The difference you can easy see at Windows Touch Device. Where Sandbox miss Click actions, which respond as Pressed Actions (at touch device you should double click to get Click action).

Cheers

Hi @jasiuj,

Thanks for your feedback. Could I get some clarification on your issue?

It sounds like you are seeing this behavior:

  1. On a Windows Touch Device you expect a double tap to send a Pressed event to the UI canvas

  2. You do see this behavior in the UI Preview mode but not when the game is running in the Sandbox Editor.

Is that correct?

Thanks,
Rob

Hi @RobP ,

here I
provided you a comparison fore Action handling (for Button component):, Hover
Start:

UI Preview:

Mouse: fired when
mouse reached button, when it overlay button (without needs to click on it)

Windows Touch
Screen: fired when touch button (when button is already hovered then it will
not fire this event)

Sandbox:

Mouse: works
exactly the same as in UI Preview

Windows Touch
Screen: works exactly the same as in UI Preview

Hover End:

UI Preview:

Mouse: fired when
mouse was overlapped button and when is crossing out it’s bounds to reach
outside of its position

Windows Touch
Screen: fired when you slide filger from button to cross out it’s border to
reach outside of its position or when the button was hover and you click
somewhere outside of it

Sandbox:

Mouse: works
exactly the same as in UI Preview

Windows Touch
Screen: works exactly the same as in UI Preview

Pressed:

UI Preview:

Mouse: fire when
you press mouse button on it

Windows Touch
Screen: fired when you touch a button (the same as Hover Start) but you can
touch it’s many times even when this button is hovered then this event is fired
out (difference from Hover Start)

Sandbox:

Mouse: works
exactly the same as in UI Preview

Windows Touch
Screen: Difference from UI Preview: you need double tap (double click) at this
button to fire event

Released:

UI Preview:

Mouse: fire when
you click this button and exactly when you release mouse button over it

Windows Touch
Screen: fired when you release finger over this button

Sandbox:

Mouse: works
exactly the same as in UI Preview

Windows Touch
Screen: Difference from UI Preview: you need double tap (double click) at this
button to fire event

Click:

UI Preview:

Mouse: works
exactly the same as Released action

Windows Touch
Screen: works exactly the same as Released action

Sandbox:

Mouse: works
exactly the same as in UI Preview

Windows Touch
Screen: Difference from UI Preview: you need double tap (double click) at this
button to fire event

Please, if you will need more info please let contact me :slight_smile: Implement Windows Touch API gives you possibility to use this engine for advanced eKiosk (at the moment only UE4 it has).

Hi @jasiuj,

Thanks for bring this to our attention. We don’t currently support Windows Touch Screen in the game engine. We will look into adding support in an upcoming release.

Thank you @RobP :slight_smile: I think that it will be very usefull :slight_smile:

Hi @jasiuj,

Thanks for the detailed info. We will investigate whether the in-game input system is generating released events correctly on Windows Touch Screen.

Rob