Bug 497367 - Using multiple sensors for a single brush characteristic can produce weird results
Summary: Using multiple sensors for a single brush characteristic can produce weird re...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 5.2.6
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-12 14:44 UTC by MikeAndrews
Modified: 2024-12-13 08:32 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MikeAndrews 2024-12-12 14:44:41 UTC
SUMMARY
Using multiple sensors for a single brush characteristic can produce weird results.
When 'Share curve across all settings' is unticked the curves don't seem to be properly independent from each other.

STEPS TO REPRODUCE
1. Open Brush Editor
2. Click "+" and choose "Pixel"
3. Click "Size" and untick "Share curve..."
4. Tick "Tilt Elevation" and edit the curve.
5. Tick "Drawing Angle" and edit the curve.
6. Click on "Tilt Elevation" again.

OBSERVED RESULT
The curve for "Tilt Elevation" is very distorted.

EXPECTED RESULT
The curves for "Tilt Elevation" and "Drawing Angle" should be as I had edited them

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  Ubuntu 
KDE Plasma Version:   Ubuntu 22.04.5 LTS
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
The example provided is just one possible example.
Other information has been given at Krita-artists.org under "General Questions" in a topic "Share curve across all settings"
Comment 1 Michael Strothotte 2024-12-12 15:45:40 UTC
This bug is discussed at Krita-Artists.org in the topic: "Share curve across all settings"
The URL of that topic is: https://krita-artists.org/t/share-curve-across-all-settings/108807

I want to add that this inconsistent behavior also happens using Windows 10 Pro and several versions of Krita, so it seems to be OS independent. 
The problem is, you are no longer able to use more parameters to vary the behavior of a brush, at least not predictable. 

Therefore, I'm adding the important part from my posting in that topic: 

<quote>
Under Windows 10 Pro, I just checked this using the current release version of Krita, so the 5.2.6, as well as the 5.2.9-prealpha (git 606eef8) and the 5.3.0-prealpha (git 3001ea5). I can confirm that there exists an issue, but it seems to vary between your and my system, as well as between different versions of Krita. 
By the way, you have not named the exact version of Krita you use as well as you did not name the OS you use, this is important information to hunt down bugs.

For me the 5.2.6 and 5.2.9 show the same results, i.e. after adding a third curve, the first manipulation of the three curves causes at least one of the unmanipulated curves to change its curve. 

With 5.3.0 this erroneous behavior could also be provoked, but it was only sometimes the same as with the Krita versions from above, and sometimes it was a little different. Should mean: it also shows this error with a third curve, but only sometimes. 
There were situations with three curves where I could change any curve without affecting the other curves, whether adding nor removing nodes or moving nodes did change another curve. And I can not tell what is the reason for it sometimes working and sometimes not working. 
And then there were times when it needed a fourth curve, but at the latest after adding this fourth curve, the error always occurred after manipulating one of the curves. Also, here I have no idea what is causing this and what is not.

All tests were made using the brushes `b) Basic-1`, `b) Basic-5 Size Opacity` from the bundle `Krita 4 Default Resources` and `HNE Bark or Twigs 2`, `HNE Foothills` and `HNE Miles away` from iForce73's `Environments 2.0` brush collection. 

For all three versions of Krita, the following is true on my side: As long as there are only two curves, these can be set up independently, sometimes at the moment a third (fourth)¹ curve is added it "gets out of balance" but at latest at the moment you manipulate one of these curves, this manipulation changes additionally one of the not manipulated curves unpredictably. 

It also doesn't seem to make a difference whether I uncheck the `Share curve across all settings` box before adding more curves or after adding them, at least I'm not able to tell the difference if there is one.

¹ so to speak, when this threshold value of three or four curves is reached
</quote>

Best Regards
Michael Strothotte