UI elements ignore keyboard layout changes (ex. Swapped CTRL / CAPS) #56312

Closed
opened 2018-08-11 12:57:05 +02:00 by Jaggz H · 9 comments

Linux, Debian (Stretch)
Windows 10

Windows: Official 2.79 download (no access to that system right now)
Linux: 2.79.6 git build, c19ddcc975
Worked: No clue

I swapped my CTRL and CAPSLOCK keys. Most everything seems to work fine, but the change is ignored in a few places. Example: CTRL C/V and CTRL Numpad +/- use the original physical CTRL key location.

Note: In Linux, xev shows the keycodes stay constant, while the keysyms change:

keycodes:

66 constant for Caps key's POSITION
37 constant for CTRL key's POSITION

keysyms:

0xffe5 for Caps, wherever you map it.
0xffe3 for CTRL, wherever you map it.

Steps to reproduce:

  • Swap your caps/ctrl keys.
  • Try copying/pasting a numerical or string field with CTRL C / V

General info on swapping Caps/Ctrl keys:

- In KDE this is found in:

System Settings -> Hardware -> Input Devices -> Advanced -> Ctrl key position -> Swap Ctrl and Caps Lock

 C:\Program Files (x86)\Windows Resource Kits\Tools\remapkey.exe

#-- Credit to this page for more that info:

https://www.techrepublic.com/article/how-to-remap-the-caps-lock-key-and-avoid-future-frustration/
Linux, Debian (Stretch) Windows 10 Windows: Official 2.79 download (no access to that system right now) Linux: 2.79.6 git build, c19ddcc975f Worked: No clue I swapped my CTRL and CAPSLOCK keys. Most everything seems to work fine, but the change is ignored in a few places. Example: CTRL C/V and CTRL Numpad +/- use the original physical CTRL key location. ## Note: In Linux, xev shows the keycodes stay constant, while the keysyms change: ### keycodes: 66 constant for Caps key's POSITION 37 constant for CTRL key's POSITION ### keysyms: 0xffe5 for Caps, wherever you map it. 0xffe3 for CTRL, wherever you map it. # Steps to reproduce: - Swap your caps/ctrl keys. - Try copying/pasting a numerical or string field with CTRL C / V ## General info on swapping Caps/Ctrl keys: # - In KDE this is found in: System Settings -> Hardware -> Input Devices -> Advanced -> Ctrl key position -> Swap Ctrl and Caps Lock - - In Windows you can use their old set of tools (that still work): - -- [Windows Server 2003 Resource Kit Tools ](https://www.microsoft.com/en-us/download/details.aspx?id=17657) #-- Run as administator: ``` C:\Program Files (x86)\Windows Resource Kits\Tools\remapkey.exe ``` #-- Credit to this page for more that info: ``` https://www.techrepublic.com/article/how-to-remap-the-caps-lock-key-and-avoid-future-frustration/
Author

Added subscriber: @jaggz

Added subscriber: @jaggz

Added subscriber: @mont29

Added subscriber: @mont29

Mmmhhh… I thought we only were using keysyms in GHOST… but maybe things like modifier keys also use keycode info… :/

Mmmhhh… I thought we only were using keysyms in GHOST… but maybe things like modifier keys also use keycode info… :/
Author

Are these assignable in the Prefs -> Input? I can't find them.

(I was attempting to assign Ctrl MouseWheel to the function to scale individual Window UI elements, in addition to CTRL Num+/-).

Are these assignable in the Prefs -> Input? I can't find them. (I was attempting to assign Ctrl MouseWheel to the function to scale individual Window UI elements, in addition to CTRL Num+/-).

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

@jaggz It's good to see a fellow user of {key Caps-as-Ctrl} :-)

I can't reproduce this issue, though. For me {key Caps-as-Ctrl C} and {key Caps-as-Ctrl V} over a numerical or string field works just fine. I'm testing with master @ be8879718e. xev also gives me the same key codes and symbols as in your report, showing that we're using the same way to remap the keys.

@jaggz It's good to see a fellow user of {key Caps-as-Ctrl} :-) I can't reproduce this issue, though. For me {key Caps-as-Ctrl C} and {key Caps-as-Ctrl V} over a numerical or string field works just fine. I'm testing with master @ be8879718e24e417d299eb298b8a9d4d2ca324ee. `xev` also gives me the same key codes and symbols as in your report, showing that we're using the same way to remap the keys.
Author

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Jaggz H self-assigned this 2020-02-16 17:00:01 +01:00
Author

Ctrl <-> Caps flipping was really worth it.
Seems fine in 2.8+. Resolving.

Ctrl <-> Caps flipping was really worth it. Seems fine in 2.8+. Resolving.
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
3 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#56312
No description provided.