Home & End (on numpad) not honored by text entry system. #70858

Closed
opened 2019-10-16 00:33:46 +02:00 by Michael Jensen · 4 comments

System Information

Operating system: Windows 10

Blender Version

Broken: 2.80

Description of the problem:

In Windows (all the way back to DOS 5.0, actually), when you turn numlock off, Home (7), End (1), Page Up (9), and Page Down (3) are all treated the same as the breakout keys above the arrows (additionally, 4, 8, 6, and 2 are treated as Left, Up, Right, and Down respectively). Literally every other text editor (or application that allows text entry) on Windows honors this keymap (again, when num lock is turned off).

Blender does not use standard OS widgets or dialogs, and in what I can only assume is an oversight, these keys are not correctly honored. It makes using the text editor and many of the text input dialogs difficult.

This is standard text-input functionality on Windows, and I believe it is broken in Blender.

Exact steps for others to reproduce the error:

Scenario 1

  • File->Save
  • Click the filename or path, and press the HOME key on the numpad (with numlock turned off)
  • Notice that nothing happens.

Scenario 2

  • Open any text editor window, prompt, or dialog,
  • Press HOME (SHIFT+HOME, or CTRL+SHIFT+HOME) on the numpad (with numlock off).
  • Notice again that nothing happens.

Scenario 3

  • Open the Add-ons menu, scroll to the bottom
  • Press Home on the numpad (with numlock off)
  • Notice that it does not scroll up.
  • Press Home above the arrow keys, notice that it does scroll up to the top.
  • (Any other UI on Windows would have treated the key presses as identical, most of them navigating to the top; e.g. in this Chrome Window, Home and End are honored correctly.)

Additional Info / Other thoughts

As a workaround, you can create extra key bindings for SOME of the missing functionality, but you can't do it for everything -- unless I'm missing something, but many of the dialogs (e.g. renaming an object, saving a file, etc.) do not appear to have their keybindings configurable.

The text editor is remappable, but even then you end up with 20+ extra keybindings that need to be manually configured; and the keybindings read incorrectly (e.g. it says Numpad 7, instead of Numpad Home* -- though it does honor that numlock must be on for it to work); and again, they still don't work in dialogs (e.g. file->save, rename an object, etc.).

(*: To clarify: even though they occupy the same physical key, they should not be treated as the same logical key for text input scenarios on Windows; Numpad Home/End, etc. must be treated exactly like the regular Home/End, etc. when Numlock is off).

### System Information Operating system: Windows 10 ### Blender Version Broken: 2.80 ### Description of the problem: In Windows (all the way back to DOS 5.0, actually), when you turn numlock off, Home (7), End (1), Page Up (9), and Page Down (3) are all treated the same as the breakout keys above the arrows (additionally, 4, 8, 6, and 2 are treated as Left, Up, Right, and Down respectively). Literally every other text editor (or application that allows text entry) on Windows honors this keymap (again, when num lock is turned off). Blender does not use standard OS widgets or dialogs, and in what I can only assume is an oversight, these keys are not correctly honored. It makes using the text editor and many of the text input dialogs difficult. This is standard text-input functionality on Windows, and I believe it is broken in Blender. ### Exact steps for others to reproduce the error: **Scenario 1** - File->Save - Click the filename or path, and press the HOME key on the numpad (with numlock turned off) - Notice that nothing happens. **Scenario 2** - Open any text editor window, prompt, or dialog, - Press HOME (SHIFT+HOME, or CTRL+SHIFT+HOME) on the numpad (with numlock off). - Notice again that nothing happens. **Scenario 3** - Open the Add-ons menu, scroll to the bottom - Press Home on the numpad (with numlock off) - Notice that it does not scroll up. - Press Home above the arrow keys, notice that it does scroll up to the top. - (Any other UI on Windows would have treated the key presses as identical, most of them navigating to the top; e.g. in this Chrome Window, Home and End are honored correctly.) ### Additional Info / Other thoughts As a workaround, you can create extra key bindings for SOME of the missing functionality, but you can't do it for everything -- unless I'm missing something, but many of the dialogs (e.g. renaming an object, saving a file, etc.) do not appear to have their keybindings configurable. The text editor is remappable, but even then you end up with 20+ extra keybindings that need to be manually configured; and the keybindings read incorrectly (e.g. it says Numpad 7, instead of Numpad Home* -- though it does honor that numlock must be on for it to work); and again, they still don't work in dialogs (e.g. file->save, rename an object, etc.). (*: To clarify: even though they occupy the same physical key, they should not be treated as the same logical key for text input scenarios on Windows; Numpad Home/End, etc. must be treated exactly like the regular Home/End, etc. when Numlock is off).
Author

Added subscriber: @BrainSlugs83

Added subscriber: @BrainSlugs83

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Closing, see [D5463: Handling Numpad keys dependent on Num Lock state](https://archive.blender.org/developer/D5463).

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2019-10-16 02:26:40 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#70858
No description provided.