Knife Selection tool inaccessible through keyboard shortcut #78540

Closed
opened 2020-07-02 16:56:52 +02:00 by Sundaram Ramaswamy · 22 comments

System Information
Operating system: macOS 10.15.5 (Catalina)
Graphics card: Radeon Pro 560X 4 GB and Intel UHD Graphics 630 1536 MB

Blender Version
Broken: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: 8289fc688b3e, type: Release, build date: 2020-06-25, 10:31:24
Worked: 2.79b

Short description of error
Knife Tool, used to cut a mesh in Edit Mode, has an option to affect only the selection. As per the documentation this can be accessed using Shift-K. Pressing Shift-K doesn't give us the tool.

However, this is can be accessed via the Toolbar UI. Click on Knife icon, then click on check box Only Selected and we get the desired tool. Its keyboard shortcut (Shift-K) doesn't launch this tool though.

Exact steps for others to reproduce the error

  • Launch Blender 2.83.1
  • Select default cube object
  • Enter Edit Mode (Tab)
  • Enter face selection mode (3)
  • Select a single face
  • Press Shift-K

No Knife Select tool as per the documentation .

**System Information** Operating system: macOS 10.15.5 (Catalina) Graphics card: Radeon Pro 560X 4 GB and Intel UHD Graphics 630 1536 MB **Blender Version** Broken: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: 8289fc688b3e, type: Release, build date: 2020-06-25, 10:31:24 Worked: 2.79b **Short description of error** *Knife Tool*, used to cut a mesh in Edit Mode, has an option to affect only the selection. As [per the documentation ](https://docs.blender.org/manual/en/2.83/modeling/meshes/tools/knife.html?highlight=knife#options) this can be accessed using **Shift-K**. Pressing **Shift-K** doesn't give us the tool. However, this is can be accessed via the Toolbar UI. Click on Knife icon, then click on check box Only Selected and we get the desired tool. Its keyboard shortcut (**Shift-K**) doesn't launch this tool though. **Exact steps for others to reproduce the error** - Launch Blender 2.83.1 - Select default cube object - Enter Edit Mode (Tab) - Enter face selection mode (3) - Select a single face - Press Shift-K No Knife Select tool as [per the documentation ](https://docs.blender.org/manual/en/2.83/modeling/meshes/tools/knife.html?highlight=knife#knife-tool).

Added subscriber: @legends2k

Added subscriber: @legends2k

Added subscriber: @sharaths21312

Added subscriber: @sharaths21312

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

Changed status from 'Needs Triage' to: 'Archived'
Sharath self-assigned this 2020-07-02 17:35:23 +02:00

The keyboard shortcut is K, not shift+K. The docs do appear to be wrong.

The keyboard shortcut is K, not shift+K. The docs do appear to be wrong.

This issue was referenced by 6846

This issue was referenced by 6846
Member

Changed status from 'Archived' to: 'Resolved'

Changed status from 'Archived' to: 'Resolved'

In #78540#971623, @sharaths21312 wrote:
The keyboard shortcut is K, not shift+K. The docs do appear to be wrong.

@sharaths21312 Shortcut K is for Knife Tool, Shift-K is for knife tool that operates on current selection only. This bug is for the latter, not former. I think you are mistaken; please check the documentation for the nuance. K continues to work for the knife tool that cuts the geometry (all of it, irrespective of selection), while the bug is for knife tool that needs to operate only on the selection (Shift-K).

@Blendify Please don't change the documentation. This is not about the vanilla Knife Tool that works with K. The documentation is actually right; older versions of Blender used to work with Shift-K for the knife tool that operates only on the current selection.

> In #78540#971623, @sharaths21312 wrote: > The keyboard shortcut is K, not shift+K. The docs do appear to be wrong. @sharaths21312 Shortcut K is for Knife Tool, Shift-K is for knife tool that operates on current selection only. This bug is for the latter, not former. I think you are mistaken; please check the documentation for the nuance. K continues to work for the knife tool that cuts the geometry (all of it, irrespective of selection), while the bug is for knife tool that needs to operate only on the selection (Shift-K). @Blendify Please don't change the documentation. This is not about the vanilla Knife Tool that works with K. The documentation is actually right; older versions of Blender used to work with Shift-K for the **knife tool that operates only on the current selection**.

Added subscriber: @Blendify

Added subscriber: @Blendify

@Blendify How do I reopen this issue? This seems to have been erroneously resolved.

Trying out K and Shift-K in 2.79b with some faces selected clearly shows the difference in behaviour between the two tools.

@Blendify How do I reopen this issue? This seems to have been erroneously resolved. Trying out K and Shift-K in 2.79b with some faces selected clearly shows the difference in behaviour between the two tools.
Member

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

Changed status from 'Resolved' to: 'Needs Triage'
Sharath was unassigned by Sundaram Ramaswamy 2020-07-02 23:14:15 +02:00

Removed subscriber: @sharaths21312

Removed subscriber: @sharaths21312
Member

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

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

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Aaron Carlisle self-assigned this 2020-07-03 01:33:49 +02:00
Member

Added subscribers: @WilliamReynish, @ideasman42

Added subscribers: @WilliamReynish, @ideasman42
Member

Looked into the code and this is possible with the built-in 2.7x keymap. This patch brings it back to work in both modes:

P1503: (An Untitled Masterwork)

diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
index 4b037f209bb..ce88a1eb074 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -4508,6 +4508,8 @@ def km_mesh(params):
         ("mesh.dissolve_mode", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
         ("mesh.knife_tool", {"type": 'K', "value": 'PRESS'},
          {"properties": [("use_occlude_geometry", True), ("only_selected", False)]}),
+        ("mesh.knife_tool", {"type": 'K', "value": 'PRESS', "shift": True},
+         {"properties": [("use_occlude_geometry", False), ("only_selected", True)]}),
         ("object.vertex_parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
         # Menus.
         op_menu("VIEW3D_MT_edit_mesh_faces", {"type": 'F', "value": 'PRESS', "ctrl": True}),
@@ -4543,8 +4545,6 @@ def km_mesh(params):
             ("mesh.faces_select_linked_flat", {"type": 'F', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
             ("mesh.spin", {"type": 'R', "value": 'PRESS', "alt": True}, None),
             ("mesh.beautify_fill", {"type": 'F', "value": 'PRESS', "shift": True, "alt": True}, None),
-            ("mesh.knife_tool", {"type": 'K', "value": 'PRESS', "shift": True},
-             {"properties": [("use_occlude_geometry", False), ("only_selected", True)]}),
             *_template_items_object_subdivision_set(),
         ])
 

@ideasman42 @WilliamReynish is there are rhyme or reason to the way things are now or is this change okay?

Looked into the code and this is possible with the built-in 2.7x keymap. This patch brings it back to work in both modes: [P1503: (An Untitled Masterwork)](https://archive.blender.org/developer/P1503.txt) ``` diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index 4b037f209bb..ce88a1eb074 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -4508,6 +4508,8 @@ def km_mesh(params): ("mesh.dissolve_mode", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None), ("mesh.knife_tool", {"type": 'K', "value": 'PRESS'}, {"properties": [("use_occlude_geometry", True), ("only_selected", False)]}), + ("mesh.knife_tool", {"type": 'K', "value": 'PRESS', "shift": True}, + {"properties": [("use_occlude_geometry", False), ("only_selected", True)]}), ("object.vertex_parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None), # Menus. op_menu("VIEW3D_MT_edit_mesh_faces", {"type": 'F', "value": 'PRESS', "ctrl": True}), @@ -4543,8 +4545,6 @@ def km_mesh(params): ("mesh.faces_select_linked_flat", {"type": 'F', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None), ("mesh.spin", {"type": 'R', "value": 'PRESS', "alt": True}, None), ("mesh.beautify_fill", {"type": 'F', "value": 'PRESS', "shift": True, "alt": True}, None), - ("mesh.knife_tool", {"type": 'K', "value": 'PRESS', "shift": True}, - {"properties": [("use_occlude_geometry", False), ("only_selected", True)]}), *_template_items_object_subdivision_set(), ]) ``` @ideasman42 @WilliamReynish is there are rhyme or reason to the way things are now or is this change okay?
Member

I updated the manual to reflect the current state in: rBM6847

I updated the manual to reflect the current state in: rBM6847
Member

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

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

didnt mean to close this...

didnt mean to close this...
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Is this a confirmed bug? or something that needs triage? (cant be both I think...)

Is this a confirmed bug? or something that needs triage? (cant be both I think...)

This issue was referenced by blender/blender@4a289081a5

This issue was referenced by blender/blender@4a289081a584aec8f0b72da350e66fdcc5a8615b

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

Changed status from 'Needs Triage' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 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-manual#78540
No description provided.