Skip to content

[Bug] 插件焦点异常 #570

Description

@drjgit

🐛 Bug 描述

应用内插件,默认焦点不在搜索框内

📋 复现步骤

  1. Alt+Z呼出搜索框
  2. 搜索linxu命令文档
  3. 确认进入插件内
  4. linux命令文档搜索框内无焦点

✅ 预期行为

希望在含有搜索框的插件,在打开插件时默认焦点在搜索框内,以方便继续查找新内容

❌ 实际行为

实际需要通过鼠标,在搜索框内点击一下才可以进行输入,以及后续搜索操作

📸 截图

💻 环境信息

  • OS: Windows 11
  • ZTools 版本: 2.6.1
  • Node.js 版本(如果从源码运行): 无

📝 错误日志

🔍 额外信息

❓疑问

当ZToos隐藏后,当前插件是关闭了,还是隐藏了。设置中是否可以提供一个失去焦点后关闭插件的选项

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions