Skip to content

复制触发器为“从悬浮窗启动”的自动化后,会立刻导致报错崩溃问题 #78

@daxf

Description

@daxf

检查清单

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

期望的行为

复制出第二个自动化

实际结果

复制成功,但是发生报错;此时软件未退出,但悬浮窗按钮消失
重新启用插件,启动后立刻发生闪退
删除复制出的自动化后,软件恢复正常

重现步骤

客户端版本2.0.3.2,插件版本2.5.0.0
1,创建一个触发器为“从悬浮窗启动”的自动化;
2,点击复制自动化
3,触发报错提示,插件停止运行

截图/录屏(可选,建议)

错误提示:
在向开发者提交问题时请保留以下信息:
TraceID: 2f05cd25a2a7438dbbac5eb06aa46fc1

此问题可能由以下插件引起,请在向 ClassIsland 开发者反馈问题前先向以下插件的开发者反馈此问题:

  • SystemTools [SystemTools,2.5.0.0]
    以上异常插件已自动禁用,重启应用后生效。您可以在排除问题后前往【应用设置】->【插件】中重新启用这些插件,或在【应用设置】->【基本】中调整是否自动禁用异常插件。
    ================================
    System.ArgumentException: An item with the same key has already been added. Key: f88d636a6416403da8f9d38bfb72165d
    at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)
    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func`2 elementSelector)
    at SystemTools.Services.FloatingWindowService.GetOrderedRows() in H:\Github Release Project\SystemTools\Services\FloatingWindowService.cs:line 509
    at SystemTools.Services.FloatingWindowService.RefreshWindowButtons() in H:\Github Release Project\SystemTools\Services\FloatingWindowService.cs:line 395
    at SystemTools.Services.FloatingWindowService.b__61_0() in H:\Github Release Project\SystemTools\Services\FloatingWindowService.cs:line 174
    at Avalonia.Threading.DispatcherOperation.InvokeCore()

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions