HaxeFlixel / HaxeFlixel/flixel
[BUG] Holding PrtSc freezes Flixel
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 2.2k
- Forks
- 522
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
- Haxe version: 4.3.3
- Flixel version:
gitdev - OpenFL version:
9.3.2 - Lime version:
8.1.1 - Affected targets:
Windows 10
Code snippet reproducing the issue:
Reproduced in an unmodified Flixel template.
Observed behavior:
Pressing and holding the Print Screen key causes Flixel to entirely freeze until the key is released.
Simply pressing the key causes a momentary freeze, in which FlxG.keys.justPressed.PRINTSCREEN checks will fail.
Expected behavior:
Pressing the key should not cause the application to freeze.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with an unmodified Flixel template on Windows 10 and reproduce the freeze by holding Print Screen, then compare it with a single press and the FlxG.keys.justPressed.PRINTSCREEN check. Done means pressing or holding the key no longer freezes the application and the key check behaves as expected.
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
- Needs clarification
- Newbie friendliness
- 35/100