Skip to content

[1.7.105.0] 拖动排序通知提醒提供方列表出现报错 #1267

@genius-alray

Description

@genius-alray

检查清单

  • 我已更新到最新版 最新的版本号最新的版本号 测试,并看过 最新提交,确认这一 Bug 还没有修复。我也已在 Issues 中检索,确认这一 Bug 未被提交过,并且在 常见问题 中没有解决方案。
  • 我已经仔细阅读过选项里的内容,并且知道这个选项不用勾选。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题(关于其他非程序本身的问题应当在 Discussion 板块提出)。

期望的行为

正常处理拖动排序,或者也许这根本不是预期行为?

实际结果

提醒提供方可以被排序,但会引起异常
Image

重现步骤

如上图

堆栈跟踪(可选)

在向开发者提交问题时请保留以下信息:
TraceID: d8275db2aa6c4b15830fdea2d73c4e29
================================
System.NotSupportedException: Collection was of a fixed size.
   at System.Array.System.Collections.IList.RemoveAt(Int32 index)
   at Avalonia.Xaml.Interactions.Draggable.ItemDragBehavior.MoveDraggedItem(ItemsControl itemsControl, Int32 draggedIndex, Int32 targetIndex) in /_/src/Avalonia.Xaml.Interactions.Draggable/ItemDragBehavior.cs:line 234
   at Avalonia.Xaml.Interactions.Draggable.ItemDragBehavior.Released() in /_/src/Avalonia.Xaml.Interactions.Draggable/ItemDragBehavior.cs:line 161
   at Avalonia.Xaml.Interactions.Draggable.ItemDragBehavior.PointerReleased(Object sender, PointerReleasedEventArgs e) in /_/src/Avalonia.Xaml.Interactions.Draggable/ItemDragBehavior.cs:line 127
   at Avalonia.Interactivity.Interactive.<AddHandler>g__InvokeAdapter|4_0[TEventArgs](Delegate baseHandler, Object sender, RoutedEventArgs args)
   at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
   at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
   at Avalonia.Input.MouseDevice.MouseUp(IMouseDevice device, UInt64 timestamp, IInputRoot root, Point p, PointerPointProperties props, KeyModifiers inputModifiers, IInputElement hitTest)
   at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e)
   at Avalonia.Threading.Dispatcher.Send(SendOrPostCallback action, Object arg, Nullable`1 priority)

诊断信息

SystemOsVersion: Microsoft Windows 10.0.26100
SystemOsArch: X64
SystemDeviceName: 90T1002XCP
SystemDeviceVendor: LENOVO
AppPackageRoot: C:\Users\Alray\Desktop\classisland
AppRoot: C:\Users\Alray\Desktop\classisland\data
AppCurrentDirectory: C:\Users\Alray\Desktop\classisland\app-1.7.105.0
AppCurrentMemoryUsage: 418,983,936.00
AppStartupDurationMs: 1178
AppVersion: 1.7.105.0-Khaslana-95df7bd5(HEAD) (Core 2.0.0.0)
AppSubChannel: windows_x64_full_folder
AppIsAssetsTrimmed: False
DiagnosticFirstLaunchTime: 2025/8/10 0:10:35
DiagnosticStartupCount: 24
DiagnosticMemoryKillCount: 0
DiagnosticLastMemoryKillTime: 2025/8/10 0:10:35
DiagnosticMemoryKillFreqDay: 0.000

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项待查看等待开发者查看此 Issue类别:课程服务LessonsService

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions