Page MenuHome

Small movements of the mouse while dragging a shapekey slider registers as a click
Closed, ArchivedPublic

Description

System Information
Operating system: Linux-5.4.10-1-vanilla-x86_64-with-glibc2.17 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 2500 (IVB GT1) Intel Open Source Technology Center 4.2 (Core Profile) Mesa 20.0.4

Blender Version
Broken: version: 2.83 (sub 17), branch: master, commit date: 2020-05-22 19:52, hash: rBe8dd8c2829f3
Worked: (newest version of Blender that worked as expected)

Short description of error
When i click a shapekey value slider and slightly move mouse to the left\right, blender does not recognize this as a slide, but instead recognizes it as a single-click on a slider, so the numeric input appears in place of a slider and the mouse stops to interact with ui until i click somewhere away. It is really annoying, and takes time to understand why the mouse does not respond.

Given that I use slide gesture 90+% of time and only rarely need numeric input - I would like to get rid of that annoying behavior, for example by changing numeric input activation from single click to double-click, so that single-click is always recognized as a slide.

Event Timeline

Alaska (Alaska) changed the task status from Needs Triage to Needs Information from User.May 30 2020, 11:56 PM
Alaska (Alaska) added a subscriber: Alaska (Alaska).

I'm personally unable to reproduce the issue you're describing with Blender 2.83.0 rB691a1e3357e1 2020-05-29 17:42

When i click a shapekey value slider and slightly move mouse to the left\right, blender does not recognize this as a slide, but instead recognizes it as a single-click on a slider, so the numeric input appears in place of a slider and the mouse stops to interact with ui until i click somewhere away.

Are you able to test two things:

  1. Try the latest build of 2.83. Your build is roughly a week old and this issue may of been fixed in that time frame: https://builder.blender.org/download/
  2. Load factory defaults. From the top of Blender select File -> Defaults -> Load Factory Settings and try to reproduce the issue.

As for the changing of numeric inputs to double click, that is a request for a change in behavior in Blender should should be made over at: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests

Alaska (Alaska) added a comment.EditedMay 30 2020, 11:58 PM

Are you also able to show me a screenshot of the location of the shape key slider you're having issues with. I may be triageing the report on the wrong slider.

Alaska (Alaska) renamed this task from Change numeric slider input activation from single mouse click to double-click to Small movements of the mouse while dragging a shapekey slider registers as a click.May 31 2020, 12:00 AM

I am talking about sliders like this roughness one from principal bsdf shader: https://i.imgur.com/PVlZQku.jpg

You are probably trying to move mouse too much. Try to move by just few pixels, so that value changes only slightly (as if you was holding shift)

Alaska (Alaska) added a comment.EditedMay 31 2020, 1:39 PM

I am talking about sliders like this roughness one from principal bsdf shader: https://i.imgur.com/PVlZQku.jpg

You are probably trying to move mouse too much. Try to move by just few pixels, so that value changes only slightly (as if you was holding shift)

So you mean this slider?

If so, I'm still unable to reproduce the issue. Even turning the sensitivity of my mouse extremely low and moving it slower across my desk, I am unable to replicate.

Have you tried the newer version of Blender?Your build is a week old and a lot could of happened between then and now. https://builder.blender.org/download/

Yes, i just tried newest version, the issue still persists.

I checked with mouse coordinate monitor - the blender treats gesture as a slide if cursor moved by 5 px or more. So try to move mouse more accurately.

Are you using linux? I wonder if the behavior is OS-specific.

I believe that display resolution may also play role here - i am using 1366x768 display. If you are using higher resolution - you may struggle to move mouse so precisely.

When i hold shift, the situation is even worse - blender requires to move mouse by at least 8 pixels to recognize it as a slide.

Alaska (Alaska) changed the task status from Needs Information from User to Needs Information from Developers.EditedJun 1 2020, 12:27 AM

I have tested with both Linux and Windows. My display resolution is 1680x1050. Marking this as "needs developer to reproduce" as I'm personally unable to reproduce the issue.

Threshold for detecting drag behavior can be configured in Preferences > Input tab > Mouse, but it seems to have no effect on numerical inputs. Is this supposed to be the case @Julian Eisel (Severin)?

Philipp Oeser (lichtwerk) closed this task as Archived.Jun 17 2020, 6:32 PM
Philipp Oeser (lichtwerk) claimed this task.

The one in Preferences > Input tab > Mouse is for tweak event or when dragging e.g. a color from a button or an object from the outliner to the viewport.
The one that influences slider drag [which is handled in ui_but_dragedit_update_mval] is BUTTON_DRAGLOCK_THRESH which is hardcoded at 3.

So yeah, you have to move 3px at least to have this go into actual sliding.
This is all intended behavior though, see comments:

Ignore mouse movements within some horizontal pixel threshold before starting to drag

It might be annoying in certain cases and could possibly be improved bay making this a preference (similar to the already mentioned Mouse Drag Threshold -- or could even use that), but I also assume that this has a history and worked best for the majority. So unless @Julian Eisel (Severin) has objections? (he introduced this in rB32365bb06c15: Add drag-threshold for number slider buttons) I am afraid we have to close this, as it is working as intended.

Thanks for the report, but the issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors.
For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests
For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug