Skip to content

[clip] 剪贴板改变触发自定义组合动作报 MissingActionContext #76

Description

@ceastld

What happened

clip/main 设置「剪贴板改变时触发自定义动作」后,触发失败并弹出:

组合动作需要完整动作执行上下文,无法作为独立 Operation 执行。

Steps to reproduce

  1. ClipHost + Quicker 插件(尤其 net10 / V2)已连接
  2. 设置中填写一个组合动作的 Action ID 到「剪贴板改变时触发自定义动作」
  3. 复制任意内容

Root cause (初步)

Quicker.PluginSdk 的 QuickerActionRunner V2 路径对 IOperationExecutor.ExecuteAsync(actionItem, …) 直接调用且 未传入 ActionExecuteContext。组合动作(XAction)在 XActionOperationHandlerBase 校验失败并抛出 MissingActionContext。

正确路径应走 ActionExecutionService.ExecuteActionByIdOrName / AppServer.ExecuteActionByIdOrName(先建完整动作上下文再执行 Operation)。

Version / environment

clip/main · Quicker V2 / net10 plugin 路径(QuickerUtil.Net10 → QuickerHost.Actions.RunAsync)

Source

  • 会话内用户报障(截图)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions