WalletWasabi icon indicating copy to clipboard operation
WalletWasabi copied to clipboard

[VDG] Avalonia 11 Port

Open jmacato opened this issue 1 year ago • 4 comments

Continues from #8580

cc @zkSNACKs/visual-design-group @wieslawsoltes

jmacato avatar Sep 01 '22 04:09 jmacato

I got this error when I tried to load a wallet:

2022-09-04 19:58:00.262 [109] INFO      WalletManager.StartWalletAsync (163)    Wallet 'Kiminuo' started.
2022-09-04 19:58:00.366 [1] CRITICAL    Program.Main (134)      System.TypeLoadException: Could not load type 'Avalonia.Utilities.WeakSubscriptionManager' from assembly 'Avalonia.Base, Version=11.0.0.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'.
   at Avalonia.Controls.Utils.CollectionChangedEventManager.AddListener(INotifyCollectionChanged collection, ICollectionChangedListener listener)
   at Avalonia.Controls.TreeDataGridItemsSourceView.AddListener(ICollectionChangedListener listener) in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\TreeDataGridItemsSourceView.cs:line 201
   at Avalonia.Controls.Selection.SelectionNodeBase`1.set_Source(IEnumerable value) in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\Selection\SelectionNodeBase.cs:line 34
   at Avalonia.Controls.Selection.TreeSelectionNode`1.set_Source(IEnumerable value) in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\Selection\TreeSelectionNode.cs:line 40
   at Avalonia.Controls.Selection.TreeSelectionModelBase`1.set_Source(IEnumerable value) in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\Selection\TreeSelectionModelBase.cs:line 137
   at Avalonia.Controls.Selection.TreeSelectionModelBase`1..ctor(IEnumerable source) in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\Selection\TreeSelectionModelBase.cs:line 33
   at Avalonia.Controls.Selection.TreeDataGridRowSelectionModel`1..ctor(ITreeDataGridSource`1 source) in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\Selection\TreeDataGridRowSelectionModel.cs:line 25
   at Avalonia.Controls.HierarchicalTreeDataGridSource`1.get_Selection() in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\HierarchicalTreeDataGridSource.cs:line 67
   at Avalonia.Controls.HierarchicalTreeDataGridSource`1.get_RowSelection() in C:\Users\chihe\OneDrive\Bureau\WalletWasabi\Submodules\Avalonia.Controls.TreeDataGrid\src\Avalonia.Controls.TreeDataGrid\HierarchicalTreeDataGridSource.cs:line 79
   at WalletWasabi.Fluent.ViewModels.Wallets.Home.History.HistoryViewModel..ctor(WalletViewModel walletViewModel, IObservable`1 updateTrigger) in WalletWasabi.Fluent\ViewModels\Wallets\Home\History\HistoryViewModel.cs:line 173
   at WalletWasabi.Fluent.ViewModels.Wallets.WalletViewModel..ctor(Wallet wallet) in WalletWasabi.Fluent\ViewModels\Wallets\WalletViewModel.cs:line 67
   at WalletWasabi.Fluent.ViewModels.Wallets.WalletViewModel.Create(Wallet wallet) in WalletWasabi.Fluent\ViewModels\Wallets\WalletViewModel.cs:line 270
   at WalletWasabi.Fluent.ViewModels.WalletManagerViewModel.OpenWallet(Wallet wallet) in WalletWasabi.Fluent\ViewModels\WalletManagerViewModel.cs:line 170
   at WalletWasabi.Fluent.ViewModels.WalletManagerViewModel.OpenClosedWallet(ClosedWalletViewModel closedWalletViewModel) in WalletWasabi.Fluent\ViewModels\WalletManagerViewModel.cs:line 153
   at WalletWasabi.Fluent.ViewModels.WalletManagerViewModel.<.ctor>b__5_3(Wallet wallet) in WalletWasabi.Fluent\ViewModels\WalletManagerViewModel.cs:line 57
   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 54
   at System.Reactive.ObserveOnObserverNew`1.DrainStep(ConcurrentQueue`1 q) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 561
   at System.Reactive.ObserveOnObserverNew`1.DrainShortRunning(IScheduler recursiveScheduler) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 507
   at System.Reactive.ObserveOnObserverNew`1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew`1 self) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 497
   at Avalonia.Threading.AvaloniaScheduler.<>c__DisplayClass4_1`1.<Schedule>b__1() in /_/src/Avalonia.Base/Threading/AvaloniaScheduler.cs:line 45
   at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 38
   at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in /_/src/Windows/Avalonia.Win32/Win32Platform.cs:line 287
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in /_/src/Windows/Avalonia.Win32/Win32Platform.cs:line 214
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 61
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
   at WalletWasabi.Fluent.Desktop.Program.Main(String[] args) in WalletWasabi.Fluent.Desktop\Program.cs:line 112
2022-09-04 19:58:00.367 [1] DEBUG       TerminateService.Terminate (102)        Start shutting down the application.

@yahiheb Can you try now ? I have pushed fixes.

wieslawsoltes avatar Sep 19 '22 10:09 wieslawsoltes

LineChart needs fixing

image

wieslawsoltes avatar Sep 19 '22 10:09 wieslawsoltes

Fixed LineChart control

image

wieslawsoltes avatar Sep 19 '22 11:09 wieslawsoltes

@yahiheb Can you try now ? I have pushed fixes.

@wieslawsoltes Yes this issue is now fixed. Thanks.

yahiheb avatar Sep 19 '22 19:09 yahiheb