I would like to report what I think is a bug, on Fuse 1.2.1
After working for several hours, I'm getting this after building (and clearing up my Build folder makes no difference too)
Compiling syntax tree
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\FIDESON.unoproj.g.uno(73.66): E2047: No implicit cast from 'MainView' to Uno.UX.PropertyObject
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\FIDESON.unoproj.g.uno(73,67): Error E2047: No implicit cast from 'MainView' to Uno.UX.PropertyObject
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\FIDESON.unoproj.g.uno(74.87): E2028: 'MainView' and Uno.UX.PropertyObject are not compatible types
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\FIDESON.unoproj.g.uno(74,88): Error E2028: 'MainView' and Uno.UX.PropertyObject are not compatible types
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\FIDESON.unoproj.g.uno(75.129): E2028: 'MainView' and Uno.UX.PropertyObject are not compatible types
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\FIDESON.unoproj.g.uno(75,130): Error E2028: 'MainView' and Uno.UX.PropertyObject are not compatible types
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\MainView.g.uno(16.13): E3102: There is no identifier named 'OnPropertyChanged' accessible in this scope. Did you mean 'OnPropertyChanged' (as in 'Uno.UX.IPropertyListener.OnPropertyChanged(Uno.UX.PropertyObject,Uno.UX.Selector)'), 'OnPropertyChanged' (as in 'Uno.UX.PropertyObject.OnPropertyChanged(Uno.UX.Selector,Uno.UX.IPropertyListener)') or 'OnPropertyChanged' (as in 'Uno.UX.PropertyObject.OnPropertyChanged(Uno.UX.Selector)'), or one of 4 other similar candidates?
C:\Users\kikiriki\Documents\Fuse\FIDESON\build\Local\Designer\cache\ux11\MainView.g.uno(16,14): Error E3102: There is no identifier named 'OnPropertyChanged' accessible in this scope. Did you mean 'OnPropertyChanged' (as in 'Uno.UX.IPropertyListener.OnPropertyChanged(Uno.UX.PropertyObject,Uno.UX.Selector)'), 'OnPropertyChanged' (as in 'Uno.UX.PropertyObject.OnPropertyChanged(Uno.UX.Selector,Uno.UX.IPropertyListener)') or 'OnPropertyChanged' (as in 'Uno.UX.PropertyObject.OnPropertyChanged(Uno.UX.Selector)'), or one of 4 other similar candidates?
(1,2 s)
Build completed in 2,12 seconds
4
Code on ux:
<App>
<TopFrameBackground Dock="Top" />
<BottomFrameBackground Dock="Bottom" />
<JavaScript>
var Observable = require("FuseJS/Observable");
var ActivePage = Observable("Page1");
function SetActive1(){
ActivePage.value = "Page1";
debug_log("setted1");
}
function SetActive2(){
ActivePage.value = "Page2";
debug_log("setted2");
}
module.exports = {
ActivePage: ActivePage,
SetActive1: SetActive1,
SetActive2: SetActive2
};
</JavaScript>
<PageControl Interaction="None" ux:Name="PgControl" Active="{ActivePage}">
<Page ux:Name="Page1" Background="#000">
<JavaScript File="Page1.js" />
<WhileActive>
<Callback Handler="{SetActive1}" />
<Change Target="PgControl.Transition" Value="Standard" />
</WhileActive>
<Font File="Lato-Light.ttf" ux:Global="Lato" />
<Font File="Roboto-Regular.ttf" ux:Global="RobotoR" />
<Font File="Roboto-Medium.ttf" ux:Global="RobotoM" />
<Font File="Roboto-Light.ttf" ux:Global="RobotoL" />
<Image Opacity="0.7" File="Assets/bg2.jpeg" Layer="Background" StretchMode="UniformToFill"/>
<StackPanel>
<Rectangle Margin="0,250,0,0">
<Image File="Assets/carteralogog.png" />
</Rectangle>
<Rectangle>
<Text TextColor="White" Margin="0,20,0,0" Font="Lato" FontSize="38" TextAlignment="Center" Value="{Saludo}" >
<DropShadow Size="10" Distance="3" Spread="0.05" Color="#0008" Angle="90" />
</Text>
</Rectangle>
<Rectangle>
<Text TextColor="White" Margin="0,10,0,0" Font="Lato" FontSize="18" TextAlignment="Center" Value="{LaFecha}" >
<DropShadow Size="10" Distance="3" Spread="0.05" Color="#0008" Angle="90" />
</Text>
</Rectangle>
<Rectangle ux:Name="btnIngresar" Opacity="1" Margin="0,20,0,0" CornerRadius="20" Clicked="{SetActive2}" Width="50%" Height="40" Color="White">
<Text TextColor="Black" Alignment="VerticalCenter" TextAlignment="Center">Ingresar</Text>
<WhilePressed>
<Change btnIngresar.Opacity="0.5"/>
</WhilePressed>
</Rectangle>
</StackPanel>
</Page>
<!-- PAGE 2 -->
<Page ux:Name="Page2">
<WhileBusy>
<Change Target="WhileBusyPanel.Visibility" Value="Visible" />
</WhileBusy>
<!-- WHILE BUSY -->
<DockPanel ux:Name="WhileBusyPanel" Visibility="Collapsed" >
<WhileVisible>
<Cycle Target="myTimeline.TargetProgress" Low="0" High="1" Frequency=".5" />
<Spin Target="rotatingStroke" Frequency="1" />
<Cycle Target="cargandoText.Opacity" Low="0" High="1" Frequency=".7" />
</WhileVisible>
<Rectangle Opacity="0.9" Alignment="VerticalCenter" Margin="15,15,0,0" CornerRadius="20" Color="#fff" Width="70%" Height="50%">
<DropShadow Size="30" Distance="3" Spread="0.05" Color="#0008" Angle="90" />
<float4 ux:Property="ThemeColor" />
<Circle ux:Name="rotatingStroke" Width="130" Height="130" StartAngleDegrees="-45" EndAngleDegrees="45">
<Stroke Width="2" Color="Red" />
</Circle>
<Circle Color="Red" Width="30" Height="30">
<Timeline ux:Name="myTimeline">
<Scale Factor=".5" Duration=".25" Easing="CircularOut" EasingBack="CircularIn" />
<Scale Factor="2" Duration=".25" Delay=".25" Easing="BounceOut" EasingBack="BounceIn" />
</Timeline>
</Circle>
<Text ux:Name="cargandoText" FontSize="18" Margin="0,0,0,50" TextColor="#323232" TextAlignment="Center" Alignment="BottomCenter">Cargando</Text>
<Text FontSize="17" Margin="0,0,0,18" TextColor="Black" TextAlignment="Center" Alignment="BottomCenter">Por favor, espere ...</Text>
</Rectangle>
</DockPanel>
<!-- END WHILE BUSY -->
<JavaScript File="Page2.js" />
<WhileActive>
<Change Target="PgControl.Transition" Value="None" />
</WhileActive>
<EdgeNavigator>
<Panel ux:Name="sidebar" Edge="Right" Width="100%" Margin="56,0,0,0" Background="#fff">
<Shadow ux:Name="shadow" Angle="180" Distance="8" Size="16" Color="#0000" />
<ActivatingAnimation>
<Change shadow.Color="#0004" />
<Change sidebarFade.Opacity="1" />
</ActivatingAnimation>
<StackPanel>
<Rectangle Width="100%" Height="30"></Rectangle>
<Rectangle Color="#fff" Width="100%" Height="50"><Text FontSize="18" TextColor="#616161" TextAlignment="Center" Font="RobotoR" Alignment="VerticalCenter">Menú de Opciones</Text></Rectangle>
<Rectangle Width="100%" Height="1px" Color="#4c4c4c" Opacity="0.3"/>
<Rectangle ux:Name="btnSolicita" Color="#fff" Width="100%" Height="50"><Text Margin="15,0,0,0" TextAlignment="Left" Font="RobotoR" Alignment="VerticalCenter">Solicita tu crédito</Text><Image Margin="0,0,15,0" Opacity="0.5" Alignment="CenterRight" Width="20" Height="20" File="Assets/i3.png"></Image>
<WhilePressed>
<Change Target="btnSolicita.Opacity" Value="0.6" />
</WhilePressed>
</Rectangle>
<Rectangle ux:Name="btnIniciarSesion" Color="#e0e0e0" Width="100%" Height="50"><Rectangle Alignment="Left" Width="1%" Height="50" Color="#d32f2f"></Rectangle><Rectangle Alignment="Right" Width="1%" Height="50" Color="#d32f2f"></Rectangle><Text Margin="15,0,0,0" TextColor="#616161" TextAlignment="Left" Font="RobotoR" Alignment="VerticalCenter">Iniciar Sesión</Text><Image Margin="0,0,15,0" Opacity="0.5" Alignment="CenterRight" Width="20" Height="20" File="Assets/i1.png"></Image>
<WhilePressed>
<Change Target="btnIniciarSesion.Opacity" Value="0.6" />
</WhilePressed>
<Clicked>
<NavigateToggle Target="sidebar" />
</Clicked>
</Rectangle>
<Rectangle ux:Name="btnConsulta" Color="#fff" Width="100%" Height="50"><Text Margin="15,0,0,0" TextAlignment="Left" Font="RobotoR" Alignment="VerticalCenter">Consulta de Crédito</Text><Image Margin="0,0,15,0" Opacity="0.5" Alignment="CenterRight" Width="20" Height="20" File="Assets/i2.png"></Image>
<WhilePressed>
<Change Target="btnConsulta.Opacity" Value="0.6" />
</WhilePressed>
</Rectangle>
<Rectangle Width="90%" Height="1px" Color="#4c4c4c" Opacity="0.3"/>
<Rectangle ux:Name="btnCalcula" Color="#fff" Width="100%" Height="50"><Text Margin="15,0,0,0" TextAlignment="Left" Font="RobotoR" Alignment="VerticalCenter">Calcula tus Pagos</Text><Image Margin="0,0,15,0" Opacity="0.5" Alignment="CenterRight" Width="20" Height="20" File="Assets/i7.png"></Image>
<WhilePressed>
<Change Target="btnCalcula.Opacity" Value="0.6" />
</WhilePressed>
</Rectangle>
<Rectangle Width="90%" Height="1px" Color="#4c4c4c" Opacity="0.3"/>
<Rectangle ux:Name="btnContacto" Color="#fff" Width="100%" Height="50"><Text Margin="15,0,0,0" TextAlignment="Left" Font="RobotoR" Alignment="VerticalCenter">Contáctenos</Text><Image Margin="0,0,15,0" Opacity="0.5" Alignment="CenterRight" Width="20" Height="20" File="Assets/i4.png"></Image>
<WhilePressed>
<Change Target="btnContacto.Opacity" Value="0.6" />
</WhilePressed>
</Rectangle>
<Rectangle Width="90%" Height="1px" Color="#4c4c4c" Opacity="0.3"/>
<Rectangle ux:Name="btnUbicacion" Color="#fff" Width="100%" Height="50"><Text Margin="15,0,0,0" TextAlignment="Left" Font="RobotoR" Alignment="VerticalCenter">Ubicación</Text><Image Margin="0,0,15,0" Opacity="1" Alignment="CenterRight" Width="20" Height="20" File="Assets/i6.png"></Image>
<WhilePressed>
<Change Target="btnUbicacion.Opacity" Value="0.6" />
</WhilePressed>
</Rectangle>
<Rectangle Width="90%" Height="1px" Color="#4c4c4c" Opacity="0.3"/>
<Rectangle ux:Name="btnSalir" Color="#fff" Width="100%" Height="50"><Text Margin="15,0,0,0" TextAlignment="Left" Font="RobotoR" Alignment="VerticalCenter">Salir</Text><Image Margin="0,0,15,0" Opacity="0.5" Alignment="CenterRight" Width="20" Height="20" File="Assets/i5.png"></Image>
<WhilePressed>
<Change Target="btnSalir.Opacity" Value="0.6" />
</WhilePressed>
<Clicked>
<Callback Handler="{SetActive1}" />
</Clicked>
</Rectangle>
<Rectangle Width="90%" Height="1px" Color="#4c4c4c" Opacity="0.3"/>
</StackPanel>
</Panel>
<DockPanel Color="#263238">
<Rectangle ux:Name="sidebarFade" Layer="Overlay" Color="#0005" Opacity="0" HitTestMode="None" />
<StackPanel Dock="Top" Color="#F44336">
<Shadow Size="3" Distance="1" />
<StatusBarBackground />
<Panel Height="56">
<Hamburger Alignment="Right">
<Clicked>
<NavigateToggle Target="sidebar" />
</Clicked>
</Hamburger>
</Panel>
</StackPanel>
<StackPanel>
<WhileKeyboardVisible>
<Change Target="texto1.Visibility" Value="Collapsed"/>
<Change Target="texto2.Visibility" Value="Collapsed"/>
</WhileKeyboardVisible>
<Rectangle ux:Name="texto1" Margin="15,35,15,0">
<Text TextAlignment="Center" TextColor="White" FontSize="23" Font="Lato" TextWrapping="Wrap">Bienvenido al Portal Móvil FIDESON</Text>
</Rectangle>
<Rectangle ux:Name="texto2" Margin="15,15,15,0">
<Text TextAlignment="Center" TextColor="White" FontSize="19" Font="Lato" TextWrapping="Wrap">Continúa llenando tu solicitud o inicia una nueva</Text>
</Rectangle>
<Rectangle Alignment="Left" Margin="15,15,0,0" CornerRadius="5" Color="#5cb85c" Width="30%" Height="25"><Text FontSize="14" TextColor="White" TextAlignment="Center" Alignment="VerticalCenter">Usuario:</Text></Rectangle>
<TextInput Opacity="0.8" Value="{usuario}" Padding="10,0,10,0" Margin="0,15,0,0" Alignment="VerticalCenter" Width="90%" Height="45" Background="White"></TextInput>
<Rectangle Alignment="Left" Margin="15,15,0,0" CornerRadius="5" Color="#5cb85c" Width="30%" Height="25"><Text FontSize="14" TextColor="White" TextAlignment="Center" Alignment="VerticalCenter">Contraseña:</Text></Rectangle>
<TextInput Opacity="0.8" Value="{password}" Padding="10,0,10,0" Margin="0,15,0,0" IsPassword="true" Alignment="VerticalCenter" Width="90%" Height="45" Background="White"></TextInput>
<Button Clicked="{ingresar}" ux:Name="btnIngresar2" Alignment="VerticalCenter" Margin="0,15,0,0" Background="#009688" Height="50" Width="40%">
<WhilePressed>
<Change Target="btnIngresar2.Opacity" Value="0.6" />
</WhilePressed>
<Text TextColor="White" Alignment="VerticalCenter" TextAlignment="Center">Ingresar</Text>
</Button>
<Text TextWrapping="Wrap" Margin="0,15,0,0" Value="{loginError}" TextColor="Red" TextAlignment="Center"></Text>
</StackPanel>
</DockPanel>
</EdgeNavigator>
</Page>
<!-- END PAGE 2 -->
</PageControl>
</App>
Changed nothing on uno, my .unoproj is almost stock, some .js with nothing regarding uno, removing the code after getting a reply.
Thanks.