Skip to content

设置Shift键commit_code之后大写键行为异常 #1814

@hellojianqun

Description

@hellojianqun

操作系统信息

  • OS 详细版本: [ Win10/Win11 ]
  • 小狼毫版本: [ 0.17.4 ]

描述遇到的问题
default.custom.yaml中配置了Shift键为commit_code,中文输入状态下按大写键,再输入时大写字母处于候选框中而不是直接上屏,且退格键无法删除候选框中的大写字母

复现步骤

  1. default.custom.yaml中做如下配置:
patch:
  ascii_composer:
    switch_key:
      Shift_L: commit_code
      Shift_R: commit_code
  1. 中文输入状态下,按大写键,然后输入字母
  2. 发现仍处于中文输入状态,大写字母处于候选框而不是直接上屏,且退格键无法删除候选框中的大写字母
Image

预期行为
切换到大写输入后,大写字母直接上屏,退格键可正常删除

其他补充说明
如果去除default.custom.yaml中的上述配置,行为就能符合预期

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