Bug 500861 - [Android] Brush strokes jitter if painted during canvas zoom out
Summary: [Android] Brush strokes jitter if painted during canvas zoom out
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: 5.2.9
Platform: Android Android 14.x
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-28 11:58 UTC by Tyson Tan
Modified: 2025-09-19 06:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Krita brush strokes jitter when painted zoomed out (298.12 KB, image/png)
2025-02-28 12:03 UTC, Tyson Tan
Details
Brush strokes painted on Linux when zoomed out (235.11 KB, image/png)
2025-02-28 12:07 UTC, Tyson Tan
Details
Extreme jitter if zoomed out to less than 12.5% and painted with smaller than 5mm circles (26.47 KB, image/jpeg)
2025-02-28 12:19 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2025-02-28 11:58:41 UTC
On Android systems, if brush strokes were painted when the canvas is highly zoomed-out, they appear jittered at 100%, as if they were interpolated with a very low resolution.

Steps to reproduce"

1) Create a new document, A4 300ppi;
2) Zoom out the canvas to something lower than 12.5%;
3) Paint some small circles (approximately 5cm in diameter)
4) Zoom in to 100%

Expected result:
The brush strokes should appear smooth at 100%.

Actual result:
The brush strokes appear very jittered and unusable.

Tested on:
Samsung Galaxy Tab S8 (OneUI 6.1.1/Android 14)
Also confirm by other community users with Galaxy Tab S7

I will attach some examples on the following comments.
Comment 1 Tyson Tan 2025-02-28 12:03:10 UTC
Created attachment 178972 [details]
Krita brush strokes jitter when painted zoomed out
Comment 2 Tyson Tan 2025-02-28 12:07:56 UTC
Created attachment 178973 [details]
Brush strokes painted on Linux when zoomed out

This screenshot was captured on the Linux version using the same procedure and they look smooth and fine.

I deliberately tested this one on a Wacom One 13, which share the same Wacom EMR Pen technology with the Samsung Galaxy Tab S7 and S8 (all devices can share the same stylus). So I think we can rule out the possibility of low hardware resolution.

Reportedly, other art apps on Android are not affected by the same bug.
Comment 3 Tyson Tan 2025-02-28 12:09:42 UTC
I have also tested this bug with Krita 5.2.9 and the latest nightlies. All of them are affected on Android.
Comment 4 Tyson Tan 2025-02-28 12:15:44 UTC
Correction:

In the original description, Step 3) Paint some small circles (approximately 5cm in diameter)

It should be 5mm (which will resulted in extreme staircase like aliases).

And we have also tested this on Tab S7FE, S9+ and S9U.
Comment 5 Tyson Tan 2025-02-28 12:19:20 UTC
Created attachment 178974 [details]
Extreme jitter if zoomed out to less than 12.5% and painted with smaller than 5mm circles
Comment 6 dra.w.p.il.e+bugskde 2025-09-19 06:43:33 UTC
I can reproduce this both with a Samsung S-Pen and a Wacom Intuos tablet. However, this is because Android just doesn't have high-resolution input.

The reason other applications appear smoother is, from what I can tell, that they always compensate for low-frequency input and build a smooth curve, which as far as I can tell Krita does when you turn on the "Basic" brush stabilizer, resulting in a similarly smooth result. When I move the pen slowly in Ibis Paint or Drawpile, I get the same staircase effect, which shows that they're not receiving inputs at a higher resolution either.

So this needs to be fixed upstream, either the tablet manufacturers or Android would need to improve the input resolution. Users can enable a brush stabilizer to compensate for it in Krita.