Grease Pencil - Straight line at beginning of stroke #80087

Open
opened 2020-08-24 21:16:41 +02:00 by Luke · 32 comments

System Information
Operating system: Mac OS Mojave
Graphics card: Intel UHD Graphics

Tablet: Wacom Cintiq

Blender Version
Broken: 2.83.0

When making fast strokes, there is delay that causes a straight line. Most noticeable when drawing quick circles. It seems to be there's a delay between starting the cursor pressing down and starting the stroke.
Screen Shot 2020-08-24 at 9.10.51 AM.png

Based on the default startup, adjusting setting doesn't change the behaviour. The straight line is present with all brushes.

**System Information** Operating system: Mac OS Mojave Graphics card: Intel UHD Graphics Tablet: Wacom Cintiq **Blender Version** Broken: 2.83.0 When making fast strokes, there is delay that causes a straight line. Most noticeable when drawing quick circles. It seems to be there's a delay between starting the cursor pressing down and starting the stroke. ![Screen Shot 2020-08-24 at 9.10.51 AM.png](https://archive.blender.org/developer/F8808837/Screen_Shot_2020-08-24_at_9.10.51_AM.png) Based on the default startup, adjusting setting doesn't change the behaviour. The straight line is present with all brushes.
Author

Added subscriber: @LukeCoalman

Added subscriber: @LukeCoalman

#91693 was marked as duplicate of this issue

#91693 was marked as duplicate of this issue

#76550 was marked as duplicate of this issue

#76550 was marked as duplicate of this issue

Added subscriber: @antoniov

Added subscriber: @antoniov

I cannot reproduce on Windows.

I cannot help too much here, I haven't Mac hardware for testing.

I cannot reproduce on Windows. I cannot help too much here, I haven't Mac hardware for testing.

Added subscriber: @iss

Added subscriber: @iss

Similar reports: #79425, #78856

Similar reports: #79425, #78856
Author

I don't know if this is helpful but I actually found the same thing happening when trying to draw with the mouse. It happened less, but I was still able to get it to happen.
Screen Shot 2020-08-27 at 11.35.38 AM.png

I don't know if this is helpful but I actually found the same thing happening when trying to draw with the mouse. It happened less, but I was still able to get it to happen. ![Screen Shot 2020-08-27 at 11.35.38 AM.png](https://archive.blender.org/developer/F8815595/Screen_Shot_2020-08-27_at_11.35.38_AM.png)

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

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

I can reproduce this on windows, so I can test fix, possibly debug this with some help.
To reproduce I think it is necessary to click LMB while moving mouse relatively quickly.

Untitled.png

I would guess this would be bug or limitation on event handling side though. I have seen similar report where moving vertex with mouse would result in different position as to where LMB was released. This could result in 2 sample long delay, but this one looks to be much greater.

