Open
Description
Contact Details
@zxspectrum1984
IDE version
1.6.0-beta4
What happened?
I opened a 16X16 Sprite (and 32x32) then left clicked on one of the pixels and then cursor went to hourglass and closed down.
There were no error messages displayed.
Error and Warning messages
I looked into the Windows Even view and the following was recorded:
- System
- Provider
[ Name] .NET Runtime
- EventID 1026
[ Qualifiers] 0
Version 0
Level 2
Task 0
Opcode 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2025-06-16T09:26:42.7594342Z
EventRecordID 25869
Correlation
- Execution
[ ProcessID] 34644
[ ThreadID] 0
Channel Application
Computer G5-KD-10thGen
Security
- EventData
Application: ZXBasicStudio.exe CoreCLR Version: 8.0.1525.16413 .NET Version: 8.0.15 Description: The process was terminated due to an unhandled exception. Exception Info: System.IndexOutOfRangeException: Index was outside the bounds of the array. at ZXBasicStudio.DocumentEditors.ZXGraphics.SpritePatternEditor.SetAttribute(Pattern pattern, Int32 x, Int32 y) in /home/runner/work/ZXBasicStudio/ZXBasicStudio/ZXBStudio/DocumentEditors/ZXGraphics/SpritePatternEditor.axaml.cs:line 349 at ZXBasicStudio.DocumentEditors.ZXGraphics.SpritePatternEditor.SetPoint(Double mx, Double my, Int32 value) in /home/runner/work/ZXBasicStudio/ZXBasicStudio/ZXBStudio/DocumentEditors/ZXGraphics/SpritePatternEditor.axaml.cs:line 329 at ZXBasicStudio.DocumentEditors.ZXGraphics.SpritePatternEditor.GrdEditor_PointerPressed(Object sender, PointerPressedEventArgs e) in /home/runner/work/ZXBasicStudio/ZXBasicStudio/ZXBStudio/DocumentEditors/ZXGraphics/SpritePatternEditor.axaml.cs:line 224 at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e) at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e) at Avalonia.Input.MouseDevice.MouseDown(IMouseDevice device, UInt64 timestamp, IInputElement root, Point p, PointerPointProperties properties, KeyModifiers inputModifiers, IInputElement hitTest) at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e) at Avalonia.Threading.Dispatcher.Send(SendOrPostCallback action, Object arg, Nullable`1 priority) at Avalonia.Controls.TopLevel.HandleInput(RawInputEventArgs e) at Avalonia.Win32.WindowImpl.AppWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) at Avalonia.Win32.WindowImpl.WndProcMessageHandler(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg) at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken) at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl) at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args) at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder) at ZXBasicStudio.Program.Main(String[] args) in /home/runner/work/ZXBasicStudio/ZXBasicStudio/ZXBStudio/Program.cs:line 23
Hope that helps?
Code of Conduct
- I agree to follow this project's Code of Conduct