Maniphest T68395

Not recognizing numpad page up /down keys .
Confirmed, NormalKNOWN ISSUE

Assigned To
None
Authored By
Gil Santos (ranbog)
Aug 8 2019, 3:43 AM
Tags
  • BF Blender
  • User Interface
Subscribers
Abid Maqbool (cto.abid)
Dalai Felinto (dfelinto)
Gil Santos (ranbog)
matc (matc)
Richard Antalik (ISS)
William Reynish (billreynish)

Description

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.

Related Objects

Event Timeline

Gil Santos (ranbog) created this task.Aug 8 2019, 3:43 AM
Abid Maqbool (cto.abid) added a subscriber: Abid Maqbool (cto.abid).Aug 8 2019, 5:33 AM

@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

Abid Maqbool (cto.abid) added a comment.Aug 8 2019, 5:35 AM

Please check and let we inform...

Also you can first confirm on one one the community channels e.g. https://blender.chat/channel/support...

Abid Maqbool (cto.abid) lowered the priority of this task from 90 to 30.Aug 8 2019, 5:35 AM
Gil Santos (ranbog) added a comment.Aug 8 2019, 7:15 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 https://youtu.be/42PZafGT4oI

Abid Maqbool (cto.abid) added a comment.EditedAug 8 2019, 8:35 AM

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 30 to 50.Aug 8 2019, 8:37 AM
matc (matc) raised the priority of this task from 50 to 90.Aug 8 2019, 10:35 AM
matc (matc) added subscribers: William Reynish (billreynish), matc (matc).

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) https://wiki.blender.org/wiki/Process/Help_Triaging_Bugs : "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."

Abid Maqbool (cto.abid) added a comment.Aug 8 2019, 11:20 AM

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.

matc (matc) added a comment.Aug 8 2019, 4:07 PM

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;
  break;
Gil Santos (ranbog) added a comment.Aug 8 2019, 5:17 PM

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.

matc (matc) added a comment.Aug 12 2019, 2:22 PM

D5463 could solve this.

Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 80.Nov 26 2019, 1:25 PM
Philipp Oeser (lichtwerk) added a project: User Interface.
Richard Antalik (ISS) closed this task as Archived.Jan 7 2020, 5:19 PM
Richard Antalik (ISS) claimed this task.
Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).

It has been decided, that Blender will not take NumLock state into consideration - see D5463: Handling Numpad keys dependent on Num Lock state

Richard Antalik (ISS) reopened this task as Confirmed.Jan 8 2020, 5:08 PM
Richard Antalik (ISS) changed the subtype of this task from "Report" to "Known Issue".
Richard Antalik (ISS) added a subscriber: Dalai Felinto (dfelinto).

After discussion with @Dalai Felinto (dfelinto) We will keep this open as known issue.

Richard Antalik (ISS) removed Richard Antalik (ISS) as the assignee of this task.Feb 27 2020, 2:48 PM
Julian Eisel (Severin) moved this task from Backlog to Known Issues on the User Interface board.Jun 26 2020, 6:22 PM