Bug 474523

Summary: Only one brush preset works
Product: [Applications] krita Reporter: Wibisono <landavia81>
Component: Tablets (tablet issues are only very rarely bugs in Krita!)Assignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, halla
Priority: NOR    
Version First Reported In: 5.1.5   
Target Milestone: ---   
Platform: Android   
OS: Android 13.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Only the arrow work

Description Wibisono 2023-09-14 14:10:37 UTC
Created attachment 161623 [details]
Only the arrow work

Other tools like eraser, pen etc not work. 
Only brush seem work

When using box tools and round tools.. it GIVE white only

Run: Xiaomi redmipad SE
Comment 1 Halla Rempt 2023-09-14 14:41:23 UTC
I guess you mean that only that one brush preset works? You did not really give enough information for us to work out what might be up. Are you using a stylus with your tablet?
Comment 2 Wibisono 2023-09-15 16:49:30 UTC
I'm using my finger. But yes it were also stylus.
I'm touching the icon and drop down (above) and it selected. This mean my touch are okay. But when touch the layer.. only brush option only can make draw. I tried erase the line by using eraser (tools or/and drop-down), not working. 
If you need video, I will make it.
Comment 3 Bug Janitor Service 2023-09-16 03:45:43 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 Wibisono 2023-09-16 06:38:31 UTC
Preview BOUT the bug
https://youtu.be/mQmnd1mqGkc?si=SpofpZNcuUpgehOe
Comment 5 Dmitry Kazakov 2024-07-18 13:21:57 UTC
Hi, Wibisono!

It seems like the bug happens because your tablet reports zero pressure for the touch points. I don't know why it happens in the driver of the tablet but it just makes the size of the brush to be zero.
Comment 6 Dmitry Kazakov 2024-07-18 13:24:53 UTC
Theoretically, we could add a config option that woudl just unconditionally set pressure for touch events to 1.0...
Comment 7 Bug Janitor Service 2024-07-19 07:11:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2197
Comment 8 Dmitry Kazakov 2024-07-19 08:58:00 UTC
Git commit 050f8499fd632a7f8089df7375d82abf195eef0d by Dmitry Kazakov.
Committed on 19/07/2024 at 07:11.
Pushed by dkazakov into branch 'master'.

Implement an option to disable touch pressure reading

On some devices the driver implementation may be faulty and report
touch pressure to be 0.0 all the time. In such a case the user should
just disable resding this pressure value from the system.

M  +31   -1    libs/flake/KoPointerEvent.cpp
M  +7    -0    libs/ui/dialogs/kis_dlg_preferences.cc
M  +27   -16   libs/ui/forms/wdggeneralsettings.ui

https://invent.kde.org/graphics/krita/-/commit/050f8499fd632a7f8089df7375d82abf195eef0d