Page MenuHome

Not recognizing numpad page up /down keys .
Open, Needs Triage by DeveloperPublic


System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.60

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Worked: (optional)

Short description of error
Blender is failing to recognize the numpad keys !!!

Exact steps for others to reproduce the error
Trying to use the change workspace shortcut ctrl+PageUp /down and blender is not recognizing the keys in numpad and keep assuming the key 9 and 3 . Other software is fine and i can use Page up and Down, and the home end keys.



Event Timeline

@Gil Santos (ranbog) I think, all the keys are working correctly, e.g. Page Up, Page Down (with/with-out Ctrl), Home and Numpad Keys.
Please try at you end, if still you think, not working let we know (exact steps so we can reproduce)..

*Note: * It's is expected behavior that text area when Num Lock is on, keys are used as numeric otherwise as controls, but on view-port same behavior

Please check and let we inform...

Also you can first confirm on one one the community channels e.g.

Abid Maqbool (cto.abid) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Aug 8 2019, 5:35 AM

I've tried to recreate my problem.
So I open a blender file, go into a script workspace since you told me on your note that the behaviour is different in the 3d view port.
I created a text file then i open windows virtual keyboard, i start typing some stuff, and as you can see the normal keys Page Up Home End etc work fine but when i try to use the same keys over in the numpad i get nothing.

Link of video for reference

Thanks for contacting again, and giving more info to clarify the prob...

I can confirm the prob, I think it's system specific (windows).

On windows 10 -> On-screen keyboard -> num pad keys (controls) are not working in Blender.. (you can enable num-pad by clicking Options button)

Note: Some user have not num-pad on there physical keyboard... & this is only better way.

However most of the key are duplicate to the left side keys..

As these key are exactly the same as of others so, i think these should works. (in other software these are working correctly)

Abid Maqbool (cto.abid) raised the priority of this task from Needs Information from User to Confirmed, Medium.Aug 8 2019, 8:37 AM
matc (matc) raised the priority of this task from Confirmed, Medium to Needs Triage by Developer.Aug 8 2019, 10:35 AM

The problem is that the numpad keys are always recognized as the same input independent of Num Lock. You can test this by setting up a keyboard shortcut for one of the numpad keys in the keymap preferences.

@William Reynish (billreynish) Are you already aware of this?

@Abid Maqbool (cto.abid) : "If you can reproduce the bug in the newest version, comment in the report but don't change the priority to confirmed yet. Leave this to a developer who can set the appropriate priority and assign the bug to the relevant developer."

Yeah! try in Blender 2.8 build-bot today (rB5e77fb24822b), still same prob there.

Only these keys are not working (Ins key confusion, I think it's not used any in general):

When NumLock is on these are switch to num key that's are working fine.

Looks like GHOST_SystemWin32::convertKey has been written in a way to intentionally turn Home and End keys into the number keys.

case VK_END:
case VK_NUMPAD1:
  key = (extend) ? GHOST_kKeyEnd : GHOST_kKeyNumpad1;

Is there a specific reason for it to be that way? In my opinion is just removing function of the user. Like in my case where my keyboard dont have default Home/End PgUp/PgDn keys.

D5463 could solve this.