Let Tab reach the game in the Game tab #261

Closed
opened 2026-09-29 06:01:02 +02:00 by meleki · 1 comment
Owner

In the Game tab the game did receive Tab, but the editor moved the keyboard focus to a button at the top left at the same time. The next Space (an attack in a game) then pressed that button. The key field of On key down could not capture Tab either, so a graph could not listen for it.

Wanted for an inventory that opens with Tab.

Done

  • In the Game tab Tab belongs to the game as long as no field has the focus (FocusManager.tabBelongsElsewhere, set by the editor).
  • A widget can claim Tab (takesTab). The key field does so while it is capturing, so On key down can be set to Tab.
  • e2e 20 has two new checks: "Tab reaches the game and leaves the keyboard with it" and "the key field captures Tab". Both failed against the old bundle.
In the Game tab the game did receive `Tab`, but the editor moved the keyboard focus to a button at the top left at the same time. The next Space (an attack in a game) then pressed that button. The key field of `On key down` could not capture `Tab` either, so a graph could not listen for it. Wanted for an inventory that opens with `Tab`. ## Done - In the Game tab `Tab` belongs to the game as long as no field has the focus (`FocusManager.tabBelongsElsewhere`, set by the editor). - A widget can claim `Tab` (`takesTab`). The key field does so while it is capturing, so `On key down` can be set to `Tab`. - e2e 20 has two new checks: "Tab reaches the game and leaves the keyboard with it" and "the key field captures Tab". Both failed against the old bundle.
Author
Owner

Done in d7d0a6e. In the Game tab Tab belongs to the game as long as no field has the focus, and the key field of On key down captures Tab. e2e 20 has two new checks, both failed against the old bundle.

Done in d7d0a6e. In the Game tab Tab belongs to the game as long as no field has the focus, and the key field of `On key down` captures Tab. e2e 20 has two new checks, both failed against the old bundle.
admin added this to the Development project 2026-09-29 13:00:21 +02:00
admin moved this to Done in Development on 2026-09-29 13:00:30 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: meleki/feuerwerk#261