Maniphest T66195

Alt+Wheel mouse doesn't work in "Loop Cut & Slide" operator (and in Slide operators) to change the control edge with (E)Even option
Confirmed, NormalBUG

Assigned To
None
Authored By
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre)
Jun 28 2019, 4:04 AM
Tags
  • BF Blender
  • Modeling
Subscribers
Campbell Barton (campbellbarton)
Germano Cavalcante (mano-wii)
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre)
Philipp Oeser (lichtwerk)
Sebastian Parborg (zeddb)
Yevgeny Makarov (jenkm)

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: Intel(R) HD Graphics 4400 Intel 4.3.0 - Build 20.19.15.4549

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-27 21:28, hash: rB5dd8c3f0cb83
Worked: (optional)

Short description of error
In the "Loop Cut & Slide (Ctrl+R)" operator (Edit Mode), and in any other Slide operators, the shortcut "Alt+Wheel mouse" doesn't work for change the "control edge" with the (E)Even option active.

Event Timeline

MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) created this task.Jun 28 2019, 4:04 AM
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) updated the task description.Jun 28 2019, 4:19 AM
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) renamed this task from Alt+Wheel mouse don't work in "Loop Cut & Slide" operator for to change the control edge with (E)Even option to Alt+Wheel mouse don't work in "Loop Cut & Slide" operator to change the control edge with (E)Even option.Jun 28 2019, 9:59 AM
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) updated the task description.
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 30.Jun 28 2019, 5:25 PM
Sebastian Parborg (zeddb) added a subscriber: Sebastian Parborg (zeddb).

You will have to post more detailed steps on how to reproduce and what result you expect.
Just using loop cut and slide on the default cube doesn't seem to do anything with or without the Even option and alt+mouse wheel.

Yevgeny Makarov (jenkm) added a subscriber: Yevgeny Makarov (jenkm).Jun 28 2019, 6:42 PM
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) added a comment.EditedJun 28 2019, 9:02 PM

The possibility or option of being able to change "control edge" with the keyboard shortcut "Alt + Wheel mouse" during the execution of the operator "Loop Cut & Slide", and more specifically with "Even" activated, always existed and always worked in version 2.79 and earlier of Blender, both in a simple cube and in any other more complex 3D model, and it is very useful to achieve that the shape of the cutting loop has more or less travel in its slip according to the "edge" of control "chosen.
This option is simple, and does not require certain steps (more than the activation of the "Even" option) in the course of the operator, nor does it depend on any circumstance or specific context (rather than being in "Edit mode" and acting on a mesh) to work or not work; and it just does not work in Blender 2.80, or at least it has stopped working with the shortcut that continues to be reflected in the user manual of version 2.80:
https://docs.blender.org/manual/en/dev/modeling/meshes/editing/edges.html#edge-slide



In Blender v 2.79:

… In Blender 2.80, simply doesn't work the shortcut "Alt+Wheel mouse" with the option "Even", while attempting to perform the sliding of the cutting loop

MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) added a comment.EditedJun 28 2019, 9:17 PM

As an extension of the problem, the referred failure occurs not only in the operator "Loop Cut & Slide", but also with any other operator that executes a sliding of vertices or of edges along other "control edges" (as per example: with the operator "Slide Vertices (Shift + V)" or the operator "Edge Slide")-

Could it be that Blender 2.80 has been provided with a different keyboard shortcut? ... In the "User's Manual" of Blender 2.80 it is written "Alt + Wheel".

Sebastian Parborg (zeddb) assigned this task to Campbell Barton (campbellbarton).Jul 11 2019, 12:41 PM
Sebastian Parborg (zeddb) raised the priority of this task from 30 to 50.
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) renamed this task from Alt+Wheel mouse don't work in "Loop Cut & Slide" operator to change the control edge with (E)Even option to Alt+Wheel mouse doesn't work in "Loop Cut & Slide" operator (and in Slide operators) to change the control edge with (E)Even option.Jul 11 2019, 2:42 PM
MIGUEL ANGEL LAZARO MARIN (Lupercus_Eyre) updated the task description.
Dalai Felinto (dfelinto) removed Campbell Barton (campbellbarton) as the assignee of this task.Dec 23 2019, 4:33 PM
Dalai Felinto (dfelinto) added a project: Tracker Curfew.
Dalai Felinto (dfelinto) added a subscriber: Campbell Barton (campbellbarton).
Richard Antalik (ISS) changed the subtype of this task from "Report" to "Bug".Feb 5 2020, 11:32 AM
Richard Antalik (ISS) edited projects, added Modeling; removed Tracker Curfew.
Campbell Barton (campbellbarton) moved this task from Backlog to Bugs on the Modeling board.Jun 17 2020, 5:16 AM
Campbell Barton (campbellbarton) moved this task from Bugs to Bugs (Mesh) on the Modeling board.Sep 21 2020, 11:49 AM
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).Feb 18 2021, 6:15 PM

