Keyboard shortcut event handling doesn't adapt to non-standard kb layouts

未關閉
#786 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
rust
領域
desktop, devtools

研究方向

The issue reports shortcut handling in the Makepad app and ChatGPT example demo, but does not name the event handling files or tests. Start by tracing how keyboard shortcut events are handled and compare that path with standard text input under a non-QWERTY layout. Done means shortcuts such as paste work at the OS-mapped key positions while standard typing still works.

由索引模型根據 Issue 內容生成。

描述

Steps to reproduce:

  1. Add non-standard keyboard layout, such as dvorak or colemark.
  2. Attempt to use a keyboard shortcut (like pasting into a text field) in the position the OS maps it to, it will not work.
  3. Use keyboard shortcut in default qwerty position, it will work there.

Dvorak will map the paste shortcut alphabet key to the opposite side of the keyboard. The OS maps shortcuts by the letter they are assigned to, and they're not tied to the position of the key in it's default qwerty state.

This only seems to affect shortcuts, standard typing comes through fine.

I verified that this bug exists in the Robrix app and the ChatGPT example demo in the makepad repo.

主要語言
Rust
星號
7.2k
分支
408
平均合併
10 小時 19 分鐘
30 天內合併 PR
33

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

makepad/makepad 的其他 Issue

查看 makepad/makepad 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。