Closing the "Calculating entropy" window using the X causes the GUI to crash #406

Open
opened 2026-01-29 15:18:06 +00:00 by claunia · 0 comments
Owner

Originally created by @TheRogueArchivist on GitHub (Apr 18, 2020).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Xubuntu 19.10...
  • ...in 64-bit

Description

The GUI crashes when closing the "Calculating entropy" window using the X on the window itself. The GUI doesn't crash if you close the window using the close button that appears after you calculate the entropy. The following is printed to the console:
"Unhandled exception. System.NotImplementedException: The method or operation is not implemented.
at Aaru.Gui.ViewModels.Windows.ImageEntropyViewModel.ExecuteStopCommand() in /home/silas/Desktop/Aaru/Aaru.Gui/ViewModels/Windows/ImageEntropyViewModel.cs:line 369
at Aaru.Gui.Views.Windows.ImageEntropy.OnClosing(CancelEventArgs e) in /home/silas/Desktop/Aaru/Aaru.Gui/Views/Windows/ImageEntropy.xaml.cs:line 55
at Avalonia.Controls.Window.HandleClosing()
at Avalonia.X11.X11Window.OnEventSync(XEvent ev)
at Avalonia.X11.X11Window.OnEvent(XEvent ev)
at Avalonia.X11.X11PlatformThreading.HandleX11(CancellationToken cancellationToken)
at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at Aaru.Gui.Main.Start(String[] args) in /home/silas/Desktop/Aaru/Aaru.Gui/Main.cs:line 10
at Aaru.MainClass.Main(String[] args) in /home/silas/Desktop/Aaru/Aaru/Main.cs:line 73
Aborted"

Originally created by @TheRogueArchivist on GitHub (Apr 18, 2020). ### Prerequisites * [X] Are you running the latest version? * [X] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [X] I was running Aaru under Xubuntu 19.10... * [X] ...in 64-bit ### Description The GUI crashes when closing the "Calculating entropy" window using the X on the window itself. The GUI doesn't crash if you close the window using the close button that appears after you calculate the entropy. The following is printed to the console: "Unhandled exception. System.NotImplementedException: The method or operation is not implemented. at Aaru.Gui.ViewModels.Windows.ImageEntropyViewModel.ExecuteStopCommand() in /home/silas/Desktop/Aaru/Aaru.Gui/ViewModels/Windows/ImageEntropyViewModel.cs:line 369 at Aaru.Gui.Views.Windows.ImageEntropy.OnClosing(CancelEventArgs e) in /home/silas/Desktop/Aaru/Aaru.Gui/Views/Windows/ImageEntropy.xaml.cs:line 55 at Avalonia.Controls.Window.HandleClosing() at Avalonia.X11.X11Window.OnEventSync(XEvent ev) at Avalonia.X11.X11Window.OnEvent(XEvent ev) at Avalonia.X11.X11PlatformThreading.HandleX11(CancellationToken cancellationToken) at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken) at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) at Aaru.Gui.Main.Start(String[] args) in /home/silas/Desktop/Aaru/Aaru.Gui/Main.cs:line 10 at Aaru.MainClass.Main(String[] args) in /home/silas/Desktop/Aaru/Aaru/Main.cs:line 73 Aborted"
claunia added the gui label 2026-01-29 15:18:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#406