This community has moved to Discord. More details here: https://platform.uno/blog/uno-platform-online-community-move-to-stackoverflow-and-discord/
MartinZikmund on mazi
chore: Adjusting repeater tests… (compare)
MartinZikmund on mazi
fix: WASM root element loading … (compare)
<media:RadialGradientBrush Center="0.6,0.35" GradientOrigin="0.6,0.35" RadiusY="0.67" RadiusX="0.67">
<GradientStop Color="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},Path=OnColor}" Offset="0"/>
<GradientStop Color="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},Path=OnColor}" Offset="1"/>
</media:RadialGradientBrush>
someone could help me with this issue:
VM59:1 fail: Windows.UI.Core.CoreDispatcher[0]
Dispatcher unhandled exception
System.PlatformNotSupportedException: Arg_PlatformNotSupported
at System.Threading.Thread.Start(Object parameter) in D:\a\Uno.DotnetRuntime.WebAssembly\Uno.DotnetRuntime.WebAssembly\runtime\src\mono\System.Private.CoreLib\src\System\Threading\Thread.Browser.Mono.cs:line 17
at System.Reactive.Concurrency.ConcurrencyAbstractionLayerImpl.StartThread(Action`1 action, Object state) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.cs:line 71
at System.Reactive.Concurrency.DefaultScheduler.LongRunning.LongScheduledWorkItem`1[[System.Reactive.ObserveOnObserverLongRunning`1[[ReduxSimple.ActionDispatchedWithOrigin, ReduxSimple, Version=3.6.1.0, Culture=neutral, PublicKeyToken=null]], System.Reactive, Version=4.4.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263]]..ctor(ObserveOnObserverLongRunning`1 state, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 185
at System.Reactive.Concurrency.DefaultScheduler.LongRunning.ScheduleLongRunning[ObserveOnObserverLongRunning`1](ObserveOnObserverLongRunning`1 state, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 204
i'm trying to run ReduxSimple library on wasm
viewmodel.cs
Task MyMethodAsync() => Task.CompletedTask;
page.xaml:
Click="{x:Bind ViewModel.MyMethodAsync}"
page.g.cs
case 7:
this.obj7 = target.As<Microsoft.UI.Xaml.Controls.Button>();
this.obj7Click = (global::System.Object p0, global::Microsoft.UI.Xaml.RoutedEventArgs p1) =>
{
this.dataRoot.ViewModel.MyMethodAsync(); // warning CS4014
};
(target.As<Microsoft.UI.Xaml.Controls.Button>()).Click += obj7Click;
break;
result: warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Anyone knows what's the appropiate thing to do in this case?
@xperiandri, I know plenty of apps that are configured this way. On my windows machine I have Spotify, MSI Afterburner, Logitech G Hub, and Mouse Without Borders which all use this approach.
The app I'm developing will not require a GUI 99% of the time. Only when configuration is needed, so I don't want it hogging up space as a window in the taskbar.
The main functionality of the app checks to see if a user defined keyboard combination is being held down, then communicates that to other connected clients which then simulate a completely different (or same) user defined keyboard combination being held down.
I'm developing the app to work with Windows first (I'm most familiar with it and have all the keyboard stuff already working), but would like to add Mac support later and possibly Linux support.
Since most of the keyboard functionality already requires low level OS specific code, I'm trying to minimize having to redo the UI for each platform as well.
Also I don't want to use WinUI because I don't want to limit my user base just to Windows 10 on Windows platforms.