Looks like this was disabled in rBbfc9d426bb95: Multi-Object Editing

Philipp Oeser (lichtwerk) added a comment.Feb 18 2021, 6:45 PM

I've tried just re-enabling and this seems to work without issues:

1
2
3diff --git a/source/blender/editors/transform/transform_mode_edge_slide.c b/source/blender/editors/transform/transform_mode_edge_slide.c
4index dff9ded6b29..a34a9e0eff3 100644
5--- a/source/blender/editors/transform/transform_mode_edge_slide.c
6+++ b/source/blender/editors/transform/transform_mode_edge_slide.c
7@@ -1081,6 +1081,7 @@ static eRedrawFlag handleEventEdgeSlide(struct TransInfo *t, const struct wmEven
8 {
9 if (t->mode == TFM_EDGE_SLIDE) {
10 EdgeSlideParams *slp = t->custom.mode.data;
11+ EdgeSlideData *sld = edgeSlideFirstGet(t);
12
13 if (slp) {
14 switch (event->type) {
15@@ -1107,7 +1108,6 @@ static eRedrawFlag handleEventEdgeSlide(struct TransInfo *t, const struct wmEven
16 }
17 break;
18 case EVT_MODAL_MAP:
19-#if 0
20 switch (event->val) {
21 case TFM_MODAL_EDGESLIDE_DOWN:
22 sld->curr_sv_index = ((sld->curr_sv_index - 1) + sld->totsv) % sld->totsv;
23@@ -1116,7 +1116,6 @@ static eRedrawFlag handleEventEdgeSlide(struct TransInfo *t, const struct wmEven
24 sld->curr_sv_index = (sld->curr_sv_index + 1) % sld->totsv;
25 return TREDRAW_HARD;
26 }
27-#endif
28 break;
29 case MOUSEMOVE:
30 calcEdgeSlideCustomPoints(t);

Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).Feb 18 2021, 7:45 PM

Re-enabling and testing this feature, I realized that it does not work properly with multi-objects. Because the cycle between the reference edges is repeated only in the active mesh.
The expected would be to jump to the other meshes.

But in my opinion, although it is practical to use modal keymaps to change the behavior of a modal operation, this large amount of modal keyitems does not seem to help much, it does more to complicate learning.

Also, the fact that the chosen reference edge is the one that is closest to the mouse cursor is, in my opinion, already obscure.

With that in mind, instead of re-enabling this feature. I would prefer:

  • Remove these modal keymaps;
  • Make the reference edge always to be the one with the vertex active.
Philipp Oeser (lichtwerk) added a comment.Feb 18 2021, 7:58 PM

The expected would be to jump to the other meshes.

Didnt have the expectation :) But yeah, if this has problems then the modal keymap, should probably (at least temporarily until the feature is back) go as well

Make the reference edge always to be the one with the vertex active.

Is this clearly defined? sliding an edge, what is the edge with the vertex active?

Germano Cavalcante (mano-wii) added a comment.Feb 18 2021, 8:59 PM
In T66195#1115000, @Philipp Oeser (lichtwerk) wrote:

Make the reference edge always to be the one with the vertex active.

Is this clearly defined? sliding an edge, what is the edge with the vertex active?

In fact, it needs to be better defined.
I would like to avoid depending on the mouse position, but since multiple edges can have the same active vertex, perhaps the position of the mouse still needs to be used.
The main idea is to avoid having to use Alt + Wheel to choose another edge.
And relying only on the mouse position does not seem to be ideal.