Can not pan with custom knife modal keymap #115922

Open
opened 2023-12-08 04:51:24 +01:00 by Michael-Millard · 9 comments

System Information
Operating system: Windows 11
Graphics card: RTX 3060

Blender Version
Broken: 4.0.2

Short Description
I was trying to change the keybinds of Pan and Rotate for my 3d View and found that I can no longer pan or rotate while using the Knife tool

Blank Reset on start up cube:
Middle Mouse pans both knife and global
Shift Mouse Rotates both

Test 1
3D View Global
Rotate View set to Mouse 5
Can rotate global on Mouse 5, knife rotates on Shift Middle

Test 2
3D View Global
Pan Set to Mouse 5
Can pan global on Mouse 5, can't pan on Knife using either Mouse 5 or Middle (Default)

Test 3
3D View Global
Pan & Rotate set to Mouse 4 & Mouse 5 respectively
Can pan and rotate on global, can't pan or rotate on knife

Steps to Reproduce

  • Open knife modal keymap in preferences
  • For panning, change key to any (alt rmb for example)
  • Panning is not possible when modal knife operation is running.
**System Information** Operating system: Windows 11 Graphics card: RTX 3060 **Blender Version** Broken: 4.0.2 **Short Description** I was trying to change the keybinds of Pan and Rotate for my 3d View and found that I can no longer pan or rotate while using the Knife tool Blank Reset on start up cube: Middle Mouse pans both knife and global Shift Mouse Rotates both Test 1 3D View Global Rotate View set to Mouse 5 Can rotate global on Mouse 5, knife rotates on Shift Middle Test 2 3D View Global Pan Set to Mouse 5 Can pan global on Mouse 5, can't pan on Knife using either Mouse 5 or Middle (Default) Test 3 3D View Global Pan & Rotate set to Mouse 4 & Mouse 5 respectively Can pan and rotate on global, can't pan or rotate on knife **Steps to Reproduce** - Open knife modal keymap in preferences - For panning, change key to any (`alt rmb` for example) - Panning is not possible when modal knife operation is running.
Michael-Millard added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-12-08 04:51:25 +01:00
Member

Hi, thanks for the report. Maybe due to some keymap conflicts. Do you have Mouse 4-5 assigned to other operators?
Launch blender from command line with --debug-events argument, keep console window and blender window side-by-side, perform navigation operation and see whether console prints event information with input keys.

Hi, thanks for the report. Maybe due to some keymap conflicts. Do you have Mouse 4-5 assigned to other operators? Launch blender from command line with `--debug-events` argument, keep console window and blender window side-by-side, perform navigation operation and see whether console prints event information with input keys.
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-12-08 05:32:50 +01:00

I have no clue what blender is called for the purpose of CMD

I have no clue what blender is called for the purpose of CMD
Member

You can set the environment variable for blender
or just open directory in command line where blender.exe is present. Then type blender.exe --debug-events

You can set the environment variable for blender or just open directory in command line where blender.exe is present. Then type `blender.exe --debug-events`

I managed to figure it out, hope this helps!

I managed to figure it out, hope this helps!
Member

Thanks. BUTTON5MOUSE and BUTTON4MOUSE are indeed detected.
Guess you would need to tweak knife modal keymap (specifically key for "panning"): refer image

Thanks. BUTTON5MOUSE and BUTTON4MOUSE are indeed detected. Guess you would need to tweak knife modal keymap (specifically key for "panning"): [refer image](/attachments/4319667f-5a0e-4ead-a205-603dfbee93f3)

You see when I do that I completely lose all movement in the knife tool, I can't pan OR rotate.

You see when I do that I completely lose all movement in the knife tool, I can't pan OR rotate.
Member

Changing knife modal keymap should work in your case. Can you attach screenshot of new knife-modal keymap or send userprefs.blend file?

Also would be good to know the current behavior you are observing with new keymap changes.

Changing knife modal keymap should work in your case. Can you attach screenshot of new knife-modal keymap or send userprefs.blend file? Also would be good to know the current behavior you are observing with new keymap changes.

Blank Reset:
Middle rotates both Knife and Global View
Shift Middle pans both Knife and Global View

Test 1
Knife Tool Modal
Pan: M5
No ability to pan or rotate while in knife tool using M5, Middle, or Shift Middle

Test 2
Knife Tool Modal/Global View Matching
Pan: M5
No ability to rotate on knife tool Middle

Blank Reset: Middle rotates both Knife and Global View Shift Middle pans both Knife and Global View Test 1 Knife Tool Modal Pan: M5 No ability to pan or rotate while in knife tool using M5, Middle, or Shift Middle Test 2 Knife Tool Modal/Global View Matching Pan: M5 No ability to rotate on knife tool Middle
Member

Actually I can confirm if I change from MMB to any key for panning in knife modal keymap

Actually I can confirm if I change from `MMB` to any key for panning in knife modal keymap
Pratik Borhade changed title from Knife pan/rotate to Can not pan with custom knife modal keymap 2024-01-02 06:06:38 +01: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#115922
No description provided.