Bug 447878 - Opacity of the Eraser mode swaps with opacity of the brush after certain actions
Summary: Opacity of the Eraser mode swaps with opacity of the brush after certain actions
Status: RESOLVED DUPLICATE of bug 389022
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 5.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-03 13:37 UTC by rybak77.lol
Modified: 2022-01-04 08:58 UTC (History)
2 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 rybak77.lol 2022-01-03 13:37:39 UTC
STEPS TO REPRODUCE
1. Open Brush Settings and turn on "Eraser Switch Opacity" option.
2. Choose Brush Tool and change opacity of the brush using the corresponding slider on the Toolbar.
3. Turn on the Eraser mode and change opacity of the Eraser mode in the same way.
4. Choose Freehand selection tool and turn off the Eraser Mode with the hotkey.
5. Choose Brush Tool again.

OBSERVED RESULT
Opacity of the Eraser mode swaps with opacity of the brush. Moreover, before switching the Eraser mode using the hotkey, the corresponding button on the Toolbar is not pressable, but after pressing the hotkey it becomes active.

EXPECTED RESULT
Opacity of the eraser and the brush should not be swapped. Perhaps the hotkey for switching the eraser mode should not work when the Freehand selection tool is selected.

SOFTWARE/OS VERSIONS
Krita
  Version: 5.0.0
Qt
  Version (compiled): 5.12.12
  Version (loaded): 5.12.12
OS Information
  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.17763
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10
Comment 1 mvowada 2022-01-03 16:17:43 UTC
Hi, I can reproduce this on Linux with Krita 5 appimage as well.  After a bit of testing I guess that these three behaviours eventually cause the swap between the Selection and Brush tools opacity and eraser modes:

    - selection tools (Rectangular|Elliptical|Polygonal) -DO NOT- allow to press the "Set eraser mode" button -WHILE- selection tools (Freehand|Similar-color|Bezier|Magnetic) -DO-;

    - selection tools (all) once selected, switch to their own opacity settings -BUT- the "Set eraser mode" button doesn't change its status accordingly;

    - selection tools (all) allow to access the "E" shorcut to enable/disable eraser mode -BUT- the "Set eraser mode" button doesn't change its status accordingly.
Comment 2 mvowada 2022-01-03 16:33:12 UTC
Maybe related to bug 389022 ?
Comment 3 Halla Rempt 2022-01-04 08:58:00 UTC
Yes.

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