HaxeFlixel / HaxeFlixel/flixel

[BUG] Holding PrtSc freezes Flixel

Open
#3,036 2 comments 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

  • Haxe version: 4.3.3
  • Flixel version: git dev
  • 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.

image

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.