Tool with Dragmenu is hard to select using Stylus #94324

Open
opened 2021-12-22 15:15:22 +01:00 by Henrik D. · 11 comments
Member

System Information
Operating system: Linux-5.15.0-2-amd64-x86_64-with-glibc2.32 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.86

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-12-22 12:16, hash: d6224db8f1
Worked: (long time ago if ever)

Short description of error
The tools in the tools panel on the left, which have mutliple tools assgined to on button, are really hard to select using a tablet. This is because they open the menu on a timer and on even tiny drag input. (The timer seems to interact strangely with the tooltip timer, causing it to open immediatly sometimes, but that is not part of this report). The drag threshold for detecting a drag seems to be not influenced by the settings in the preferences (#92995, #84726). Also the drag causes the selection to be canceled on release leaving it not selected, while on normal tool buttons it is finished on release, meaning they will be selected. That is IMO the real bug here.

I checked that the correct drag threshold is used by WM_event_drag_threshold on my device and it is! But the tool in the toolbar which is explicitly mentioned here seems to be not using it.

Peek 2022-02-02 16-14.gif

Exact steps for others to reproduce the error
self explanatory, just drag the toolbar buttons and observe. Also play with the setting "Tablet/Mouse Drag Threshold" to see that it in fact doesn't change anything.

**System Information** Operating system: Linux-5.15.0-2-amd64-x86_64-with-glibc2.32 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.86 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-12-22 12:16, hash: `d6224db8f1` Worked: (long time ago if ever) **Short description of error** The tools in the tools panel on the left, which have mutliple tools assgined to on button, are really hard to select using a tablet. This is because they open the menu on a timer and on even tiny drag input. (The timer seems to interact strangely with the tooltip timer, causing it to open immediatly sometimes, but that is not part of this report). The drag threshold for detecting a drag seems to be not influenced by the settings in the preferences (#92995, #84726). Also the drag causes the selection to be canceled on release leaving it not selected, while on normal tool buttons it is finished on release, meaning they will be selected. That is IMO the real bug here. I checked that the correct drag threshold is used by `WM_event_drag_threshold` on my device and it is! But the tool in the toolbar which is explicitly mentioned here seems to be not using it. ![Peek 2022-02-02 16-14.gif](https://archive.blender.org/developer/F12842068/Peek_2022-02-02_16-14.gif) **Exact steps for others to reproduce the error** self explanatory, just drag the toolbar buttons and observe. Also play with the setting "Tablet/Mouse Drag Threshold" to see that it in fact doesn't change anything.
Author
Member

Added subscriber: @HDMaster84

Added subscriber: @HDMaster84

Added subscribers: @lichtwerk, @iss

Added subscribers: @lichtwerk, @iss

@HDMaster84 is this still an issue? don't have tablet to check here, but since you are involved with development, you can confirm reports. If you want somebody else to check, perhaps @lichtwerk can have a look.

@HDMaster84 is this still an issue? don't have tablet to check here, but since you are involved with development, you can confirm reports. If you want somebody else to check, perhaps @lichtwerk can have a look.
Author
Member

This is still an issue. Tested version:
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-02-02 12:12, hash: e54fba5591

Here is a gif of it. Due to the framerate it looks a little more irregular than it really is.
Peek 2022-02-02 16-14.gif

This is still an issue. Tested version: **Broken:** version: 3.2.0 Alpha, branch: master, commit date: 2022-02-02 12:12, hash: `e54fba5591` Here is a gif of it. Due to the framerate it looks a little more irregular than it really is. ![Peek 2022-02-02 16-14.gif](https://archive.blender.org/developer/F12842068/Peek_2022-02-02_16-14.gif)

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

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

Thanks for update, will confirm then

Thanks for update, will confirm then
Author
Member

In #94324#1299802, @iss wrote:
@HDMaster84 is this still an issue? don't have tablet to check here, but since you are involved with development, you can confirm reports. If you want somebody else to check, perhaps @lichtwerk can have a look.

This problem does not require a tablet, it's just that with a tablet you can't really click and do no drag at all. You can easily reproduce this using your mouse.

> In #94324#1299802, @iss wrote: > @HDMaster84 is this still an issue? don't have tablet to check here, but since you are involved with development, you can confirm reports. If you want somebody else to check, perhaps @lichtwerk can have a look. This problem does not require a tablet, it's just that with a tablet you can't really click and do no drag at all. You can easily reproduce this using your mouse.
Member

This is because they open the menu on a timer

On mouse over you mean? Not on my side, how is this done? Does not seem to beaffected by the use_mouse_over_open User Preference?

Also the drag causes the selection to be canceled on release leaving it not selected, while on normal tool buttons it is finished on release, meaning they will be selected. That is IMO the real bug here.

Hm, also having trouble reproducing/understanding this

For me, it only works like this:

  • pen down, menu opens
  • drag over menu item (tool)
  • release, tool is selected

What am I doing wrong?

> This is because they open the menu on a timer On mouse over you mean? Not on my side, how is this done? Does not seem to beaffected by the `use_mouse_over_open` User Preference? > Also the drag causes the selection to be canceled on release leaving it not selected, while on normal tool buttons it is finished on release, meaning they will be selected. That is IMO the real bug here. Hm, also having trouble reproducing/understanding this For me, it only works like this: - pen down, menu opens - drag over menu item (tool) - release, tool is selected What am I doing wrong?
Author
Member

In #94324#1331019, @lichtwerk wrote:

This is because they open the menu on a timer

On mouse over you mean? Not on my side, how is this done? Does not seem to beaffected by the use_mouse_over_open User Preference?

@lichtwerk When you press down your LMB, first it will make the tool light up blue, then after half a second the tool goes dark again and the popup with the options opens.

Also the drag causes the selection to be canceled on release leaving it not selected, while on normal tool buttons it is finished on release, meaning they will be selected. That is IMO the real bug here.

Hm, also having trouble reproducing/understanding this

For me, it only works like this:

  • pen down, menu opens
  • drag over menu item (tool)
  • release, tool is selected

What am I doing wrong?

I would assume I am not the only one who wouldn't want to select the specific tool in the submenu every time I switch to it. So here is what I do:

  1. Do the normal thing to select the tool from the submenu like you described.
  2. select another tool, like the transform tool
  3. do a fast click on the select tool to get the currently active tool in that slot.

The problem with that is, that the click needs to 1. be fast as there is a timer, 2. have no drag. Both conditions can make it difficult to select the tool on a tablet or sometimes even with a mouse. You can see the typical result in the gif that I posted.

> In #94324#1331019, @lichtwerk wrote: >> This is because they open the menu on a timer > On mouse over you mean? Not on my side, how is this done? Does not seem to beaffected by the `use_mouse_over_open` User Preference? @lichtwerk When you press down your LMB, first it will make the tool light up blue, then after half a second the tool goes dark again and the popup with the options opens. >> Also the drag causes the selection to be canceled on release leaving it not selected, while on normal tool buttons it is finished on release, meaning they will be selected. That is IMO the real bug here. > Hm, also having trouble reproducing/understanding this > > For me, it only works like this: > - pen down, menu opens > - drag over menu item (tool) > - release, tool is selected > > What am I doing wrong? I would assume I am not the only one who wouldn't want to select the specific tool in the submenu every time I switch to it. So here is what I do: 1. Do the normal thing to select the tool from the submenu like you described. 2. select another tool, like the transform tool 3. do a fast click on the select tool to get the currently active tool in that slot. The problem with that is, that the click needs to 1. be fast as there is a timer, 2. have no drag. Both conditions can make it difficult to select the tool on a tablet or sometimes even with a mouse. You can see the typical result in the gif that I posted.

Added subscriber: @hmelender

Added subscriber: @hmelender

I can confirm this is an issue for mouse as well.

A drag and release over a tool bar button should always select the option where the release happened (assuming the release happened either on the button or the popup menu where the drag operation started).
It should not keep the currently active tool, because that would likely go against the intention of the user. You wouldn't click on a different toolbar button if you intended to keep using your current active tool, right?

Fix this behaviour and the bug should probably go away. Personally, I am still learning all the keyboard commands, so the mouse UI is very important to me.

Detailed steps on how to reproduce this:

  1. Have the Select Box tool as the active tool.
  2. Click and press the Loop Cut tool, but do not release the mouse button.
  3. Start dragging in any direction, but do not leave the tool button boundary.
  4. Once the popup menu appears, release the mouse button (still within the Loop Cut tool button boundary)
  5. The Select Box tool will remain as the active tool.
I can confirm this is an issue for mouse as well. A drag and release over a tool bar button should always select the option where the release happened (assuming the release happened either on the button or the popup menu where the drag operation started). It should not keep the currently active tool, because that would likely go against the intention of the user. You wouldn't click on a different toolbar button if you intended to keep using your current active tool, right? Fix this behaviour and the bug should probably go away. Personally, I am still learning all the keyboard commands, so the mouse UI is very important to me. Detailed steps on how to reproduce this: 1. Have the Select Box tool as the active tool. 2. Click and press the Loop Cut tool, but do not release the mouse button. 3. Start dragging in any direction, but do not leave the tool button boundary. 4. Once the popup menu appears, release the mouse button (still within the Loop Cut tool button boundary) 5. The Select Box tool will remain as the active tool.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:22:36 +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
4 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#94324
No description provided.