I can reproduce this on windows, so I can test fix, possibly debug this with some help. To reproduce I think it is necessary to click LMB while moving mouse relatively quickly. ![Untitled.png](https://archive.blender.org/developer/F8816381/Untitled.png) I would guess this would be bug or limitation on event handling side though. I have seen similar report where moving vertex with mouse would result in different position as to where LMB was released. This could result in 2 sample long delay, but this one looks to be much greater.

In this image I tried to start drawing at the line while moving mouse at relatively constant speed (automation would help here definitely)

3 strokes on right were made with Brush > Advanced > Input Samples set to 10, next 3 strokes on left were made with Input Samples set to 0. Strokes are made diagonally on purpose though I am not sure if there is any agorithm to detect straight lines and optimize number of samples.
Untitled.png

So this may be gpencil issue as well because the "delay" may be caused by not interpolating start of stroke, which could be done retroactively.
That is a lot of guesswork though, @antoniov what do you think?

In this image I tried to start drawing at the line while moving mouse at relatively constant speed (automation would help here definitely) 3 strokes on right were made with Brush > Advanced > Input Samples set to 10, next 3 strokes on left were made with Input Samples set to 0. Strokes are made diagonally on purpose though I am not sure if there is any agorithm to detect straight lines and optimize number of samples. ![Untitled.png](https://archive.blender.org/developer/F8816411/Untitled.png) So this may be gpencil issue as well because the "delay" may be caused by not interpolating start of stroke, which could be done retroactively. That is a lot of guesswork though, @antoniov what do you think?

Added subscriber: @donaldradams2

Added subscriber: @donaldradams2

Hey guys, I've just posted to the related issue a possible workaround / cause of this problem. Looks like it is affected by screen resolution.
https://developer.blender.org/T79425#1004990

Hey guys, I've just posted to the related issue a possible workaround / cause of this problem. Looks like it is affected by screen resolution. https://developer.blender.org/T79425#1004990
Richard Antalik changed title from Grease Pencil - Straight line at beginning of stroke (MacOS) to Grease Pencil - Straight line at beginning of stroke 2020-08-31 11:29:35 +02:00
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Not sure why this was tagged to the UI module.

If I'm missing just add it back though.

Not sure why this was tagged to the UI module. If I'm missing just add it back though.

In #80087#1012070, @HooglyBoogly wrote:
Not sure why this was tagged to the UI module.

If I'm missing just add it back though.

I thought that this may be issue in event handling, but I think it's unlikely.

> In #80087#1012070, @HooglyBoogly wrote: > Not sure why this was tagged to the UI module. > > If I'm missing just add it back though. I thought that this may be issue in event handling, but I think it's unlikely.

Added subscriber: @jenkm

Added subscriber: @jenkm

@iss one more duplicate #76550 (GPencil: Line bug at the beginning)

@iss one more duplicate #76550 (GPencil: Line bug at the beginning)

@jenkm You are rolling today :) I will merge #76550 here since this one is confirmed.

@jenkm You are rolling today :) I will merge #76550 here since this one is confirmed.

Added subscribers: @Ssenkya, @PrototypeNM1, @dupoxy, @ankitm

Added subscribers: @Ssenkya, @PrototypeNM1, @dupoxy, @ankitm

@iss if you want to rule out Windows Event (Ghost) handling, you can set the Tablet API to Windows Ink in a nightly build (requires restarting Blender). I'm confident that API is not missing any events.

Also make sure you can't recreate the behavior in another drawing app, this rules out tablet driver/hardware issues.

@iss if you want to rule out Windows Event (Ghost) handling, you can set the Tablet API to Windows Ink in a nightly build (requires restarting Blender). I'm confident that API is not missing any events. Also make sure you can't recreate the behavior in another drawing app, this rules out tablet driver/hardware issues.
Just google "straight line at beginning of stroke" :) It's something to do with "Double Click": https://cdn.wacom.com/u/productsupport/drivers/win/professional/releasenotes/Windows_6.3.33.html https://docs.krita.org/en/user_manual/drawing_tablets.html#wacom-double-click-sensitivity-straight-starts-of-lines
Author

Tested turning off "Double Click" on Wacom setting on Mac it didn't seem to change it at all.

Checked drivers, and Mac drivers don't have the same temporary fix that is in the Windows driver release notes.

Straight line segments are present at the start of a stroke in some applications.

What you can do about it while we fix it: We are working with the application developers to solve the problem. If you experience this problem, check for application updates.

https://cdn.wacom.com/u/productsupport/drivers/mac/professional/releasenotes/Mac_6.3.41.html

Tested turning off "Double Click" on Wacom setting on Mac it didn't seem to change it at all. Checked drivers, and Mac drivers don't have the same temporary fix that is in the Windows driver release notes. > Straight line segments are present at the start of a stroke in some applications. > >What you can do about it while we fix it: We are working with the application developers to solve the problem. If you experience this problem, check for application updates. https://cdn.wacom.com/u/productsupport/drivers/mac/professional/releasenotes/Mac_6.3.41.html

Added subscriber: @etufo2

Added subscriber: @etufo2

For Windows 10 users:

This has bugged me for the longest time as well! It's really put me off using Grease Pencil in production. Someone mentioned Windows Ink and that reminded me of all the issues it can cause with tablets and various drawing apps.

