Fallback actions are used in RCS on left click #99963

Closed
opened 2022-07-25 12:03:25 +02:00 by Julien Kaspar · 14 comments
Member

System Information
Operating system: Linux-5.15.0-41-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: Quadro GP100/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.73.05

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-07-25 06:14, hash: 44258b5ad0
Worked: Blender 3.0
Caused by: b0847eff2a.

Short description of error
The "Drag" tool setting was introduced in right click select a few releases ago as an optional setting.
By default it appears in the UI but isn't used. Once the preference "Right Mouse Selection Action" is set to "Selection Tool", it would then use the Drag actions on right click drag.

In recent Blender versions this behavior broke and when the preference is set to "Select & Tweak" (factory settings), it will instead use the drag actions on left click drag.
This is not intended behavior and blocks existing shortcuts such as placing and dragging the 3D cursor on LC, and lasso selection on Ctrl LC Drag and Ctrl Shift LC Drag.

Expected behavior

When set to "Selection Tool":
Right click and drag will be used for the current drag fallback action.

When set to "Select & Tweak":
Right click and drag will be used for tweaking the selected element.

In both cases, left click keymap entries are not affected.

Exact steps for others to reproduce the error

  • Open factory settings
  • Set "Select with Mouse Button" to Right
  • Set the active tool to Cursor
  • Hold Shift or Ctrl and left click drag in the viewport
  • It uses the selection action of the drag setting
**System Information** Operating system: Linux-5.15.0-41-generic-x86_64-with-glibc2.35 64 Bits Graphics card: Quadro GP100/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.73.05 **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-07-25 06:14, hash: `44258b5ad0` Worked: Blender 3.0 Caused by: b0847eff2a. **Short description of error** The "Drag" tool setting was introduced in right click select a few releases ago as an optional setting. By default it appears in the UI but isn't used. Once the preference "Right Mouse Selection Action" is set to "Selection Tool", it would then use the Drag actions on right click drag. In recent Blender versions this behavior broke and when the preference is set to "Select & Tweak" (factory settings), it will instead use the drag actions on left click drag. This is not intended behavior and blocks existing shortcuts such as placing and dragging the 3D cursor on LC, and lasso selection on `Ctrl LC Drag` and `Ctrl Shift LC Drag`. **Expected behavior** When set to "Selection Tool": Right click and drag will be used for the current drag fallback action. When set to "Select & Tweak": Right click and drag will be used for tweaking the selected element. In both cases, **left click keymap entries are not affected**. **Exact steps for others to reproduce the error** - Open factory settings - Set "Select with Mouse Button" to Right - Set the active tool to Cursor - Hold `Shift` or `Ctrl` and left click drag in the viewport - It uses the selection action of the drag setting
Author
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Campbell Barton was assigned by Julien Kaspar 2022-07-25 12:03:37 +02:00
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

This issue was referenced by b114993305

This issue was referenced by b114993305336be9d1c3403a6cfde6ebf13a0a28

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Author
Member

Changed status from 'Resolved' to: 'Confirmed'

Changed status from 'Resolved' to: 'Confirmed'
Author
Member

I think there was a misunderstanding.
The issue is not that specifically the Cursor tool, was using LC for drag fallback tools.
The issue is that any tool is using LC for the drag fallback.

I'll reopen the task and update the description to make this more clear.
The core issue of this bug is that right click drag actions need to be defined by the related preferences.
Left click keymap entries should not be affected by these preferences.

I think there was a misunderstanding. The issue is not that *specifically* the Cursor tool, was using LC for drag fallback tools. The issue is that *any* tool is using LC for the drag fallback. I'll reopen the task and update the description to make this more clear. The core issue of this bug is that right click drag actions need to be defined by the related preferences. Left click keymap entries should not be affected by these preferences.
Author
Member

Added subscriber: @SimonThommes

Added subscriber: @SimonThommes
Author
Member

I'll raise this in priority for now.
The original report was not a recent regression. But the recent false fix that was commited caused yet another regression.

As a result:
Anyone coming into the right click select with a factory default keymap will not be able to reliably use very common selection operators.
Also anyone who'd like to box select via right click drag will not be able to do so because the Cursor tool (commonly set as default) doesn't support it anymore.
@SimonThommes for example approached me today if box selecting via right click drag is possible.
We must fix this for the next release.

I'll raise this in priority for now. The original report was not a recent regression. But the recent false fix that was commited caused yet another regression. As a result: Anyone coming into the right click select with a factory default keymap will not be able to reliably use very common selection operators. Also anyone who'd like to box select via right click drag will not be able to do so because the Cursor tool (commonly set as default) doesn't support it anymore. @SimonThommes for example approached me today if box selecting via right click drag is possible. We must fix this for the next release.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

@ideasman42 Hey, can you please take a look at this report again once you're back?

@ideasman42 Hey, can you please take a look at this report again once you're back?

@ideasman42 Any update please?

@ideasman42 Any update please?

This issue was referenced by 64dbfe714b

This issue was referenced by 64dbfe714bbae4b4dc0ee2b179243fe1a821d89d

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
5 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#99963
No description provided.