Set Object Mode with Sub-Mode not working for Grease Pencil #115172

Closed
opened 2023-11-20 12:08:35 +01:00 by Julien Kaspar · 3 comments
Member

System Information
Operating system: Linux-6.6.1-gentoo-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-glibc2.37 64 Bits, X11 UI
Graphics card: AMD Radeon RX 7900 XT (radeonsi, navi31, LLVM 16.0.6, DRM 3.54, 6.6.1-gentoo) AMD 4.6 (Core Profile) Mesa 23.3.0-rc4

Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-11-19 23:36, hash: 41f9f2753a70
Worked: (newest version of Blender that worked as expected)

Short description of error
In the Industry Compatible keymap the 1-3 keys are used for the object.mode_set_with_submode operator to switch to edit mode and a specific sub-mode.
This works fine for meshes, curves and any other object type except grease pencil. There is only switches to edit mode but not the specific sub-mode.

This issue has been present since the operator was implemented.

Exact steps for others to reproduce the error

  • Use the Industry Compatible Keymap in the preferences
  • Add a cube, bezier curve, fur (on the cube) and a grease pencil monkey
  • Try using the 1-3 keys on each of them and the 4 key to switch to object mode
**System Information** Operating system: Linux-6.6.1-gentoo-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-glibc2.37 64 Bits, X11 UI Graphics card: AMD Radeon RX 7900 XT (radeonsi, navi31, LLVM 16.0.6, DRM 3.54, 6.6.1-gentoo) AMD 4.6 (Core Profile) Mesa 23.3.0-rc4 **Blender Version** Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-11-19 23:36, hash: `41f9f2753a70` Worked: (newest version of Blender that worked as expected) **Short description of error** In the Industry Compatible keymap the `1-3` keys are used for the `object.mode_set_with_submode` operator to switch to edit mode and a specific sub-mode. This works fine for meshes, curves and any other object type except grease pencil. There is only switches to edit mode but not the specific sub-mode. This issue has been present since the operator was implemented. **Exact steps for others to reproduce the error** - Use the Industry Compatible Keymap in the preferences - Add a cube, bezier curve, fur (on the cube) and a grease pencil monkey - Try using the `1-3` keys on each of them and the `4` key to switch to object mode
Julien Kaspar added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-11-20 12:08:36 +01:00
Author
Member

@ideasman42 Knows about this. If anyone is interested in fixing this, that would eb great.

@ideasman42 Knows about this. If anyone is interested in fixing this, that would eb great.
Member

Hi, I don't think this is a bug. Re: IC keymap, ctrl 1/2/3 is mapped to switch selection modes in edit GP mode. Closing.
But for consistency we could update the keymap.

Hi, I don't think this is a bug. Re: IC keymap, `ctrl 1/2/3` is mapped to switch selection modes in edit GP mode. Closing. But for consistency we could update the keymap.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-11-20 13:06:40 +01:00
Author
Member

It's not a just keymap issue. The operator itself does not support grease pencil properly. It's an issue with the implementation.

It's strange because it does "just work" between curve and mesh objects with the same operator. Only grease pencil is not working.

The inclusion of Ctrl 1/2/3 is questionable. I wasn't aware of that. Seems like a compromise decision?
I can make a to do task for this and discuss this again with @ideasman42 if it's not accepted as a bug.

It's not a just keymap issue. The operator itself does not support grease pencil properly. It's an issue with the implementation. It's strange because it does "just work" between curve and mesh objects with the same operator. Only grease pencil is not working. The inclusion of `Ctrl 1/2/3` is questionable. I wasn't aware of that. Seems like a compromise decision? I can make a to do task for this and discuss this again with @ideasman42 if it's not accepted as a bug.
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#115172
No description provided.