View Issue Details

IDProjectCategoryView StatusLast Update
0001772NoesisGUIUnity3Dpublic2020-08-12 10:27
ReporterasusralisAssigned Tosfernandez 
Status resolvedResolutionno change required 
Product Version3.0.4 
Target Version3.0.5Fixed in Version3.0.5 
Summary0001772: Going from 3.0.3 -> 3.0.4 has broken certain MouseEnter events.
DescriptionI see this in two areas -

1): My buttons have stopped changing colors when you put your cursor over them. I define my button like this:

   <Style BasedOn="{StaticResource Style.ButtonBase}" TargetType="Button">
        <Setter Property="Background" Value="{StaticResource Button.Background.Static}" />
        <Setter Property="BorderThickness" Value="3" />
        <Setter Property="BorderBrush" Value="#355C7D" />
        <Setter Property="Template">
                <ControlTemplate TargetType="Button">
                        Padding="{TemplateBinding Padding}"
                        Background="{TemplateBinding Background}"
                        BorderBrush="{TemplateBinding BorderBrush}"
                        BorderThickness="{TemplateBinding BorderThickness}">
                            HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                            VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                            TextElement.FontSize="{TemplateBinding FontSize}" />
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource Button.Background.Hovered}" />
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource Button.Background.Pressed}" />
            <Trigger Property="IsEnabled" Value="False">
                <Setter Property="Background" Value="{StaticResource Button.Background.Disabled}" />
                <Setter Property="BorderBrush" Value="{StaticResource Button.Background.Disabled}" />

2): I also use MoseOver directly in some controls, and they have stopped working as well:

        protected override bool ConnectEvent(object source, string eventName, string handlerName)
            if(eventName == "MouseEnter" && handlerName == "Status_MouseEnter")
                ((FrameworkElement)source).MouseEnter += Status_MouseEnter;
                return true;

            return false;

private void Status_MouseEnter(object sender, MouseEventArgs args)
            // Is not invoked.

The only change has been updating to 3.0.4; everything works correctly on 3.0.3.

edit: I don't get any errors or crashes, so I'm not sure how to reproduce this.
TagsNo tags attached.




2020-08-10 17:45

manager   ~0006566

Is it possible you have "Emulate Touch" enabled in your NoesiView component?
We did a change there to mimic the events generated when using touch devices, that is, avoid sending TouchMove/MouseMove if no finger is pressed.


2020-08-10 17:50

reporter   ~0006567

Last edited: 2020-08-10 18:15

View 2 revisions

Yes, that does seem to be the problem. This change actually will benefit me as well, but is there any way way to have both as an option? It's really nice to be able to drag your mouse to go down lists while on a desktop. I would only want to turn this off when testing for mobile.



2020-08-11 12:58

manager   ~0006568

I don't think it would be the expected behavior to scroll lists by dragging the mouse.
That flag is meant to test the experience of touch devices using the mouse, and you can always switch that flag while playing if you need to test drag scrolling using the mouse.

Do you think we can close this issue?


2020-08-11 14:21

reporter   ~0006569


Issue History

Date Modified Username Field Change
2020-08-10 17:30 asusralis New Issue
2020-08-10 17:32 jsantos Assigned To => sfernandez
2020-08-10 17:32 jsantos Status new => assigned
2020-08-10 17:32 jsantos Target Version => 3.0.5
2020-08-10 17:33 asusralis Description Updated View Revisions
2020-08-10 17:42 sfernandez Category C++ SDK => Unity3D
2020-08-10 17:45 sfernandez Status assigned => feedback
2020-08-10 17:45 sfernandez Note Added: 0006566
2020-08-10 17:50 asusralis Note Added: 0006567
2020-08-10 17:50 asusralis Status feedback => assigned
2020-08-10 18:15 asusralis Note Edited: 0006567 View Revisions
2020-08-11 12:58 sfernandez Status assigned => feedback
2020-08-11 12:58 sfernandez Note Added: 0006568
2020-08-11 14:21 asusralis Note Added: 0006569
2020-08-11 14:21 asusralis Status feedback => assigned
2020-08-12 10:27 sfernandez Status assigned => resolved
2020-08-12 10:27 sfernandez Resolution open => no change required
2020-08-12 10:27 sfernandez Fixed in Version => 3.0.5