I have an old Wacom Intuos Pro 4, so I turned off "Use Windows Ink" and now that initial straight line is reduced a whole lot.
image.png

Try turning that option off and see if it helps.

For Windows 10 users: This has bugged me for the longest time as well! It's really put me off using Grease Pencil in production. Someone mentioned Windows Ink and that reminded me of all the issues it can cause with tablets and various drawing apps. I have an old Wacom Intuos Pro 4, so I turned off "Use Windows Ink" and now that initial straight line is reduced a whole lot. ![image.png](https://archive.blender.org/developer/F9841124/image.png) Try turning that option off and see if it helps.

Added subscriber: @toot-4

Added subscriber: @toot-4

win10: Who cannot repeat, the "tutorial" is specially a bit in slowmo (and a mouse and a tablet without a difference. )

(the main thing is to jerk the pen forward and at the end finish with this movement ~~~ (reducing the amplitude))
bugDrawWacomWin10.mp4

*Tip from message about Windows Ink on / off not working.

win10: Who cannot repeat, the "tutorial" is specially a bit in slowmo (and a mouse and a tablet without a difference. ) (the main thing is to jerk the pen forward and at the end finish with this movement ~~~ (reducing the amplitude)) [bugDrawWacomWin10.mp4](https://archive.blender.org/developer/F9842712/bugDrawWacomWin10.mp4) *Tip from message about Windows Ink on / off not working.

@etufo2 You should also try using Windows Ink in Blender (the Tablet API setting in preferences, restart after changing) instead of disabling Windows Ink for the tablet. Wintab (the default) has issues with jagged lines when drawing.

@etufo2 You should also try using Windows Ink in Blender (the Tablet API setting in preferences, restart after changing) instead of disabling Windows Ink for the tablet. Wintab (the default) has issues with jagged lines when drawing.

In #80087#1119699, @PrototypeNM1 wrote:
@etufo2 You should also try using Windows Ink in Blender (the Tablet API setting in preferences, restart after changing) instead of disabling Windows Ink for the tablet. Wintab (the default) has issues with jagged lines when drawing.

OMW, That works so much better! It even respects the pen pressure properly! Thanks for the help.

> In #80087#1119699, @PrototypeNM1 wrote: > @etufo2 You should also try using Windows Ink in Blender (the Tablet API setting in preferences, restart after changing) instead of disabling Windows Ink for the tablet. Wintab (the default) has issues with jagged lines when drawing. OMW, That works so much better! It even respects the pen pressure properly! Thanks for the help.

Added subscriber: @r83617

Added subscriber: @r83617

I registered just to tell that nothing here works. I have windows 10 x64, even in the newest 2.93 there is this bug. I use mouse. My specs are laptop with Intel(R) Pentium(R) CPU N3710 @ 1.60GHz, Radeon 530. Maybe it happens on a lower end pcs. Is there any extra information I can provide to explore this bug? Blender 2021-09-24 22-30-27.mp4

I registered just to tell that nothing here works. I have windows 10 x64, even in the newest 2.93 there is this bug. I use mouse. My specs are laptop with Intel(R) Pentium(R) CPU N3710 @ 1.60GHz, Radeon 530. Maybe it happens on a lower end pcs. Is there any extra information I can provide to explore this bug? [Blender 2021-09-24 22-30-27.mp4](https://archive.blender.org/developer/F10575125/Blender_2021-09-24_22-30-27.mp4)

@r83617 please create a new bug report and tag @PrototypeNM1. Edit: actually don't bother. Issues with jagged lines for mouse input are unfortunately not solvable on Windows for the time being. If you're curious why the author of paint.net explained a bit of the problem here.

@r83617 ~~please create a new bug report and tag `@PrototypeNM1`.~~ Edit: actually don't bother. Issues with jagged lines for mouse input are unfortunately not solvable on Windows for the time being. If you're curious why the author of paint.net explained a bit of the problem [here](https://blog.getpaint.net/2019/11/14/paint-net-4-2-6-alpha-build-7258/).
Philipp Oeser removed the
Interest
Grease Pencil
label 2023-02-09 15:19:45 +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
11 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#80087
No description provided.