GP primitive tools (line, arc, circle etc) don't follow the cursor properly when transforming them upon creation #108098

Closed
opened 2023-05-20 11:29:38 +02:00 by Jan-Willem van Dronkelaar · 1 comment

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.56

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: (newest version of Blender that worked as expected)

Short description of error
When creating GP primitives you enter sort of a "tweak" mode. For example with the GP line tool you get a yellow dot at the start and at the end of the stroke that you can drag around. During this "tweak" mode you can also move the entire object around by pressing G for grab.

However this is not 1 to 1 with your cursor movement. The cursor will actually drift around the shape as you move it. This effect is relatively mild when you use a mouse. However when you use a tablet this issue gets magnified. With a tablet it feels like the movements I make with the cursor only get transferred to the shape for maybe 5%. It feels incredibly muted and sluggish to the point its not really useable.

In comparison, if I edit an existing stroke in edit mode and move it around the shape follows the cursor perfectly. Both with a mouse and a tablet.

Exact steps for others to reproduce the error

  1. create a new GP object
  2. use the line tool to draw a line but don't finalize it (so the yellow dots remain visible)
  3. press G to enter move mode
  4. try and move the line around
  5. you will notice the line does not follow the cursor properly but instead drags behind

Notes
I feel its important to test this with a tablet since the problem gets so much more magnified. However, its also present and noticeable when using a mouse. I also tested this with the 3.6.0 beta and its the same.

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.56 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: (newest version of Blender that worked as expected) **Short description of error** When creating GP primitives you enter sort of a "tweak" mode. For example with the GP line tool you get a yellow dot at the start and at the end of the stroke that you can drag around. During this "tweak" mode you can also move the entire object around by pressing G for grab. However this is not 1 to 1 with your cursor movement. The cursor will actually drift around the shape as you move it. This effect is relatively mild when you use a mouse. However when you use a tablet this issue gets magnified. With a tablet it feels like the movements I make with the cursor only get transferred to the shape for maybe 5%. It feels incredibly muted and sluggish to the point its not really useable. In comparison, if I edit an existing stroke in edit mode and move it around the shape follows the cursor perfectly. Both with a mouse and a tablet. **Exact steps for others to reproduce the error** 1) create a new GP object 2) use the line tool to draw a line but don't finalize it (so the yellow dots remain visible) 3) press G to enter move mode 4) try and move the line around 5) you will notice the line does not follow the cursor properly but instead drags behind **Notes** I feel its important to test this with a tablet since the problem gets so much more magnified. However, its also present and noticeable when using a mouse. I also tested this with the 3.6.0 beta and its the same.
Jan-Willem van Dronkelaar added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-05-20 11:29:39 +02:00
Iliya Katushenock added the
Interest
Grease Pencil
label 2023-05-20 11:35:00 +02:00
Member

Can confirm the behaviour.

I'm not sure if G is a supported operation in draw/gizmo editing. Typically G is only available in edit mode. Will take a closer look

Gizmo mode does have a grab mode IN_MOVE. The problem is that there's not only MOUSEMOVE events, but also other events passed while mouse is moving, this rewrites the "last position" variable so the offset became unreliable. Will fix this in a PR

Can confirm the behaviour. ~~I'm not sure if `G` is a supported operation in draw/gizmo editing. Typically `G` is only available in edit mode. Will take a closer look~~ Gizmo mode does have a grab mode `IN_MOVE`. The problem is that there's not only `MOUSEMOVE` events, but also other events passed while mouse is moving, this rewrites the "last position" variable so the offset became unreliable. Will fix this in a PR
YimingWu added
Module
Grease Pencil
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-05-23 10:56:13 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-05-26 03:30:24 +02: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
2 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#108098
No description provided.