Bug 410583

Summary: Tilt direction stuck on canvas rotation
Product: [Applications] krita Reporter: apelsinchoklad
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kaerhon, manuel.snudl.zeidler, zappedfish
Priority: NOR    
Version First Reported In: 4.2.5   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Tilt direction angle bug

Description apelsinchoklad 2019-08-04 18:58:27 UTC
Created attachment 121931 [details]
Tilt direction angle bug

SUMMARY
Using rotation set to tilt direction the brush direction doesn't offset when canvas is rotated.
The bug wasn't present in 4.2.4


STEPS TO REPRODUCE
1. Use brush with tilt direction on rotation and draw a stroke
2. Rotate canvas
3. Draw a new and compare


SOFTWARE/OS VERSIONS
macOS: 10.12.6
Wacom Intuos4 tablet
Comment 1 M 2019-08-06 23:13:12 UTC
I can confirm this here on master (git 232f1c2) and 4.2.5.

If I'm seeing this right the brush tip gets 2x the rotation angle from the canvas, so in a full 360° canvas rotation the brush will spin around itself twice. The tilt direction sensor does still affect the brush as expected, just to clarify that.
Comment 2 zappedfish 2019-08-10 12:44:13 UTC
Can confirm this on 4.2.5 AppImage.

Fedora 30
Wacom Intuos Pen&Touch
Comment 3 kaerhon 2019-08-17 23:35:15 UTC
same here, on Xubuntu 18.04 and krita 4.2.5 appimage
Comment 4 M 2019-08-22 12:59:37 UTC
Fixed in commit d8f90d4a8968e50e709833de8543776860dcbbcb
From: Dmitry Kazakov <dimula73@gmail.com>
Date: Thu, 22 Aug 2019 13:03:34 +0300
Subject: [PATCH] [REGRESSION] Fix absolute brush rotation on rotated canvas