Bug 453266 - Flipping the pen no longer erases
Summary: Flipping the pen no longer erases
Status: RESOLVED DUPLICATE of bug 447650
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: 5.0.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-01 16:42 UTC by Joe Nosie
Modified: 2022-05-04 23:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Log of drawing a line with the pen tip, then the eraser tip (225.27 KB, text/x-log)
2022-05-01 16:42 UTC, Joe Nosie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Nosie 2022-05-01 16:42:03 UTC
Created attachment 148501 [details]
Log of drawing a line with the pen tip, then the eraser tip

SUMMARY

Using a wacom CTH-460, flipping the pen no longer erases.

STEPS TO REPRODUCE
1. Draw using the pen
2. Flip the pen over to erase

OBSERVED RESULT

The pen draws using the same settings.

EXPECTED RESULT

The pen erases when using the eraser end.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Silverblue 35, Linux 5.17.4-200.fc35.x86_64
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

The issue also occurs on the 5.0.0 and 5.0.6 appimage, but using the 4.4.8 appimage did not have this issue.
Comment 1 Alvin Wong 2022-05-01 17:11:32 UTC
Have you tried switching to an eraser brush preset after flipping to the eraser tip?
Comment 2 Joe Nosie 2022-05-03 12:23:33 UTC
(In reply to Alvin Wong from comment #1)
> Have you tried switching to an eraser brush preset after flipping to the
> eraser tip?

Yes. When I do that, it doesn't change back automatically when I flip back. It's simply not switching between settings when I flip the pen.
Comment 3 amyspark 2022-05-03 13:16:10 UTC
Hi, could you check with the 5.0.6 release and the latest nightly? I fixed a couple of these bugs a month or so ago.
Comment 4 Joe Nosie 2022-05-03 13:31:18 UTC
(In reply to amyspark from comment #3)
> Hi, could you check with the 5.0.6 release and the latest nightly? I fixed a
> couple of these bugs a month or so ago.

I haven't checked the nightly, but the issue does still happen on the 5.0.6 appimage. I'll try a nightly later and see.
Comment 5 Bug Janitor Service 2022-05-04 04:35:29 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 6 amyspark 2022-05-04 23:14:31 UTC
Git commit 90628dcd36f0db58910edf3b57aabb271cd4ed18 by L. E. Segovia.
Committed on 04/05/2022 at 23:10.
Pushed by lsegovia into branch 'krita/5.0'.

Fix default preset names (master branch only)

Commit 88e48c58ed576b946dbc49ce0fa00e2dcb24afbd causes default
preset lookups to fail, since we replace all underscores in preset
names.

This commits completes dd368ef73f3bf8972a16fa0b0c4fd5f193ba6fa1
by applying the replacement to the hardcoded default names.
Related: bug 447650
CCMAIL: halla@valdyas.org

M  +1    -1    libs/ui/KisViewManager.cpp
M  +2    -2    libs/ui/kis_paintop_box.cc

https://invent.kde.org/graphics/krita/commit/90628dcd36f0db58910edf3b57aabb271cd4ed18
Comment 7 amyspark 2022-05-04 23:15:02 UTC

*** This bug has been marked as a duplicate of bug 447650 ***