[5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired

Post bugreports for the Windows version here
User avatar
grabiller
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Jun 01, 2011 9:38 am
Location: France - 89220 Rogny-Les-Septs-Ecluses
Contact:

[5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired

Post by grabiller »

Hello,

Some binded KeyDown or KeyUp events are not fired:

[TAB]: KeyDown not fired (KeyUp is)
[F10]: KeyDown/KeyUp not fired
[PRINT]: KeyDown not fired (KeyUp is)
[ALT]: KeyDown/KeyUP not fired
[ALTGR]: KeyDown fired for [ALT] & [CTRL], KeyUp fired only for [ALT](18), not for [CTRL](17)

Tested on a french keyboard on Windows7 with x86.

Cheers,
Guy.
guy rabiller | radfac founder / ceo | raafal.org
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired

Post by STARGÅTE »

Code: Select all

Procedure Test()
  Debug GetGadgetAttribute(EventGadget(), #PB_Canvas_Key)
EndProcedure

OpenWindow(0, 0, 0, 400, 300, "", #PB_Window_BorderLess)
CanvasGadget(0, 0, 0, 400, 300, #PB_Canvas_Keyboard)

BindGadgetEvent(0, @Test(), #PB_EventType_KeyDown)
BindGadgetEvent(0, @Test(), #PB_EventType_KeyUp)

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
same here, but I think it is a windows limitation
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
grabiller
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Jun 01, 2011 9:38 am
Location: France - 89220 Rogny-Les-Septs-Ecluses
Contact:

Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired

Post by grabiller »

Confirmed in v5.20b10 with x86 and x64.

Cheers,
Guy.
guy rabiller | radfac founder / ceo | raafal.org
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired

Post by Fred »

Please don't bump the topic if you don't see a note from us, thank you.
Post Reply