HaxeFlixel / HaxeFlixel/flixel

FlxInputText: Focus events issues while debug menu is up

Open
#3,358 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haxe
Stars
2.2k
Forks
522
Avg merge
34m
Merged PRs (30d)
1

Description

Clicking input text while the debug menu is up does not consistently set it as the focus, same with clicking off. Its pretty difficult to close the debug menu if you select input text while it's up.

I also think we should not allow text focus events when any of the debug mouse tools are active. This will make it easier to select or move input text with debug tools

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing FlxInputText focus handling alongside the debug menu and debug mouse tools; reproduce clicking input text and clicking away with the menu open. Done means focus changes consistently and text focus events are blocked while any debug mouse tool is active.

Written by the indexing model from the issue text.

Assessment

Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.