godotjs / godotjs/javascript

TextEdit can be focused when running game

オープン
#206 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
C++
スター
1.1k
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

説明

### Version

4.1-0.0.17

### System information

Godot v4.1.5.rc (488757bd0) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA RTX A3000 Laptop GPU (NVIDIA; 31.0.15.2879) - 11th Gen Intel(R) Core(TM) i5-11500H @ 2.90GHz (12 Threads)

### Issue description

Attaching any `.mjs` script to an `TextEdit` Node will disable the focus when running the game

### Steps to reproduce

1. Create a script `my-class.mjs`
2. Add a `Control` node
3. Add a `TextEdit` node inside `Control`
4. Attach `my-class.mjs` to `TextEdit`
5. Run game
6. Cannot write or focus `TextEdit`

### Minimal reproduction project (MRP)

````
export default class MyClass extends godot.TextEdit {
_ready() {
console.log("I run in TextEdit");
}
}

````

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

再現手順と提供されている my-class.mjs の例を使用して、TextEdit を含む Control ノードで問題を再現します。ゲームの実行中に .mjs スクリプトをアタッチするとフォーカスにどのような影響があるかを追跡します。スクリプトをアタッチした状態でも TextEdit にフォーカスでき、キーボード入力を受け付ければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
game-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。