flixel icon indicating copy to clipboard operation
flixel copied to clipboard

[BUG] Holding PrtSc freezes Flixel

Open EliteMasterEric opened this issue 1 year ago • 2 comments

  • 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.

EliteMasterEric avatar Feb 16 '24 01:02 EliteMasterEric

just throwing some ideas out there cuz i don't have a printscreen button on my main machine. does this happen when not in debug mode? does it happen on openfl projects?

Geokureli avatar Feb 16 '24 14:02 Geokureli

https://github.com/HaxeFlixel/flixel/assets/71162374/73d2ff61-5db7-4733-85a4-2efb9ec76084

Able to reproduce, I've tested on a HashLink build of a currently developing HaxeFlixel project. Though the video is only recording Debug Mode as I accidentally stopped recording.

Holding down Prt Sc does actually 'freeze' Flixel as you can see by the lag spikes, even on release. (-final)

Not my computer or any other program, nothing intensive is running in the background.

EyeDaleHim avatar Mar 11 '24 21:03 EyeDaleHim