The keymap editor loses focus/ jumps around when editing modal hotkeys #94763

Closed
opened 2022-01-09 11:24:31 +01:00 by Hologram · 6 comments

System Information
Operating system: Windows 10
Graphics card: Nvidia GTX 1070

Blender Version
Broken: 2.83-3.0

Short description of error
When editing modal hotkeys, the keymap editor loses focus of the item that is currently edited, in other words, it jumps around.
The reason for this is that if one modal hotkey section is expanded, the others are expanded too. Meaning, if I add/ remove items, it does so in these expanded sections too, causing the view to jump around.
Furthermore, Blender collapses the section after subsequent edits, this causes all of the modal sections for a certain tool to collapse, again causing the view to jump.

Exact steps for others to reproduce the error

  1. Go to the keymap editor
  2. Go to 3dview > Mesh > 3D View Tool: Move
    afbeelding.png
  3. Expand the Transform Modal map section
  4. Edit the X/ Y/ Z plane to be Alt + X/ Y /Z instead of shift + X/ Y/ Z
  5. Notice the editor changes location as soon as you either:
    A) Check the Alt key
    B) Uncheck the Shift key
    C) Change the input method to mouse
    D) Restore the item after an edit using the "←" button
    E) Remove an item with the "X" button

Keymap jumps around.mp4

Also notice that both the Object and Mesh 3D view Tool: Move are expanded collapsed simultaneously in addition to the Transform Modal Map at the bottom (3rd instance) when the "Transform Modal Map" is expanded below the 3D view Tool: Move.

Expectation
I would expect the view not to change when I edit keymap items in the modal section.

**System Information** Operating system: Windows 10 Graphics card: Nvidia GTX 1070 **Blender Version** Broken: 2.83-3.0 **Short description of error** When editing modal hotkeys, the keymap editor loses focus of the item that is currently edited, in other words, it jumps around. The reason for this is that if one modal hotkey section is expanded, the others are expanded too. Meaning, if I add/ remove items, it does so in these expanded sections too, causing the view to jump around. Furthermore, Blender collapses the section after subsequent edits, this causes all of the modal sections for a certain tool to collapse, again causing the view to jump. **Exact steps for others to reproduce the error** 1. Go to the keymap editor 2. Go to 3dview > Mesh > 3D View Tool: Move ![afbeelding.png](https://archive.blender.org/developer/F12797290/afbeelding.png) 3. Expand the Transform Modal map section 4. Edit the X/ Y/ Z plane to be Alt + X/ Y /Z instead of shift + X/ Y/ Z 5. Notice the editor changes location as soon as you either: A) Check the Alt key B) Uncheck the Shift key C) Change the input method to mouse D) Restore the item after an edit using the "←" button E) Remove an item with the "X" button [Keymap jumps around.mp4](https://archive.blender.org/developer/F12797299/Keymap_jumps_around.mp4) Also notice that both the Object and Mesh 3D view Tool: Move are expanded collapsed simultaneously in addition to the Transform Modal Map at the bottom (3rd instance) when the "Transform Modal Map" is expanded below the 3D view Tool: Move. **Expectation** I would expect the view not to change when I edit keymap items in the modal section.
Author

Added subscriber: @Hologram

Added subscriber: @Hologram
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Looked closely and I found this report as a duplicate of #50539 (KeyMapItem collapses everything in it when changing a property of a ModalMap)
Will close. Thanks for the report :)

Looked closely and I found this report as a duplicate of #50539 (KeyMapItem collapses everything in it when changing a property of a ModalMap) Will close. Thanks for the report :)
Member

Closed as duplicate of #50539

Closed as duplicate of #50539
Author

I hope this one won't be missed, since it's more elaborate than the post it's merged with!
Thanks for looking into it.

I hope this one won't be missed, since it's more elaborate than the post it's merged with! Thanks for looking into it.
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#94763
No description provided.