Error PADPLUSKEY [ latin1 ] #48369
Labels
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#48369
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Linux familia-pc 4.4.8-1-MANJARO #1 SMP PREEMPT Thu Apr 21 00:21:08 UTC 2016 x86_64 GNU/Linux
Blender Version
Broken: 2.77
Short description of error
[ PADPLUSKEY ] key does not work in the Latin American keyboard
Temporary solution
[ File: wm_event_system.c add line 2942 ]
Changed status to: 'Open'
Added subscriber: @dr2d4
Added subscriber: @mont29
Can’t confirm this here, switched to EN keyboard layout and still getting correct padplus event.
Note that Ghost converts XKey values to its own in
convertXKey()
(inGHOST_SystemX11.cpp
), you'd rather want to put a print in this func so see which value you get when hitting padplus (x11 define:#define XK_KP_Add 0xffab
).Also, is padplus the only key affected? would expect you'd get same issue with padminus, etc., at least…
Thanks works well by assigning 0x002b the padplus however I think that it should be updated soon since blender loses functionality for the Spanish-speaking without this key
File: GHOST_SystemX11.cpp
+ #define XK_KP_Add 0x002b
Reviewing more detail I found that
On laptop with GNU/Linux and Latin American keyboard:
Emulated NumPad = False
Emulated NumPad = True
There is something else going on here, related to your keyboard or (more likely) your Xorg keyboard settings somehow.
0x002b
is Xorg keycode forXK_plus
, i.e. the plus sign on main keyboard. So if you are getting that value when hitting the numpad plus key, something is wrong imho.Never the less, GHOST handles the
XK_minus
but not theXK_plus
code, not sure why, sounds suspicious to me too.Hum… in fact, there is no support for
XK_plus
because in theory there is no keyboard layout with direct access to that key (it’s usually shift-equal).Now, you mention pad emulation, does it mean you do not have any physical numpad? Also, please try with e.g. a livecd of the latest ubuntu distribution, this really feels like a bad mapping of your keyboard in your OS…
The same goes for ubuntu
And my keyboard layout is
The error is in that adds a:
File: GHOST_SystemX11.cpp : GMAP (type, XK_minus, GHOST_kKeyMinus);
but is not added on:
GXMap (type, XK_plus, GHOST_kKeyPlus);
so to activate the numeric keypad Pad Plus does not work on Latin keyboards
Info: keysymdef.h
if you add XK_plus keyboard works properly with English and Latin American
Aaaaaaaaaah! that explains a lot!
Those are not padplus/minus at all! those are 'just' plus/minus (padplus/padminus are numpad keys only).
So, didn’t know some keyboard layouts had direct access to plus key (without some modifier like shift), this changes things - guess we'll have to add support for GHOST_kKeyPlus then… Won't change anything to current state though, since this key does not exists for default QWERTY english layout, it won't be used in default keymaps - but at least you''l be able to add it to custom shortcuts.
Note that emulated numpad is something else, not sure how good this is supported by linux (that feature is supposed to generate actual numpad key events, but the way those virtual numpad keys are layed out is totally not tied to the 'regular' keyboard layout).
This issue was referenced by
ce65fae8f3
Changed status from 'Open' to: 'Resolved'