-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Labels
Bug在使用 ClassIsland 的过程中遇到了 Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项短期内不会计划完成的事项待发布待查看等待开发者查看此 Issue等待开发者查看此 Issue需要人工分类
Description
检查清单
- 我已更新到最新版
或
测试,并看过 最新提交,确认这一 Bug 还没有修复。我也已在 Issues 中检索,确认这一 Bug 未被提交过,并且在 常见问题 中没有解决方案。
- 我已经仔细阅读过选项里的内容,并且知道这个选项不用勾选。
- 我已知晓并同意,此处仅用于汇报程序中存在的问题(关于其他非程序本身的问题应当在 Discussion 板块提出)。
期望的行为
在“档案编辑-行动”中正常替换主题颜色后弹出提醒
实际结果
没换
重现步骤
- 在任何一个受信任的课表中添加一个行动
- 选择“应用设置-强调色”并更换为其他颜色
可选重启 ClassIsland- 等待到预期的触发时间
Note
- 目前已知自动化没有这个问题
- 第三步可选的原因是,如果不重启,或者保持“档案编辑”打开,会看不到
错误提示,但是行动依然没有执行 - 不要直接点触发按钮测试,很奇怪这样无法复现
截图/录屏(可选,建议)
System.Text.Json.JsonException: The JSON value could not be converted to Avalonia.Media.Color. Path: $ | LineNumber: 0 | BytePositionInLine: 11.
at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)
at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Deserialize(Utf8JsonReader& reader, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsObject(Utf8JsonReader& reader, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpanAsObject(ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.Deserialize(JsonElement element, Type returnType, JsonSerializerOptions options)
at ClassIsland.Services.Automation.Actions.ModifyAppSettingsAction.ConvertToAssignableToSettingsType(Object value, Type type) in /_/ClassIsland/Services/Automation/Actions/ModifyAppSettingsAction.cs:line 73
at ClassIsland.Services.Automation.Actions.ModifyAppSettingsAction.OnInvoke() in /_/ClassIsland/Services/Automation/Actions/ModifyAppSettingsAction.cs:line 35
at ClassIsland.Core.Abstractions.Automation.ActionBase.ExecuteAsync(ActionItem actionItem, ActionSet actionSet, Boolean isRevertable, Func`1 action) in /_/ClassIsland.Core/Abstractions/Automation/ActionBase.cs:line 92
堆栈跟踪(可选)
诊断信息
SystemOsVersion: Microsoft Windows 10.0.26100
SystemOsArch: X64
SystemDeviceName: MS-7A74
SystemDeviceVendor: MSI
AppPackageRoot: D:\Classisland2
AppRoot: D:\Classisland2\data
AppCurrentDirectory: D:\Classisland2\app-2.0.0.0-0
AppExecutingEntrance: D:\Classisland2\ClassIsland.exe
AppCurrentMemoryUsage: 400,359,424.00
AppStartupDurationMs: 2045
AppVersion: 2.0.0.0-Khaslana-4bea0da5(HEAD) (Core 2.0.0.0)
AppSubChannel: windows_x64_full_folder
AppIsAssetsTrimmed: False
DiagnosticFirstLaunchTime: 2025/12/21 12:25:28
DiagnosticStartupCount: 3
DiagnosticMemoryKillCount: 0
DiagnosticLastMemoryKillTime: 2025/12/21 12:25:28
DiagnosticMemoryKillFreqDay: 0.000
最后一步
- 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。
Metadata
Metadata
Assignees
Labels
Bug在使用 ClassIsland 的过程中遇到了 Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项短期内不会计划完成的事项待发布待查看等待开发者查看此 Issue等待开发者查看此 Issue需要人工分类